Example
In the following example, a function that sends a trace() statement to the Output panel is
defined for the
onRelease
my_btn.onRelease = function () {
trace ("onRelease called");
};
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
System.capabilities.hasMouse is true
.
true
Availability: ActionScript 1.0; Flash Lite 2.0
Example
In the following example, a function that sends a trace() statement to the Output panel is
defined for the
onReleaseOutside
my_btn.onReleaseOutside = function () {
trace ("onReleaseOutside called");
};
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.
Availability: ActionScript 1.0; Flash Lite 2.0
284
ActionScript classes
handler:
Event Handler is supported for Flash Lite 2.0 only if
or
handler:
System.capabilities.hasStylus is
Need help?
Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers