A mouse event in Flash can occur when you click your right mouse button, your left mouse button or your mouse cursor rolls over or rolls out from an object, such as a button or graphic, on the Flash stage. Other AS3 mouse events include the Mouse Up event, triggered when a mouse button is released. A mouse event can occur when a mouse event listener has been attached to an object on the stage or to the Flash stage itself.
An AS3 keyboard event in Flash can occur when you press down on a key on the keyboard or release the key. Specific key events can be detected with keyboard events, such as pressing the "a" key. A keyboard event occurs when a keyboard event listener has been attached to an object on the Flash stage or the flash stage itself. When a keyboard event is attached to the stage, a keyboard event will be triggered whenever a key is pressed.
An AS3 timer event occurs after a preset programmed period of time or repeatedly over several equally spaced time intervals. AS3 timer events are set in milliseconds (one-thousandth of a second intervals). An AS3 timer event can occur only if an AS3 timer object has been declared and the timer start method has been executed. A timer event must also be attached to the timer itself for a timer event to occur.
An AS3 focus event occurs when the mouse cursor is moved over a text field or moved out of the perimeter of a text field. A focus event will occur only if a focus event listener has been attached to a text field.
An AS3 color picker event can occur when the color picker component is selected with a mouse click and when a specific color is selected from the color picker. A color picker event can occur only if a color picker event listener has been attached to the color picker component.