0

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

Flexiflex
  • 91
  • 9

1 Answers1

0

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.

Flexiflex
  • 91
  • 9
  • Please make sure you mark your own answer as correct when you are able to (should be after 2 days, I believe) – Josh May 24 '13 at 19:30