Fel_911" <email@example.com> wrote in
> Hi !
> I got like 10 textinput component and then 3 radio
button (of the same
> I want to know if there is a way to acces the radio
button with the tab
> key. I
> tabindexed all my textinput like :
> tname.tabIndex = 1;
> Thx guys !
I did this myself actually a while back. My initial need for
class was because I had RadioButtons of the same group being
place on a
MovieClip dynamically, then a bunch of these movie clips were
dynamically. The problem was that I only wanted one radio
button to be
selectable, even thought the RadioButton groups were on
MovieClips. So, I wrote a RadioButtonController class that
only allowed one
of the buttons to be selected.
In doing this I added tababilty much the same as you are
using below... a
different tab index for each radio button, and the controller
back and forth between them.
I might be able to dig up the code somewhere if you are