User Guide

730 FocusManager class
See also
FocusManager.defaultPushButtonEnabled,
FocusManager.sendDefaultPushButtonEvent()
FocusManager.defaultPushButtonEnabled
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
focusManager.defaultPushButtonEnabled
Description
Property; a Boolean value that determines if keyboard handling of the default push button is
turned on (
true) or not (false). Setting defaultPushButtonEnabled to false allows a
component to receive the Return or Enter key and handle it internally. You must re-enable
default push button handling by watching the component’s
onKillFocus() method (see
onKillFocus (MovieClip.onKillFocus handler)
in ActionScript 2.0 Language Reference)
or
focusOut event. The default value is true.
This property is for use by advanced component developers.
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