| Method | Defined By | ||
|---|---|---|---|
| AutoListen | |||
addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void | AutoListen | ||
removeAllListeners():void | AutoListen | ||
removeListener(listener:IEventDispatcher, type:String = null):void | AutoListen | ||
| AutoListen | () | Constructor |
public function AutoListen()| addListener | () | method |
public function addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):voidParameters
listener:IEventDispatcher | |
type:String | |
handler:Function | |
useCapture:Boolean (default = false) | |
priority:int (default = 0) |
| removeAllListeners | () | method |
public function removeAllListeners():void| removeListener | () | method |
public function removeListener(listener:IEventDispatcher, type:String = null):voidParameters
listener:IEventDispatcher | |
type:String (default = null) |