S > Selection.getFocus
Selection.getFocusSyntax
Selection.getFocus();
Arguments
None.
Description
Method; returns the name of the variable of the currently focused editable text field. If no text field is currently focused, the method returns null
.
Player
Flash 5 or later.
Example
The following code returns the name of the variable:
_root.
anyMovieClip
.myTextField.