Thank you both, works!!! What is a sealed object?
.V > > > > for (var p:String in object) > > trace(p, object[p]) > > > > For sealed objects, use getClassInfo > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of v.cekvenich > Sent: Wednesday, July 23, 2008 8:08 AM > To: [email protected] > Subject: [flexcoders] reflection of proerties in an object > > > > 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 >

