I’ve just changed over from using Flash 6 to Flash 7 and am having some teething problems. I have a lot of information being read from text files and brought into flash. This all worked fine when it was published as flash 6 but now I’ve changed it to flash 7 all I get in my text fields is the word UNDEFINED?
Here’s the code I’m using…
on (release){
_root.field1.html = true;
_root.field1.htmlText = “Please Wait Loading…”;
myLoadVar = new LoadVars();
myLoadVar.load(“news.txt”);
myLoadVar.onLoad = function(success) {
if (success == true) {
_root.field1.htmlText = myLoadVar.myText;
}
}
}