AS3 EventManager

In an effort to develop one single, centralized event handling system for all of my applications I have developed a new EventManager for ActionScript 3.0 based on the concepts of previous AS2 EventManagers such as the ones from Jeff Tapper as well as the Cairngorm EventManagement system.

The EventManager is a simple class that you can use to centralize listeners and broadcast events from anywhere in an application. It is an absolutely essential part of all of my ActionScript 3.0 Applications.
Click here to download the AS3 EventManager

{ 1 comment to read ... please submit second! }

  1. First off, thanks! I had used Jeff Tappers code for a long while and your new EventManager is a godsend. I use it frequently in many of my Flex3 applications.

    One thing I just recently ran across. I tried to use it in a popup window without luck. What I was doing was using the event mangager to pass data back to the main applicaton (I modified your code slightly to pass back a data object). The user would click a submit button in the popup which would then broadcast the event and data out to be picked up by the main application.

    Can you explain why this does not work? I confess I am nowhere near your level of skill or knowledge so I thought I’d ask and see if I can learn something.

    Thanks again!

{ 0 Pingbacks/Trackbacks }