Minimum code required to load XML at run-time is given below: SOURCE CODE var urlLoader:URLLoader = new URLLoader(); urlLoader.addEventListener (Event.COMPLETE, onEventComplete); urlLoader.load (new URLRequest('Database.xml')); function onEventComplete (e:Event):void { var Xml:XML = new XML(URLLoader(e.target).data); trace (Xml); }
Possible solutions of Impossible problem. Out-of-the-box Ideas. Amazing notes. Unbelievable facts. Simple & easy to follow tips and procedures.