There are styles for over and clicked but no up state. Is it possible?
views:
18answers:
1
+1
A:
You can use the upSkin style or the skin style to define the background of a button
So, instead of referencing the downSkin, or overSkin, or disabledSkin, you would just reference 'skin' or upSkin.
I believe you'll need an actual skin, and not an image to accomplish this, though.
www.Flextras.com
2010-06-09 21:02:09
So how would i reference skin to a png I have?
Adam
2010-06-10 13:51:04
Embed the png. http://livedocs.adobe.com/flex/3/html/help.html?content=embed_4.html then just specify that class as the style you want. Then something like setStyle('skin', myEmbeddedAsset); . I think you're going to have to use a formal skin created in Flash to change the background, though.
www.Flextras.com
2010-06-10 15:33:07