User Guide

426 Chapter 6: Components Dictionary
Example
The following code disables default push button handling:
focusManager.defaultPushButtonEnabled = false;
FocusManager.enabled
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
focusManager.enabled
Description
Property; a Boolean value that determines if tab handling is turned on (true) or not (false) for a
particular group of focus objects. (For example, another pop-up window could have its own Focus
Manager.) Setting
enabled to false allows a component to receive the tab handling keys and
handle them internally. You must re-enable the Focus Manager handling by watching the
component’s
onKillFocus() method (see MovieClip.onKillFocus in Flash ActionScript
Language Reference) or
focusOut event. The default value is true.
Example
The following code disables tabbing:
focusManager.enabled = false;
FocusManager.getFocus()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004 and Flash MX Professional 2004.
Usage
focusManager.getFocus()
Parameters
None.
Returns
A reference to the object that has focus.
Description
Method; returns a reference to the object that currently has focus.