Assigning Button to the myFontStyle style class
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> .myFontStyle { fontSize: 15; color: #9933FF; } </mx:Style> <mx:Button id="myButton" styleName="myFontStyle" label="Click Here"/> </mx:Application>