onReleaseOutside (Button.onReleaseOutside handler)

onReleaseOutside = function() {}

Invoked when the mouse is released while the pointer is outside the button after the button is pressed while the pointer is inside the button. You must define a function that executes when the event handler is invoked.

Availability: ActionScript 1.0; Flash Player 6

Example

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

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