PDA

View Full Version : reverting back to default style?


sydd_hu
03-11-2009, 03:11 PM
Hi

Is there a command to revert back to flex default styles for a component?
I have made a custom style for all button components:

Button{
upSkin: Embed(source="graphics/kronographics.swf",symbol="alt_updown");
overSkin: Embed(source="graphics/kronographics.swf",symbol="alt_over");
downSkin: Embed(source="graphics/kronographics.swf",symbol="alt_updown");
disabled-skin:Embed(source="graphics/kronographics.swf",symbol="alt_updown");
}


My problem is that this code skins ColorPicker too. (I dont see the selected color, i see it as a button.) Is there a command to clear styles and revert back te default flex bahaviour?
Thanks