Create an xml object:
[code lang=”actionscript”]var myXmlObject = new XML();[/code]

Perform action when xml file has been loaded:
[code lang=”actionscript”]myXmlObject.onLoad = function(success) { if (success) trace(“XML File has been read.”); }[/code]

Load the xml file into the object:
[code lang=”actionscript”]myXmlObject.load(“myXmlFile.xml”);[/code]

Categories: ContentGeneral

Leave a Reply

Your email address will not be published. Required fields are marked *