MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 735

Components language reference
Table of Contents

Advertisement

Description
Property; a Boolean value that determines if tab handling is turned on (
for a particular group of focus objects. (For example, another pop-up window could have its
own Focus Manager.) Setting
handling keys and handle them internally. You must re-enable the Focus Manager handling by
watching the component's
(MovieClip.onKillFocus handler) in ActionScript 2.0 Language Reference) or
event. The default value is
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.
Example
The following code sets the focus to
:
myInputText
if (focusManager.getFocus() == myInputText)
{
focusManager.setFocus(myOKButton);
}
to
enabled
false
method (see onKillFocus
onKillFocus()
.
true
myOKButton
allows a component to receive the tab
if the object that currently has focus is
FocusManager.getFocus()
) or not (
)
true
false
focusOut
731

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents