Return to Snippet

Revision: 10222
at December 12, 2008 15:17 by klunkatronic


Updated Code
private function loadXML(path:String):void
	{
		var loader:URLLoader = new URLLoader();
		loader.addEventListener(Event.COMPLETE, onXMLComplete);
		loader.load(new URLRequest(path));
	}
	
	private function onXMLComplete(e:Event):void
	{
		_xml = new XML(e.target.data);
	}

Revision: 10221
at December 12, 2008 14:32 by klunkatronic


Initial Code
private function loadXML(path:String):void
	{
		var loader:URLLoader = new URLLoader();
		loader.addEventListener(Event.COMPLETE, onXMLComplete);
		loader.load(new URLRequest(path));
	}
	
	private function onXMLComplete(e:Event):void
	{
		_xml = e.target.data;
	}

Initial URL

                                

Initial Description

                                

Initial Title
XML Load methods

Initial Tags
textmate

Initial Language
Other