Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change color of a Flex 4 spark Button

Is there an easy way to change the background color of a Flex 4 spark Button without messing with skins?

UPDATE: ok, figured it out, simply set the chromeColor attribute of the Button mxml.

like image 965
at. Avatar asked Dec 15 '10 23:12

at.


1 Answers

For spark components, you can use chromeColor style:
<s:Button chromeColor="0xff0000" label="chrome red"/>

like image 118
ptrk Avatar answered Sep 25 '22 15:09

ptrk