Question
tabbing across containers
I have a number of input textfields, each contained within a
different sprite. Those sprites are further nested within other
sprites and then a ScrollPane. Tabbing only works for the buttons
that are on the page, not the textfields. I tried setting tabIndex
to a unique ascending int for each, but that doesn't work.
I have tested in the IDE with Control/Disable Keyboard Shortcuts
I have tested in IE and FF, nothing works.
The API doc for InteractiveObject says "The custom tab ordering includes only objects that have tabIndex properties". Yet the buttons without tabIndex set are in the tab loop, while the (visible) textfields with tabIndex set are not in the tab loop.
If I click within any textfield, to give it focus, then hit the tab key, the focus goes back to the buttons and not to any textfield. The doc also says that "The custom tab ordering that the tabIndex property defines is flat" so I'd thinkthagt nesting doesn't matter. How do I get tabbing to work? I've looked at FocusManager but don't see a solution there.
(My code has many as files and so I can't post it.)
I have tested in the IDE with Control/Disable Keyboard Shortcuts
I have tested in IE and FF, nothing works.
The API doc for InteractiveObject says "The custom tab ordering includes only objects that have tabIndex properties". Yet the buttons without tabIndex set are in the tab loop, while the (visible) textfields with tabIndex set are not in the tab loop.
If I click within any textfield, to give it focus, then hit the tab key, the focus goes back to the buttons and not to any textfield. The doc also says that "The custom tab ordering that the tabIndex property defines is flat" so I'd thinkthagt nesting doesn't matter. How do I get tabbing to work? I've looked at FocusManager but don't see a solution there.
(My code has many as files and so I can't post it.)