dragOver
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 the Object / Sprite / button while the button is held down
3. The mouse to be moved over the Object / Sprite / button while the button is still held down.

The condition occurs as the mouse returns over of the Object / Sprite / button.

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

onSelfEvent (dragOver) {
    _xscale += 10;
    _yscale += 10;
}


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