ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > TextField > onSetFocus (TextField.onSetFocus handler) | |||
onSetFocus = function(oldFocus:Object) {}
Invoked when a text field receives keyboard focus. The oldFocus parameter is the object that loses the focus. For example, if the user presses the Tab key to move the input focus from a button to a text field, oldFocus contains the button instance. If there is no previously focused object, oldFocus contains a null value.
Availability: ActionScript 1.0; Flash Player 6
oldFocus:Object - The object to lose focus.
See the example for TextField.onKillFocus.
onKillFocus (TextField.onKillFocus handler)
|
|
|
|