On 2/21/06, zikey Han <[EMAIL PROTECTED]> wrote: > var doc : XML = new XML (); > doc.load (xmlPath); > doc.ignoreWhite = true; > doc.onLoad = function (ok) {}
Put the doc.onLoad function assignment before you call doc.load(xmlPath). E.g. var doc:XML = new XML(); doc.ignoreWhite = true; doc.onLoad = function (ok) { ... } doc.load (xmlPath); Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au _______________________________________________ Flashcoders@chattyfig.figleaf.com 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