As long as it is in fact an Object you can do

for (var key:String in object) {
    // do something with the key
}

Scott

On Wed, Jul 23, 2008 at 11:07 AM, v.cekvenich <[EMAIL PROTECTED]> wrote:

>   if I get an object, I want to enumerate the properties.
>
> Ex:
> var object:Object = someClass.someFunc();
>
> var val1:String = object["key1"];
>
> How do I list all the keys in an object?
>
> .V
>
>  
>

Reply via email to