An event is a defined occurrence that can apply to an Object. The events that are associated with an Object are defined according to the class the Object belongs to. This means that different types of Objects may have different events.
For example, a Sprite Object supports a number of different events.
These events include:
· | onSelfEvent(mouseEvent).
|
An Event Handler routine can exist within the Object for each of the above events. When the defined event occurs, Script within the Event Handler function is executed.
The events that are available for each supported Object are defined in the Script Reference Dictionary.