When you want to add style to any of the web documents then Cascading Style Sheet is the best option. Below is an example as how to use CSS in Flex.
Application { backgroundGradientColors: #000000, #cccccc; backgroundGradientAlphas: 0.84, 0.81; } SuperImage { border-thickness: 0; border-style: none; } .normalText{ fontFamily: verdana; fontSize: 10px; fontWeight:bold; color:#075B9C; } Calling a CSS file in a flex application - <mx:Style source="/style/messenger.css"/>
|