Apply color and font style to a Button with CSS
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> .example { color: red; font-style: italic; } </mx:Style> <mx:Button label="Example" styleName="example" /> </mx:Application>