rollOut
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 over the object / sprite / button.
2. The mouse is positioned outside the object / sprite / button.

The condition occurs as the mouse is no longer 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 rollOut Event.

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


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