Return to Snippet

Revision: 13092
at April 8, 2009 09:16 by creativelifeform


Initial Code
_xmlLoader.addEventListener(Event.COMPLETE, function(e2:Event):void {
		_xmlData = new XML(e2.target.data);
		var titleList:XMLList = _xmlData.Book.title;
		var titleListLength:int = titleList.length();
		_ecoText.text = '';
		for(var i=0 ; i<titleListLength ; i++){
			_ecoText.appendText(titleList[i]+String.fromCharCode(10,13));
			_ecoText.setTextFormat(_ecoFormat); 
		}
		
	});

Initial URL

                                

Initial Description
Its a nice lil trick ;)

Initial Title
Parse XML with Line Breaks!

Initial Tags

                                

Initial Language
ActionScript 3