How to remove yellow focusRect on a stage instance without disabling automatic focus switching using arrow keys

Jeremy Daley
Jeremy Daley used Ask the Experts™
on
I keep seeing solutions online for how to remove the focusRect, and I understand how to do it. The issue is that those solutions (setting focusRect = false), while still allowing TABBING to new stage instances without the focusRect, don't allow automatic focus changing via the arrow keys.

I want to keep that feature because it's very helpful for an application I'm working on.

Apologies for the low points. That's all I have.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2009

Commented:
how are you currently getting your items to respond to your arrow keys.
Jeremy DaleySenior Developer

Author

Commented:
they are sprites with buttonModes set to true. when the thing loads i say stage.focus = myButton.
then from there on, i can just press left or right arrow keys and it automatically switches between 3 different other buttons.
Top Expert 2009

Commented:
does you arrow tab still work after you click a button?
Senior Developer
Commented:
the buttons don't have any click action at the moment, nor do they have roll over/out actions, but when i click on the button, it loses the focus rectangle and i'm unable to arrow in any direction to gain focus again.

i hope i don't have to develop my own keyboard navigation manager. do you know of any classes by chance? or perhaps even a plan of execution for developing my own class?
Top Expert 2009

Commented:
ok i thought i was losing my mind.
if you want to use the left/right keys to tab through you will need to create your own functions to handle it.
are there any already built classes to do it  - not that I know of.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial