Hello, I have a situation here, that I can’t figure out.
I have a main movie with:
var externalData:LoadVars = new LoadVars();
externalData.onLoad = function(success:Boolean) {
if (success) {
rcopy_txt.text = externalData.rhomecopy;
trace (“success”);
}
};
externalData.load(“rhomecopy.txt”);
when first coming to the scene there is no “undefined” message and the text file loads fine.
However, my external swfs loading on buttons have this code on it’s third frame (after the first two for preloader):
this.onEnterFrame = function(){
_root.rcopy_txt.text = _root.externalData.rcraftscopy;
}
_root.externalData.load(“rcraftscopy.txt”);
When these files load the text box flashes (“undefined”) and then loads the text. Any ideas on how to fix that? Here’s a link to the site.