Create an xml object:
1
|
var myXmlObject = new XML();
|
Perform action when xml file has been loaded:
1
2
3
|
myXmlObject.onLoad = function(success) {
if (success) trace("XML File has been read.");
}
|
Load the xml file into the object:
1
|
myXmlObject.load("myXmlFile.xml");
|