开发者

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 ?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜