I have a CSS file containing the following definition :
.Tab{
up-skin:Embed(skinClass='XUpSkin');
over-skin:Embed(skinClass='XOverSkin');
disabled-skin:Embed(skinClass='XDisabledSkin');
}
And a Flex file :
<mx:Button id="b1" style="Tab"/>
Now, I want to use the disabled-skin defined in the CSS, as the upSkin of b1.
So something like
b1.setStyle("upSkin","Tab.disabled-skin");
But I am struggling with the exact syntax of the second argument for setStyle.
What should I use for the second argument for setStyle method?