Posted By

martin9999uk on 01/19/11


Tagged

object loop as3


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

khacduyst
kure69
gandreini
merritt212
toontitan


Loop through object properties


 / Published in: ActionScript 3
 

see http://help.adobe.com/enUS/FlashPlatform/reference/actionscript/3/statements.html?filterflex=4.1&filterflashplayer=10.1&filterair=2#for..in for details

  1. for (var prop in myObject) {
  2. trace("myObject."+prop+" = "+myObject[prop]);
  3. }

Report this snippet  

You need to login to post a comment.