Loading external text


I’m new to the forums and this is my first post – I’m having a problem that may be AS 2.0 related so please move it to the correct forum if this isn’t the one.

I have Flash CS3 on my as I’ve started to work with Flash once again after a 1.5yr hiatus. I haven’t really tried AS 3.0 stuff yet but thought I’d review my old Flash knowledge first. Anyhow…I created a *.swf movie that read and external text file and put its contents in a dynamic text box – not a problem, it publish fine. I also created another *.swf that could let me load various *.swf movies within it (am I losing you yet?). THe problem is: I could load other types of *.swf fine (simple ones involving tweening, etc.), but when it gets to the textbox one, it just doesn’t show the text (I can see the scrollbar component on the side and I can scroll it…but no text!!!). What am I doing wrong here?

To load the external text file I use:

myData = new LoadVars();
myData.onLoad = function(){
news_txt.text = this.content;

To load the movies I use (for a button action):


Any advice would be much appreciated.