MovieClip.onSetFocus

Availability

Flash Player 6.

Usage

my_mc.onSetFocus = function(oldFocus){
  // your statements here
}

Parameters

oldFocus The object to lose focus.

Returns

Nothing.

Description

Event handler; invoked when a movie clip 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 movie clip to a text field, oldFocus contains the movie clip instance.

If there is no previously focused object, oldFocus contains a null value.