MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 428

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

FocusManager.setFocus()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004 and Flash MX Professional 2004.
Usage
focusManager.setFocus(object)
Parameters
A reference to the object to receive focus.
object
Returns
Nothing.
Description
Method; sets focus to the specified object. If the object to which you want to set focus is not on
the main Timeline, use the following code:
_root.focusManager.setFocus(object);
Example
The following code sets focus to
focusManager.setFocus(myOKButton);
See also
FocusManager.getFocus()
:
myOKButton
FocusManager class
429

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents