Hi there,

 

In one of my Components I try to use

 

this.setStyle("styleName", _s);

 

where _s is a String containing the name of a class. However, it seems not to work.

 

this.setStyle("backgroundColor", _s);

 

works perfect. Is it not possible to programmatically assign a new class to a component at runtime?

 

Ralf Rottmann

 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to