![]() ![]() | |
Flash Player 6.0.79.
Flash MX 2004 and Flash MX Professional 2004
focusManager.getFocus()
None.
A reference to the object that has focus.
Method; returns a reference to the object that currently has focus.
The following code sets the focus to myOKButton if the currently focused object is myInputText:
if (focusManager.getFocus() == myInputText)
{
focusManager.setFocus(myOKButton);
}
![]() ![]() | |