ufk
ufk

Reputation: 32144

flex 4: skinning toggle button with images

I'm trying to skin a button with images.

i added the following css code:

.muteVolumeButton {
    upSkin: Embed(source='images/sound-mute.gif');
    overSkin:Embed(source='images/sound-hover.gif');
    downSkin: Embed(source='images/sound-on.gif');
    disabledSkin: Embed(source='images/sound-mute.gif');

}

when the button is clicked i can't see any images. any ideas ?

Upvotes: 1

Views: 4470

Answers (1)

Gopi
Gopi

Reputation: 26

Which version you are using? In Flex 4 you have to use up, over and down. No need to specify upSkin, overSkin etc...for a gumbo package components.

Upvotes: 1

Related Questions