See:
 
http://livedocs.adobe.com/flex/2/langref/mx/utils/ObjectUtil.html#getCla
ssInfo()
 
Look for the "properties" property on the resulting class info Object.
 
Pete
 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of tungchau81
Sent: Monday, March 19, 2007 2:09 PM
To: [email protected]
Subject: [flexcoders] Converting AS3 class into XML



Hi,
I need to convert an AS3 class into XML based on all the public/private 
properties that the AS3 class has. However, I have not been able to 
find a way or any API that allow me traverse through all properties 
that a class has. This should be a generic way that can be applied to 
any AS3 class.

I did look at the XMLTools.as file written by Michael J. Prichard. 
However, it seems to work with AS2 only. 

Any advice is greatly appreciated. 

Regards,
Tung Chau



 

Reply via email to