Flash/As3 - changing color of focusRect

2.3k Views Asked by At

should be simple right? but have not found any anwsers :(

2

There are 2 best solutions below

0
On BEST ANSWER

Changing the color of the focusrect is a feature that, AFAIK, has never been in any desktop Flash player. It's only possible in the Flash Lite player (for mobile phones), from v2.0 onwards.

All you can do in AS3 is hide it and draw a rectangle of your own, in any color you like (or use components that do that for you).

0
On

Hm.. Not quite sure about flash, but in flex, for UIComponents, you can use myComponent.setStyle("focusRectSkin", mySkin); to change the colour.