Okay I have some files built in MX that use this on the main timleine:
function textLoad(filename) {
loadText = new LoadVars();
loadText.load(filename);
loadText.onLoad = function(success) {
if (success) {
this.stafftxt.html = true;
this.stafftxt.htmlText = this.staffinfo;
}
};
}
and then on a button I have:
on (rollOver) {
textLoad("craver.txt")
}
This works just dandy in MX files but it is not working in MX2004. A trace on success returns the evil Undefined. :hair:
Any clues why?
thanks
:hr: