Example
The following code sets the focus to
:
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
property.
tabIndex
Example
The following code gives the
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.
if the object that currently has focus is
myOKButton
instance the next highest
mycheckbox
value:
tabIndex
FocusManager class
427
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?