Skip to content

Instantly share code, notes, and snippets.

Created April 22, 2009 01:12
Show Gist options
  • Save anonymous/99514 to your computer and use it in GitHub Desktop.
Save anonymous/99514 to your computer and use it in GitHub Desktop.
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