Mega Code Archive

 
Categories / Flex / Components
 

Custom Button Style

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">     <mx:Style>     @namespace mx "http://www.adobe.com/2006/mxml";         mx|Button{             font-family:Arial;             font-size: 16px;             color:#999999;         }         .customButtonStyle{             font-family:Verdana;             font-size: 12px;             color:#000000;         }     </mx:Style>     <mx:Button label="regular button"/>     <mx:Button label="customButtonStyle button" styleName="customButtonStyle" y="35"/> </mx:Application>