flash.events.EventDispatcher

type
class
implements
IEventDispatcher
subclasses
flash.automation.StageCapture, flash.display.DisplayObject, flash.display.FrameLabel, flash.display.LoaderInfo, flash.display.NativeMenu, flash.display.NativeMenuItem, flash.display.ShaderJob, flash.display.Stage3D, flash.display.Worker, flash.display3D.Context3D, flash.display3D.textures.TextureBase, flash.events.UncaughtErrorEvents, flash.media.Camera, flash.media.Microphone, flash.media.Sound, flash.media.SoundChannel, flash.media.StageVideo, flash.net.FileReference, flash.net.FileReferenceList, flash.net.LocalConnection, flash.net.NetConnection, flash.net.NetGroup, flash.net.NetMonitor, flash.net.NetStream, flash.net.NetStreamPlayOptions, flash.net.SharedObject, flash.net.Socket, flash.net.URLLoader, flash.net.URLStream, flash.net.XMLSocket, flash.net.drm.DRMManager, flash.net.drm.DRMManagerSession, flash.net.drm.DRMURLDownloadContext, flash.printing.PrintJob, flash.sensors.Accelerometer, flash.sensors.Geolocation, flash.system.ApplicationInstaller, flash.system.AuthorizedFeaturesLoader, flash.system.IME, flash.system.SystemUpdater, flash.text.StyleSheet, flash.ui.GameInput, flash.ui.GameInputControl, flash.ui.GameInputDevice, flash.utils.Telemetry, flash.utils.Timer
available in
flash

Constructor

new(?target : IEventDispatcher)

Instance Methods

addEventListener(type : String, listener : Dynamic -> Void, ?useCapture : Bool, ?priority : Int, ?useWeakReference : Bool) : Void

dispatchEvent(event : Event) : Bool

hasEventListener(type : String) : Bool

removeEventListener(type : String, listener : Dynamic -> Void, ?useCapture : Bool) : Void

toString() : String

willTrigger(type : String) : Bool