![]() ![]() | |
Flash Player 6.0.79.
Flash MX 2004.
focusManager.defaultPushButtonEnabled
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 MovieClip.onKillFocus in ActionScript Dictionary Help) or focusOut event. The default value is true.
The following code disables default push button handling:
focusManager.defaultPushButtonEnabled = false;
![]() ![]() | |