ActionScript 2.0 Components Language Reference |
|
|
|
| Form class > Form.currentFocusedForm | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
mx.screens.Form.currentFocusedForm
Property (read-only); returns the Form object that contains the global current focus. The actual focus may be on the form itself, or on a movie clip, text object, or component inside that form. May be null if there is no current focus.
The following code, attached to a button (not shown), displays the name of the form with the current focus.
trace("The form with the current focus is: " + mx.screens.Form.currentFocusedForm);
|
|
|
|