problem loading variables into dynamic text fields
Hi everyone. I'm trying to load some text from a .txt file into a dynamic text field (for use as a "news" section of my site) and it isn't working.
I have the dynamic text field named "newstext" and the text file is called "news.txt". It's always in the same directory as my .swf.
In the text file itself, it says:
&thetext=test!
In frame 1 of the layer that newstext, the text field is on, the actionscript is:
loadVariables("news.txt", _root)
newstext.text = _root.thetext
It just doesn't work. I don't understand. Any suggestions would be greatly appreciated, thanks much.
Noah
|