Robert Penner has develop new approach for AS3 events, inspired by C# events and signals/slots in Qt. This project call Signals. This can be an alternative solutions to manage your Events.
Here are the Concept and Philosophy sections for a start:
The Concept
- A Signal is essentially a mini-dispatcher specific to one event, with its own array of listeners.
- A Signal gives an event a concrete membership in a class.
- Listeners subscribe to real objects, not to string-based channels.
- Event string constants are no longer needed.
Philosophy
- Composition and interfaces are favored over inheritance.
- Events in interfaces are a good thing.
- Event types are classes, not strings.
- Event classes should focus on the data they contain, not on who sends them.
- Event classes should not contain string constants that various other classes use.
- Test-Driven Development (TDD) is essential and fun.
- So far, not a single static keyword in the source.
- No singletons.
Further more details you can visit at Google Code project: http://code.google.com/p/as3-signals/
Technorati Tags: actionscript as3 event eventManager signals library code google.code


