Hello Flash coders. :) Could anyone help me to fix my class code? I can't find any reference anywhere that will help me... I'm trying to load XML via a generalized class object, but the data in postXML never makes it to the parseXML constructor, any help is greatly appreciated!
Thanks! Sebastian. [CODE] class XMLoader { private var postXML:XML; private function parseXML () { //do something with postXML } public function XMLoader (__file) { postXML.ignoreWhite = true; postXML.load(__file); postXML.onLoad = parseXML(); } } [/CODE] _______________________________________________ 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