rollOver
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 is positioned outside the Object / Sprite / button
2. The mouse is positioned over the Object / Sprite / button.

The condition occurs as the mouse is moved over 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 rollOver Event.

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


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