did you set tabEnabled? - Dan
On 2/8/07, h8me4everplus1 <[EMAIL PROTECTED]> wrote:
Please, someone take a look and at least tell me there is no way to do it the way I'm doing it. Setting tabIndex doesn't do anything. I have no idea what to do... --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "h8me4everplus1" <[EMAIL PROTECTED]> wrote: > > I would like to set a specific "tab loop" for each state of the > application I'm working on. > > I thought that I would just set the tabIndex of the components and > that the default tab index order would be overridden. This did not > work. Tabbing behaves as if no tab index has been set. > > I have made sure that I am targeting the right property and the right > components since I've written a loop to automate the indexing. > Everything seems okay, I've even traced the tabIndex of the components > and they display the index I've set. > > I am programming in pure AS3 using the flex framework, so there is > just a main component in the MXML document that extends UIComponent. > Everything is a child of this main component. > > I have a container that has a complex pattern of children. The > children of the container have children, and they are the targets for > my tab loop. I have a public function for the containers children that > gathers the components that will comprise the tab loop. I loop through > the array of UIComponents and set their corresponding tabIndex > property. This is done in the childrenCreated() function of the container. > > The structure looks like this > > [mxmlDocument] > [main] > [container] <- childrenCreated() here sets tabIndex of children > [A][B] > [childOfA][childOfA][childOfB] > > That is the basic idea, and it does nothing... > > Thanks guys, > > Melih >