Using CSS to apply graphical skins : CSS « Style « Flex
- Flex
- Style
- CSS
Using CSS to apply graphical skins

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Style>
@namespace mx "http://www.adobe.com/2006/mxml";
mx|Button {
overSkin: Embed("a.gif");
upSkin: Embed("b.gif");
downSkin: Embed("a.gif");
}
</mx:Style>
<mx:Button id="b1" label="Click Me"/>
</mx:Application>
Related examples in the same category