简体   繁体   中英

Adding rollover effect to skinned button in Flex

Using Flex 3, I have a Button which is skinned using PNGs specified in a CSS style sheet.

Button.addextra {  
    downSkin : Embed( source="img/add-extra-icon.png" ); 
    overSkin : Embed( source="img/add-extra-icon.png" ); 
    upSkin : Embed( source="img/add-extra-icon.png" ); 
    disabledSkin : Embed( source="img/add-extra-icon-disabled.png" ); 
} 

My designer colleague would like to add a rollover effect of a hairline #999999 line outside the image. Is this possible (without creating a new overSkin png) using the standard Flex styles?

用图形绘制线条呢?

我相信您将需要改变外皮,我认为那是唯一的方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM