GODPAPER | All Packages | All Classes | Index | Frames No Frames |
MochiEventDispatcher

Package | mochi.as3
Class | public class MochiEventDispatcher
Inheritance | MochiEventDispatcher Object

Public Methods

| Method | Defined By
--- | --- | ---
|  | MochiEventDispatcher() | MochiEventDispatcher
|  | addEventListener(event:String, delegate:Function):void | MochiEventDispatcher
|  | removeEventListener(event:String, delegate:Function):void | MochiEventDispatcher
|  | triggerEvent(event:String, args:Object):void | MochiEventDispatcher

Constructor Detail

MochiEventDispatcher | () | Constructor

`public function MochiEventDispatcher()`

Method Detail

addEventListener | () | method

`public function addEventListener(event:String, delegate:Function):void`

Parameters

| `event:String`
| `delegate:Function`

removeEventListener | () | method |

`public function removeEventListener(event:String, delegate:Function):void`

Parameters

| `event:String`
| `delegate:Function`

triggerEvent | () | method |

`public function triggerEvent(event:String, args:Object):void`

Parameters

| `event:String`
| `args:Object`

Thu Jan 16 2014, 01:11 PM +08:00