User Guide
FocusManager class 427
Example
The following code sets the focus to myOKButton if the object that currently has focus is
myInputText:
if (focusManager.getFocus() == myInputText)
{
focusManager.setFocus(myOKButton);
}
See also
FocusManager.setFocus()
FocusManager.nextTabIndex
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
FocusManager.nextTabIndex
Description
Property; the next available tab index number. Use this property to dynamically set an object’s
tabIndex property.
Example
The following code gives the mycheckbox instance the next highest tabIndex value:
mycheckbox.tabIndex = focusManager.nextTabIndex;
See also
UIComponent.tabIndex
FocusManager.sendDefaultPushButtonEvent()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004 and Flash MX Professional 2004.
Usage
focusManager.sendDefaultPushButtonEvent()
Parameters
None.