True.... The question being? It's a scope issue in combination with understanding event handling etc.
Try: http://www.google.nl/search?q=Loading+xml+in+AS2 Or: http://www.gskinner.com/blog/archives/000069.html -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Omar Fouad Sent: maandag 30 juli 2007 19:27 To: Flashcoders mailing list Subject: [Flashcoders] Loading xml in AS 2 class LoadXML { function LoadXML() { var xmlData:XML = new XML(); xmlData.ignoreWhite= true; xmlData.onLoad = function (success) { if(success) { trace("loaded"); } } xmlData.load("data.xml"); trace(xmlData); } } this is not working -- Omar M. Fouad - Digital Emotions http://www.omarfouad.net +2010 - 2346633 - +2012 - 2644441 _______________________________________________ [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 This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. _______________________________________________ [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

