For ECMAScript in general (Javascript and ActionScript) you'd use a
for..in loop to iterate over the properties (including methods) of an
Object.
ActionScript changes for..in to only work over the "dynamic"
properties of an Object instance.
The docs say:
"To get a list of fixed properties, use the describeType()
function, which is in the flash.utils package."
-David.
--- In [email protected], "Andr� Rodrigues Pena"
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm wondering if Flex has some mechanism for dynamically calling
> methods and setting properties. I mean, I don't know the name of the
> method or the property at compile time. Something like Java
> Reflection.
>
> Thanks
>
> --
> Andr� Rodrigues Pena
>
> LOCUS
> www.locus.com.br
>