hello Mark, you can use the urcomponentID.setStyle(stylename, value); to change the style of component.
Regards, Sudesh ________________________________ From: markflex2007 <markflex2...@yahoo.com> To: flexcoders@yahoogroups.com Sent: Friday, August 17, 2012 8:18 PM Subject: [flexcoders] change button color dynamically? The following code can change Button Color <mx:Button label="test" fillColors="[#00ff00, #00ff00, #00ff00, #00ff00]" fillAlphas="[1, 1, 1, 1]"/> May I use setStyle in AS TO change fillColors, please show me how to do that? May I use AS code change fillColors dynamically with dynamic data. Thanks Mark ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links http://docs.yahoo.com/info/terms/