EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Onrelease (Button.onrelease Handler); Onreleaseoutside (Button.onreleaseoutside Handler)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 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...
Button 365
Example
In the following example, a function that sends a trace() statement to the Output panel is
defined for the
onPress handler:
my_btn.onPress = function () {
trace ("onPress called");
};
onRelease (Button.onRelease handler)
onRelease = function() {}
Invoked when a button is released. 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
onRelease handler:
my_btn.onRelease = function () {
trace ("onRelease called");
};
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");
};

Table of Contents

Related product manuals