EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Onreleaseoutside (Button.onreleaseoutside Handler); Onrollout (Button.onrollout Handler)

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
284 ActionScript classes
Example
In the following example, a function that sends a trace() statement to the Output panel is
defined for the
onRelease handler:
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 Event Handler is supported for Flash Lite 2.0 only if
System.capabilities.hasMouse is true or System.capabilities.hasStylus is
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 handler:
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

Table of Contents

Related product manuals