The Accelerometer class dispatches AccelerometerEvent objects when acceleration updates are obtained from the Accelerometer sensor installed on the device.
An object dispatches an ErrorEvent object when an error causes an asynchronous operation to fail.
The Event class is used as the base class for the creation of Event objects, which are passed as parameters to event listeners when an event occurs.
The EventDispatcher class is the base class for all classes that dispatch events. The EventDispatcher class implements the IEventDispatcher interface and is the base class for the DisplayObject class. The EventDispatcher class allows any object on the display list to be an event target and as such, to use the methods of the IEventDispatcher interface.
The EventPhase class provides values for the
An object dispatches a FocusEvent object when the user changes the focus from one object in the display list to another. There are four types of focus events:
The GameInputEvent class represents an event that is dispatched when a game input device has either been added or removed from the application platform. A game input device also dispatches events when it is turned on or off.
The application dispatches HTTPStatusEvent objects when a network request returns an HTTP status code.
An IOErrorEvent object is dispatched when an error causes input or output operations to fail.
A KeyboardEvent object id dispatched in response to user input through a
keyboard. There are two types of keyboard events:
A MouseEvent object is dispatched into the event flow whenever mouse events occur. A mouse event is usually generated by a user input device, such as a mouse or a trackball, that uses a pointer.
A ProgressEvent object is dispatched when a load operation has begun or a
socket has received data. These events are usually generated when SWF
files, images or data are loaded into an application. There are two types
of progress events:
An object dispatches a SecurityErrorEvent object to report the occurrence
of a security error. Security errors reported through this class are
generally from asynchronous operations, such as loading data, in which
security violations may not manifest immediately. Your event listener can
access the object's
An object dispatches a TextEvent object when a user enters text in a text
field or clicks a hyperlink in an HTML-enabled text field. There are two
types of text events:
A Timer object dispatches a TimerEvent objects whenever the Timer object
reaches the interval specified by the
The TouchEvent class lets you handle events on devices that detect user contact with the device(such as a finger on a touch screen). When a user interacts with a device such as a mobile phone or tablet with a touch screen, the user typically touches the screen with his or her fingers or a pointing device. You can develop applications that respond to basic touch events(such as a single finger tap) with the TouchEvent class. Create event listeners using the event types defined in this class. For user interaction with multiple points of contact(such as several fingers moving across a touch screen at the same time) use the related GestureEvent, PressAndTapGestureEvent, and TransformGestureEvent classes. And, use the properties and methods of these classes to construct event handlers that respond to the user touching the device.