Created
April 22, 2009 01:12
-
-
Save anonymous/99514 to your computer and use it in GitHub Desktop.
This file contains 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
private function doArr(e:ResultEvent):void{ | |
var res:Object = e.result.serverInfo; | |
for each(var arr:Array in res.initialData){ | |
var obj:Object = new Object(); | |
for (var i:int; i < res.columnNames.length; i++){ | |
obj[res.columnNames[i]] = res.initialData[i]; | |
} | |
arrProvider.addItem(obj); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment