Button.onReleaseOutside

Availability

Flash Player 6.

Usage

my_btn.onReleaseOutside = function() {
  // your statements here
}

Parameters

None.

Returns

Nothing.

Description

Event handler; 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.

Example

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

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