tags:

views:

18

answers:

1

There are styles for over and clicked but no up state. Is it possible?

+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.

http://www.adobe.com/devnet/flex/articles/skins_styles.html

www.Flextras.com
So how would i reference skin to a png I have?
Adam
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