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 (
) or not (
). Setting
to
allows a
true
false
defaultPushButtonEnabled
false
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
method (see
onKillFocus()
onKillFocus (MovieClip.onKillFocus handler) in ActionScript 2.0 Language Reference)
or
event. The default value is
.
focusOut
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
730
FocusManager class
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers