Adobe® Flex® 4 Language Reference
Hide 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
 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.
 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 AIR-only The DRMManager dispatches a DRMAuthenticationCompleteEvent object when a call to the authenticate() method of the DRMManager object succeeds.
 DRMAuthenticationErrorEvent AIR-only The DRMManager dispatches a DRMAuthenticationErrorEvent object when a call to the authenticate() method of the DRMManager object fails.
 DRMErrorEvent AIR-only AIR dispatches a DRMErrorEvent object when a NetStream object, trying to play a digital rights management (DRM) encrypted file, encounters a DRM-related error.
 DRMStatusEvent AIR-only 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 a network 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.
 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 a send or load operation 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.
 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.
 ProgressEvent A ProgressEvent object is dispatched when a load operation has begun or a socket has received data.
 SampleDataEvent Dispatched when the player requests new audio data.
 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.
 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.
 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.
 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.