import mx.utils.Delegate;
class LoadXML
{
var xml:XML;
function LoadXML()
{
xml = new XML();
xml.ignoreWhite = true;
xml.onLoad = Delegate.create(this, parseXML);
xml.load("data.xml");
}
private function parseXML():Void
{
trace("parseXML");
trace(xml);
}
}
If that doesn't work, I'm a monkey's uncle.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com