With the following code I get an output of:
true
true
It seems that the onLoad method fires twice ??
I know the .load method has to come after the .onLoad function for the function to work but that doesn´t seem to be the problem in this case.
Can anyone please tell me what is going on here ?
[AS]xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = function(loaded) {
trace(loaded);
};
xmlData.load("./myXML.xml");[/AS]