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 the mouse button to be released while the mouse is positioned over the Object / Sprite / button.
The condition occurs as the button is released.
Sample
The following Event script could be added to an Object / Sprite or button so that it gets larger after a release Event.
onSelfEvent (release) {
_xscale += 10;
_yscale += 10;
}
See Also
dragOut, dragOver, keyPress(key), press, releaseOutside, rollOut, rollOver, on() and onSelfEvent().