Flash Dynamic text in embedded movie

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2009-12-18T09:30:27Z Indexed on 2010/04/21 0:03 UTC
Read the original article Hit count: 267

Hi I have my movie in the main timeline and then have a smaller clip in which there is a dynamic text box. In that smaller movie I have some actionscript

myVars = new LoadVars();
myVars.load("http://preview.domain.co.uk/inc/loadVars.php");

myVars.percentage

myVars.onLoad = function() {
    text_box.text = this.percentage;
};

but when I play the movie it doesn't work. However if I move the dynamic textbox onto the main timeline it works.

Please can someone help.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-2