The flash.events package supports the new DOM event model and includes the EventDispatcher base class.
Interfaces
Interface | Description | |
---|---|---|
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
Class | Description | |
---|---|---|
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. | |
AudioOutputChangeEvent | This event fires when user selects a different audio output device from Flash Player's settings UI, or an audio device gets added to / removed from the system. | |
AVDictionaryDataEvent | AVStream dispatch AVDictionaryDataEvent to signal ID3 tag information | |
AVHTTPStatusEvent | The application dispatches AVHTTPStatusEvent objects when a network request returns an HTTP status code. | |
AVPauseAtPeriodEndEvent | AVStream dispatches AVPauseAtPeriodEndEvent when the period end is reached for the period to which this event is requested. | |
BrowserInvokeEvent | 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 | A DatagramSocketDataEvent object is dispatched when Datagram socket has received data. | |
DeviceRotationEvent | The DeviceRotation class dispatches DeviceRotationEvent and returns roll, yaw, pitch and quaternion data when DeviceRotation updates are obtained from the combined readings from Accelerometer and Gyroscope sensors' readings installed on the device. | |
DNSResolverEvent | The DNSResolverEvent class represents the results of a Domain Name System (DNS) lookup operation. | |
DRMAuthenticateEvent | 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. | |
DRMDeviceGroupErrorEvent | Issued by the DRMManager when any error occurs during any device group related calls. It is the application's responsibility to explicitly handle the error events.These events include cases where the user inputs valid credentials, but the voucher protecting the encrypted content restricts the access to the content. | |
DRMDeviceGroupEvent | Issued by the DRMManager when a device group related call successfully completes. | |
DRMErrorEvent | The DRMErrorEvent class provides information about errors that occur when playing digital rights management (DRM) encrypted files. | |
DRMLicenseRequestEvent | The DRMManager dispatches a DRMLicenseRequestEvent object before each call to the loadVoucher() or loadPreviewVoucher() methods of the DRMManager object succeeds. | |
DRMMetadataEvent | AVSegmentedSource dispatches DRMMetadataEvent when it loads and parses files. | |
DRMReturnVoucherCompleteEvent | The DRMManager dispatches a DRMVoucherReturnCompleteEvent object when a call to the returnVoucher() method of the DRMManager object succeeds. | |
DRMReturnVoucherErrorEvent | The DRMManager dispatches a DRMReturnVoucherErrorEvent object when a call to the returnVoucher() method of the DRMManager object fails. | |
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 | 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. | |
GameInputEvent | The GameInputEvent class represents an event that is dispatched when a game input device has either been added or removed from the application platform. | |
GeolocationEvent | 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 | 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 | 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. | |
LocationChangeEvent | An HTMLLoader or StageWebView object dispatches a LocationChangeEvent object when a new page loads. | |
MediaEvent | CameraRoll and CameraUI classes dispatch MediaEvent objects when a media stream is available. | |
MouseEvent | A MouseEvent object is dispatched into the event flow whenever mouse events occur. | |
NativeDragEvent | Native drag events are dispatched by the interactive objects involved in a drag-and-drop operation. | |
NativeProcessExitEvent | This event is dispatched by the NativeProcess object when the process exits. | |
NativeWindowBoundsEvent | A NativeWindow object dispatches a NativeWindowBoundsEvent object when the size or location of the window changes. | |
NativeWindowDisplayStateEvent | A NativeWindow object dispatches events of the NativeWindowDisplayStateEvent class when the window display state changes. | |
NetDataEvent | A NetStream object dispatches a NetDataEvent object when a data message is encountered in the media stream. | |
NetMonitorEvent | A NetMonitor object dispatches NetMonitorEvent objects when a NetStream object is created. | |
NetStatusEvent | A NetConnection, NetStream, or SharedObject object dispatches NetStatusEvent objects when a it reports its status. | |
OutputProgressEvent | A FileStream object dispatches OutputProgressEvent objects as pending asynchronous file write operations are performed. | |
PermissionEvent | ||
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. | |
RemoteNotificationEvent | Contains events that are dispatched by flash.notifications.RemoteNotifier in response to push notification events from APNs. | |
SampleDataEvent | Dispatched when a Sound object requests new audio data or when a Microphone object has new audio data to provide. | |
ScreenMouseEvent | 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 | 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. | |
SoftKeyboardEvent | A SoftKeyboardEvent object is dispatched when a software-driven keyboard is activated or de-activated on a device or operating system. | |
SoftKeyboardTrigger | The SoftKeyboardTrigger class provides enumerator values for the triggerType property of the SoftKeyboardEvent class. | |
SQLErrorEvent | 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 | Adobe AIR dispatches SQLEvent objects when one of the operations performed by a SQLConnection or SQLStatement instance completes successfully. | |
SQLUpdateEvent | A SQLUpdateEvent object is dispatched by a SQLConnection object when a data change occurs on any table associated with the SQLConnection instance. | |
StageOrientationEvent | A Stage object dispatches a StageOrientationEvent object when the orientation of the stage changes. | |
StageVideoAvailabilityEvent | This event fires when the state of the Stage.stageVideos property changes. | |
StageVideoEvent | A StageVideo object dispatches a StageVideoEvent object after the attachNetStream() method of the StageVideo object and the play() method of the attached NetStream object have both been called. | |
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 | 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. | |
ThrottleEvent | A ThrottleEvent is dispatched when the Flash Player throttles, pauses, or resumes content. | |
ThrottleType | The ThrottleType class provides values for the playback state property of the flash.event.ThrottleEvent class. | |
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). | |
TouchEventIntent | The TouchEventIntent class defines constants for the touchIntent property of the TouchEvent class. | |
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. | |
VideoEvent | This event class reports the current video rendering status. | |
VideoTextureEvent | Almost exactly StageVideoEvent. | |
VsyncStateChangeAvailabilityEvent | The Stage class dispatches VsyncStateChangeAvailabilityEvent when the availablity of Stage for changing vsync state changes. |
Thu Dec 6 2018, 01:47 PM -08:00