Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
 
flash.events 

The flash.events package supports the new DOM event model and includes the EventDispatcher base class.



Interfaces
 InterfaceDescription
 IEventDispatcher The IEventDispatcher interface defines methods for adding or removing event listeners, checks whether specific types of event listeners are registered, and dispatches events.
Classes
 ClassDescription
 AccelerometerEvent The Accelerometer class dispatches AccelerometerEvent objects when acceleration updates are obtained from the Accelerometer sensor installed on the device.
 ActivityEvent A Camera or Microphone object dispatches an ActivityEvent object whenever a camera or microphone reports that it has become active or inactive.
 AsyncErrorEvent An object dispatches an AsyncErrorEvent when an exception is thrown from native asynchronous code, which could be from, for example, LocalConnection, NetConnection, SharedObject, or NetStream.
 BrowserInvokeEvent AIR-only The NativeApplication object of an AIR application dispatches a browserInvoke event when the application is invoked as the result of a SWF file in the browser using the browser invocation feature.
 ContextMenuEvent An InteractiveObject dispatches a ContextMenuEvent object when the user opens or interacts with the context menu.
 DataEvent An object dispatches a DataEvent object when raw data has completed loading.
 DatagramSocketDataEvent AIR-only A DatagramSocketDataEvent object is dispatched when Datagram socket has received data.
 DNSResolverEvent AIR-only The DNSResolverEvent class represents the results of a Domain Name System (DNS) lookup operation.
 DRMAuthenticateEvent AIR-only A NetStream object dispatchs a DRMAuthenticateEvent object when attempting to play digital rights management (DRM) encrypted content that requires a user credential for authentication.
 DRMAuthenticationCompleteEvent The DRMManager dispatches a DRMAuthenticationCompleteEvent object when a call to the authenticate() method of the DRMManager object succeeds.
 DRMAuthenticationErrorEvent The DRMManager dispatches a DRMAuthenticationErrorEvent object when a call to the authenticate() method of the DRMManager object fails.
 DRMErrorEvent The DRMErrorEvent class provides information about errors that occur when playing digital rights management (DRM) encrypted files.
 DRMStatusEvent A NetStream object dispatches a DRMStatusEvent object when the content protected using digital rights management (DRM) begins playing successfully (when the voucher is verified, and when the user is authenticated and authorized to view the content).
 ErrorEvent An object dispatches an ErrorEvent object when an error causes an asynchronous operation to fail.
 Event 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.
 EventDispatcher The EventDispatcher class is the base class for all runtime classes that dispatch events.
 EventPhase The EventPhase class provides values for the eventPhase property of the Event class.
 FileListEvent AIR-only A File object dispatches a FileListEvent object when a call to the getDirectoryListingAsync() method of a File object successfully enumerates a set of files and directories or when a user selects files after a call to the browseForOpenMultiple() method.
 FocusEvent An object dispatches a FocusEvent object when the user changes the focus from one object in the display list to another.
 FullScreenEvent The Stage object dispatches a FullScreenEvent object whenever the Stage enters or leaves full-screen display mode.
 GeolocationEvent AIR-only A Geolocation object dispatches GeolocationEvent objects when it receives updates from the location sensor installed on the device.
 GestureEvent The GestureEvent class lets you handle multi-touch events on devices that detect complex user contact with the device (such as pressing two fingers on a touch screen at the same time).
 GesturePhase The GesturePhase class is an enumeration class of constant values for use with the GestureEvent, PressAndTapGestureEvent, and TransformGestureEvent classes.
 HTMLUncaughtScriptExceptionEvent AIR-only An HTMLLoader object dispatches an HTMLUncaughtScriptExceptionEvent object whenever a JavaScript exception is thrown and not handled with a catch statement.
 HTTPStatusEvent The application dispatches HTTPStatusEvent objects when a network request returns an HTTP status code.
 IMEEvent An IMEEvent object is dispatched when the user enters text using an input method editor (IME).
 InvokeEvent AIR-only The NativeApplication object of an AIR application dispatches an invoke event when the application is invoked.
 IOErrorEvent An IOErrorEvent object is dispatched when an error causes input or output operations to fail.
 KeyboardEvent A KeyboardEvent object id dispatched in response to user input through a keyboard.
 MouseEvent A MouseEvent object is dispatched into the event flow whenever mouse events occur.
 NativeDragEvent AIR-only Native drag events are dispatched by the interactive objects involved in a drag-and-drop operation.
 NativeProcessExitEvent AIR-only This event is dispatched by the NativeProcess object when the process exits.
 NativeWindowBoundsEvent AIR-only A NativeWindow object dispatches a NativeWindowBoundsEvent object when the size or location of the window changes.
 NativeWindowDisplayStateEvent AIR-only A NativeWindow object dispatches events of the NativeWindowDisplayStateEvent class when the window display state changes.
 NetStatusEvent A NetConnection, NetStream, or SharedObject object dispatches NetStatusEvent objects when a it reports its status.
 OutputProgressEvent AIR-only A FileStream object dispatches OutputProgressEvent objects as pending asynchronous file write operations are performed.
 PressAndTapGestureEvent The PressAndTapGestureEvent class lets you handle press-and-tap gesture on touch-enabled devices.
 ProgressEvent A ProgressEvent object is dispatched when a load operation has begun or a socket has received data.
 SampleDataEvent Dispatched when a Sound object requests new audio data or when a Microphone object has new audio data to provide.
 ScreenMouseEvent AIR-only The SystemTrayIcon object dispatches events of type ScreenMouseEvent in response to mouse interaction.
 SecurityErrorEvent An object dispatches a SecurityErrorEvent object to report the occurrence of a security error.
 ServerSocketConnectEvent AIR-only A ServerSocket object dispatches a ServerSocketConnectEvent object when a client attempts to connect to the server socket.
 ShaderEvent A ShaderEvent is dispatched when a shader operation launched from a ShaderJob finishes.
 SQLErrorEvent AIR-only A SQLErrorEvent instance is dispatched by a SQLConnection instance or SQLStatement instance when an error occurs while performing a database operation in asynchronous execution mode.
 SQLEvent AIR-only Adobe AIR dispatches SQLEvent objects when one of the operations performed by a SQLConnection or SQLStatement instance completes successfully.
 SQLUpdateEvent AIR-only A SQLUpdateEvent object is dispatched by a SQLConnection object when a data change occurs on any table associated with the SQLConnection instance.
 StageOrientationEvent AIR-only A Stage object dispatches a StageOrientationEvent object when the orientation of the screen containing the stage changes.
 StatusEvent An object dispatches a StatusEvent object when a device, such as a camera or microphone, or an object such as a LocalConnection object reports its status.
 StorageVolumeChangeEvent AIR-only The StorageVolumeInfo.storageVolumeInfo object dispatches a StorageVolumeChangeEvent event object when a storage volume is mounted or unmounted.
 SyncEvent An SharedObject object representing a remote shared object dispatches a SyncEvent object when the remote shared object has been updated by the server.
 TextEvent 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.
 TimerEvent A Timer object dispatches a TimerEvent objects whenever the Timer object reaches the interval specified by the Timer.delay property.
 TouchEvent The TouchEvent class lets you handle events on devices that detect user contact with the device (such as a finger on a touch screen).
 TransformGestureEvent The TransformGestureEvent class lets you handle complex movement input events (such as moving fingers across a touch screen) that the device or operating system interprets as a gesture.
 UncaughtErrorEvent An UncaughtErrorEvent object is dispatched by an instance of the UncaughtErrorEvents class when an uncaught error occurs.
 UncaughtErrorEvents The UncaughtErrorEvents class provides a way to receive uncaught error events.