Return to Snippet

Revision: 14574
at June 7, 2009 10:23 by stiobhart


Initial Code
//this will loop through an object and get all its properties

for (var p in <object name>) 
{
trace(p+":"+<object name>[p]+"\n");
}

Initial URL

                                

Initial Description
this will loop through an object and get all its properties

Initial Title
actionscript - object introspection

Initial Tags
object, actionscript

Initial Language
ActionScript