EventDispatcher
package flash.events
implements IEventDispatcher
extended by StageCapture, DisplayObject, FrameLabel, LoaderInfo, NativeMenu, NativeMenuItem, ShaderJob, Stage3D, Worker, TextureBase, Context3D, UncaughtErrorEvents, AVSource, AVStream, AudioDeviceManager, Camera, Microphone, Sound, SoundChannel, StageVideo, DRMManager, DRMManagerSession, DRMURLDownloadContext, FileReference, FileReferenceList, LocalConnection, NetConnection, NetGroup, NetMonitor, NetStream, NetStreamPlayOptions, SharedObject, Socket, URLLoader, URLStream, XMLSocket, PrintJob, Accelerometer, Geolocation, ApplicationInstaller, AuthorizedFeaturesLoader, IME, MessageChannel, SystemUpdater, Worker, StyleSheet, GameInput, GameInputControl, Telemetry, Timer
Available on flash
Constructor
new(?target:IEventDispatcher)
Methods
addEventListener(type:String, listener:Dynamic ‑> Void, useCapture:Bool = false, priority:Int = 0, useWeakReference:Bool = false):Void
dispatchEvent(event:Event):Bool
hasEventListener(type:String):Bool
removeEventListener(type:String, listener:Dynamic ‑> Void, useCapture:Bool = false):Void
toString():String
willTrigger(type:String):Bool
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/events/EventDispatcher.html