Hello,
 
You can use Grant Skinner GDispatcher instead of EventDispatcher. I personaly use the version modyfied by Alex Ulhmann ( http://www.alex-uhlmann.de/flash/animationpackage ) for same dispatching behaviour like mx.events.EventDispatcher ).
I also recomend to use Francis Bourre pixLib Delegate instead of standart macromedia Delegate ( See project site : http://osflash.org/pixlib and Delegate docs at: http://www.get-url.net/pixlib/ )
 
Using pixLib Delegate allows to do sth like this:
 
var del:Delegate = new Delegate(controller, controller.correctButton_OnRelease);

correctButton.addEventListener("onRelease", del );

 

...

//and then

 

correctButton.removeEventListener( "onRelease", del );

 

//or

 

correctButton.removeAllEventListeners("onRelease");

 

I hope it is that what You are looking for :)

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to