Bizarre dynamic text problem

Ok, we’ve all loaded text into a movie clip using LoadVarNum, right? Simple, right??

Well then why is that when I create a movie clip (news.swf) that is loaded from a parent clip (main.swf) the text doesn’t show up???

You can see this for yourself at http://www.craigmoritz.com/news.swf where the dynamic text loading clearly is working…but then go to the main clip where this same news MC is being loaded:
http://www.craigmoritz.com/main.swf and you can see nothing! nothing!? grrr.

Fla files available at http://www.craigmoritz.com/news.fla and [url=“http://www.craigmoritz.com/main.fla”]http://www.craigmoritz.com/main.fla

That happens because the path to the object changes after you load the news.swf into the main.swf
Try the following code instead:

this.loadVariables("news.txt", "news1");

yes, thank you, Claudio!

Welcome