User Guide
152 Chapter 2: ActionScript Language Reference
Button.onRollOut
Availability
Flash Player 6.
Usage
my_btn.onRollOut = function() : Void {
// your statements here
}
Parameters
None.
Returns
Nothing.
Description
Event handler; invoked when the pointer moves outside a button area. You must define a
function that executes when the event handler is invoked.
Example
In the following example, a function that sends a trace() statement to the Output panel is defined
for the
onRollOut handler.
my_btn.onRollOut = function () {
trace ("onRollOut called");
};