Mega Code Archive

 
Categories / Flex / Style
 

Define a class and a type selector in the mx

tag:" src="http://www.rntsoft.com/Code/FlexImages/DefineaclassandatypeselectorinthemxStyletag.PNG"           <?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:Style>     @namespace mx "http://www.adobe.com/2006/mxml";     .myFontStyle {          fontSize: 15;          color: #9933FF;     }     mx|Button {         fontStyle: italic;     }     </mx:Style>     <mx:Button id="myButton" styleName="myFontStyle" label="Click Here"/> </mx:Application>