getDefinition

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of polestar11
Sent: Wednesday, December 19, 2007 4:05 AM
To: [email protected]
Subject: [flexcoders] Any way to cast a string reference of a class name
to its Class equivallent

 

Hi there

I have a list of class names stored as strings in an xml file. 
Is there any way to cast them to actual class items programatically
once the file has loaded.

Eg. 
<item classname="aClass"/>

// in code
myComponent.setStyle("icon", Class([EMAIL PROTECTED]));

Cheers
Tracy

 

Reply via email to