EventDispatcher.hx 573 B

1234567891011
  1. package flash.events;
  2. extern class EventDispatcher implements IEventDispatcher {
  3. function new(?target : IEventDispatcher) : Void;
  4. function addEventListener(type : String, listener : Dynamic -> Void, useCapture : Bool = false, priority : Int = 0, useWeakReference : Bool = false) : Void;
  5. function dispatchEvent(event : Event) : Bool;
  6. function hasEventListener(type : String) : Bool;
  7. function removeEventListener(type : String, listener : Dynamic -> Void, useCapture : Bool = false) : Void;
  8. function toString() : String;
  9. function willTrigger(type : String) : Bool;
  10. }