Ondragout (Button.ondragout Handler) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Instance name of the button specified by
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example traces all instance names of any Button instances within the current
Timeline of a SWF file.
for (i in this) {
if (this[i] instanceof Button) {
trace(this[i]._name);
}
}

onDragOut (Button.onDragOut handler)

onDragOut = function() {}
Invoked when the user presses the mouse button over the button and then drags the pointer
outside of the button. You must define a function that is executed when the event handler is
invoked.
Note: The
onDragOut
System.capabilities.hasMouse is true
.
true
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example demonstrates how you can execute statements when the pointer is
dragged off a button. Create a button called
ActionScript in a frame on the Timeline:
my_btn.onDragOut = function() {
trace("onDragOut: "+this._name);
};
my_btn.onDragOver = function() {
trace("onDragOver: "+this._name);
};
my_btn
Event Handler is supported for Flash Lite 2.0 only if
.
or
System.capabilities.hasStylus is
on the Stage and enter the following
my_btn
Button
279

Advertisement

Table of Contents
loading

Table of Contents