dragOut
Top  Previous  Next


SWiSH Player Support
Supported Internally

Syntax
A Mouse Event Parameter. Used as a parameter to on() and onSelfEvent() Event Handling functions.

Description
The associated Event is executed when the Event condition is met.

The Event condition requires:
1. The mouse button to be pressed while the mouse is positioned over the Object / Sprite / button
2. The mouse to be moved outside of the Object / Sprite / button while the button is held down.

The condition occurs as the mouse moves outside of the Object / Sprite / button.

Sample
The following Event script could be added to an Object / Sprite or button so that it gets smaller after a dragOut Event.

onSelfEvent (dragOut) {
    _xscale -= 10;
    _yscale -= 10;
}


See Also
dragOver, keyPress(key), press, release, releaseOutside, rollOut, rollOver, on() and onSelfEvent().