Question

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

Was it helpful?

Solution

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).

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top