XML.onLoad(success) doesn't work like it used to?
taken from a Flash MX project, works in SA player 6, MX IDE, IE player 7, but not in a browser with player 8:
code:
//SITE DATA LOAD
_global.siteXML = new XML();
XML.prototype.ignoreWhite = true;
siteXML.load("site.xml");
siteXML.onLoad = function(success){
if(success){
//snipped
}else{ //if XML failed to load, show a error message textfield
_root.createTextField("txt",1,0,0,100,20);
txt.text = "XML load failed.";
}
}
The textfield never shows up in F8...
What's going on? It's just a simple onLoad(success) method...
I'm on a Pentium III / XP, tried Mozilla, and IE doesn't have F8 installed(and it works on IE, player 7)