colinlin1982 / maashaack

Automatically exported from code.google.com/p/maashaack
0 stars 0 forks source link

system.events.IEventDispatcher #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Must create this interface and must inherit the flash.events.IEventListener 
interface

Original issue reported on code.google.com by ekamel...@gmail.com on 19 Dec 2008 at 9:21

GoogleCodeExporter commented 9 years ago

Original comment by ekamel...@gmail.com on 19 Dec 2008 at 9:23

GoogleCodeExporter commented 9 years ago
add the two methods :

/**
 * Registers an <code class="prettyprint">EventListener</code> object with an 
EventDispatcher object so that the listener receives notification of an event.
 */
function registerEventListener( type:String , listener:* , useCapture:Boolean = 
false 
, priority:int = 0 , useWeakReference:Boolean = false ):void

/**
 * Removes an <code class="prettyprint">EventListener</code> from the EventDispatcher 
object.
 */
function unregisterEventListener( type:String , listener:* , useCapture:Boolean 
= 
false ):void ; 

Original comment by ekamel...@gmail.com on 19 Dec 2008 at 9:34