Increments are your friend. :) a = 0; tf1.tabIndex = ++a; tf2.tabIndex = ++a; tf3.tabIndex = ++a; btn4.tabIndex = ++a; btn5.tabIndex = ++a;
If you had to reorder any of those tab orders all you have to do is cut and paste them into their new position. If you number your tabIndexes specifically and you needed to move one, you would have to renumber any that came after the one you moved. Not fun, especially if you have a lot of tabbable elements. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com