Cycle Through Contstant Properties of a Class


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. for each (var constant:XML in describeType(ClassName).constant)
  2. {
  3. var property:String = ClassName[constant.@name];
  4. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.