[英]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. 使用Flex 3,我有一个使用CSS样式表中指定的PNG外观的Button。
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. 我的设计师同事希望在图像外添加一条发际线#999999线的翻转效果。 Is this possible (without creating a new overSkin png) using the standard Flex styles?
是否可以使用标准Flex样式(无需创建新的overSkin png)?
用图形绘制线条呢?
我相信您将需要改变外皮,我认为那是唯一的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.