You can probably create your own class that will automatically add every
event and route them accordingly, but it might end up being more work than
it's worth, or less efficient than you'd like.
There's no all-event approach to stopping propagation because only a single
event is stopped. That is,
If I understood well your need, you might want to have a look to
model-view-controller framework, to Cairngorm or pureMVC.
It will centralize your events and actions (commands) through only one
interface, making things easier to debug and develop.
Hope it helps.
Romu
www.soundstep.com
-Or
2 matches
Mail list logo