PDA

View Full Version : XML Newbie


wyclef
01-02-2007, 04:15 AM
What would be the optimal way to write this? How do you determine if you should put all your data in 1 document or multiple?


var myXML:XML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = processXML;
myXML.load("my.xml");
function processXML(success:Boolean):Void {
if (success) {
trace(this);
} else {
trace("Error loading XML file");
}
}

anonymous
01-03-2007, 01:03 AM
http://www.kirupa.com/developer/actionscript/xmldataflash.htm