If you need to get the property names from an object:
var object:Object = {name:"lawrence", age:"26"}; for( var o : * in object){ trace( o + " = " + object[o] ); }
source:
http://stackoverflow.com/questions/372317/how-can-i-get-list-of-properties-in-an-object-in-actionscript
Tech Reference: AS3
Leave a Reply