How to remove rollover color in Link Button in flex 2

751 views Asked by At

How do I remove the rollover background,selection color from link button in flex 2.Please help.

1

There are 1 answers

1
Flexiflex On BEST ANSWER

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.