Flash Lite 2.x and 3.0 ActionScript Language Reference

onReleaseOutside (Button.onReleaseOutside handler)

onReleaseOutside = function() {}

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

Note: The onReleaseOutside Event Handler is supported for Flash Lite 2.0 only if System.capabilities.hasMouse is true or System.capabilities.hasStylus is true.

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");
};