IEventDispatcher.hx 469 B

123456789
  1. package flash.events;
  2. extern interface IEventDispatcher {
  3. function addEventListener(type : String, listener : Dynamic -> Void, useCapture : Bool = false, priority : Int = 0, useWeakReference : Bool = false) : Void;
  4. function dispatchEvent(event : Event) : Bool;
  5. function hasEventListener(type : String) : Bool;
  6. function removeEventListener(type : String, listener : Dynamic -> Void, useCapture : Bool = false) : Void;
  7. function willTrigger(type : String) : Bool;
  8. }