/ Published in: ActionScript 3
see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/statements.html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2#for..in for details
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
for (var prop in myObject) { trace("myObject."+prop+" = "+myObject[prop]); }