This class works exactly to my requirements. I’m coding a Flash application that talks to a database via PHP. I have a custom Event class that fires when PHP returns a result from mySQL inside a class called Database. I was getting an endless loop, due to a complex series of events that all needed to be consecutively executed, but only after the database had returned a result for each SQL call. The problem was I couldn’t pin point where the rogue dispatcher was, but this class solved the problem by deleting all references to the previous listener on the Database class. A stable and functional class, works really well!
Hey Danny,
Just writing you a note to let you know I’ve been using your EventManager class in some of my programs. Great work! Really, really useful stuff- solved a ton of headaches.
Thanks Danny,
This class works exactly to my requirements. I’m coding a Flash application that talks to a database via PHP. I have a custom Event class that fires when PHP returns a result from mySQL inside a class called Database. I was getting an endless loop, due to a complex series of events that all needed to be consecutively executed, but only after the database had returned a result for each SQL call. The problem was I couldn’t pin point where the rogue dispatcher was, but this class solved the problem by deleting all references to the previous listener on the Database class. A stable and functional class, works really well!
so great!ths
Hey Danny,
Just writing you a note to let you know I’ve been using your EventManager class in some of my programs. Great work! Really, really useful stuff- solved a ton of headaches.
What’s the latest version of this?