Change color of a Flex 4 spark Button

at. picture at. · Dec 16, 2010 · Viewed 11.1k times · Source

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.

Answer

ptrk picture ptrk · Dec 27, 2012

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