sounds like introspection take a look at Eric Feminella's site...
http://www.ericfeminella.com/blog/2006/12/08/as3-util-api-available/ --- In [EMAIL PROTECTED], "frank_sommers" <[EMAIL PROTECTED]> wrote: > > I'm wondering how to dynamically access the properties of an object. I've already looked into > flash.utils.describeType, which does provide a list of accessors of an object. What I'd like to > be able to do is iterate through that list, and obtain the value of each accessor (if the > property is readable, that is). > > One way I was thinking of doing this was to invoke flash.utils.getDefinitionByName on the > class name + the accessor name, hoping that this would return a function object that I can > invoke on the target object (this is how I would do this in Java, for instance). However, this > doesn't seem to work, as I'm getting an error message to the effect that the property, e..g, > myclass.myProperty, is not defined. > > Any suggestions would be appreciated. > > Thanks, > > -- Frank >

