Tag Archives: baseColor

Applying styles to different states on a Spark Button control in Flex 4

The following example shows you how you can use the advanced CSS features in Flex 4 to apply different state-specific styles to a Spark Button control using CSS.

For more information on using advanced CSS, see the “CSS Advanced Selectors” specification on the Adobe Flex Open Source site.

Full code after the jump.

Continue reading Applying styles to different states on a Spark Button control in Flex 4

Setting the base color on a Spark CheckBox control in Flex 4

In a previous example, “Setting the icon color on a Spark CheckBox control in Flex 4”, we saw how you can set the icon (check mark) color on a Spark CheckBox control in Flex 4 by setting the symbolColor style.

The following example shows how you can set the base (background) color on a Spark CheckBox control in Flex 4 by setting the baseColor style.

Full code after the jump.

Continue reading Setting the base color on a Spark CheckBox control in Flex 4