Button.ondragout - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Button.onDragOut

Availability
Flash Player 6.
Usage
my_btn.onDragOut = function() : Void {
// your statements here
}
Parameters
None.
Returns
Nothing.
Description
Event handler; invoked when the mouse button is clicked over the button and the pointer then
dragged outside of the button.
You must define a function that executes when the event handler is invoked.
Example
The following example demonstrates how you can execute statements when the pointer is dragged
off a button. Create a button called my_btn on the Stage and enter the following ActionScript in
a frame on the Timeline:
my_btn.onDragOut = function() {
trace("onDragOut: "+this._name);
};
my_btn.onDragOver = function() {
trace("onDragOver: "+this._name);
};
142
Chapter 2: ActionScript Language Reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents