Yes, you can use the describeType() function in the flash.utils package
to get XML telling you all about the declared public properties and
methods of a class instance. You can then pick out the info you want
using E4X.

 

- Gordon

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Thursday, December 14, 2006 8:34 PM
To: [email protected]
Subject: [flexcoders] Enumerable properties: what am I not getting?

 

So setPropertyIsEnumerable() is really only good for dynamically
creayed properties, and really only for setting to false, since they
are enumerable by default. My question is, how can I iterate over the
properties that are actually defined in one of my classes? I have a VO
class with a bunch o' properties that I would really rather not have
to access manually. Is this possible?

Thanks,
Ben

 

Reply via email to