Created
January 25, 2012 09:48
-
-
Save CartBlanche/1675677 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function playerInfoService_resultHandler(event:ResultEvent):void | |
{ | |
var xmlList : XMLList = XML(event.result).metadata.section; | |
var xmlListCollection : XMLListCollection = new XMLListCollection(xmlList); | |
var playerInfo : PlayerInfo; | |
Alert.show( "How Long" + xmlListCollection.length, "Collection Length?" ); | |
for each (var node : XML in xmlListCollection) | |
{ | |
if ( node.@layout == "flow" ) | |
{ | |
playerInfo = new PlayerInfo(); | |
playerInfoList.addItem(playerInfo); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment