Iv’e been developing a little app using flash/xml. It works perfectly, but sometimes it doesn’t load the xml…
var myXML:XML = new XML();
myXML.ignoreWhites = true;
myXML.onLoad=function(success) {
[left] if (success) {
//All to be done with the xml's info
} [color=Red]else {
myXML.load("xmlURL.xml");
// Could risk to keep retrying forever
}[/color]
myXML.load("xmlURL.xml");
Maybe by adding the part in red it whould be fixed, but I’m not sure thats correct.
[/left]