Flash Lite 2.x and 3.0 ActionScript Language Reference

onRollOut (Button.onRollOut handler)

onRollOut = function() {}

Invoked when the button loses focus. This can happen when the user clicks another button or area outside of the currently selected button. You must define a function that is executed when the event handler is invoked.

Example

In the following example, a function that sends a trace() statement to the Output panel is defined for the onRollOut handler:

my_btn.onRollOut = function () {
    trace ("onRollOut called");
};