I have a scrollbar that uses a movieclip-instance name “text” to display dynamic text.
On the main timeline I used the following code:
myLoadVars = new LoadVars();
myLoadVars.onLoad = function() {
dynamictextcontent.htmlText = myLoadVars.dynamictextvariable_html;
}
myLoadVars.load(“content/dynamictextcontent.txt”);
On the main timeline this would correctly load the variable “dynamictextvariable_html” from content/dynamictextcontent"
But now it is in a movieclip called “text” I’m not sure of the code to make this work.
Any help would be appreciated.
Thanks