简体   繁体   中英

How to remove rollover color in Link Button in flex 2

如何从Flex 2的链接按钮中删除过渡背景,选择颜色。请帮助。

This can be done by setting upSkin, downSkin and overSkin to null using setStyle method.

 linkButton.setStyle('upSkin', null);
 linkButton.setStyle('overSkin', null);
 linkButton.setStyle('downSkin', null);

The above disables the selectionColor,rollOverColor from Link button.

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