[Flashcoders] AS3 events framework ...

2008-07-03 Thread [EMAIL PROTECTED]
Considering that all events commence with the capture phase (stage to target), is there anyway to have just one stage listener for all events (of any type) that kills off event propagation, then routes said event to perhaps an event manager or function that determines the event type and what

RE: [Flashcoders] AS3 events framework ...

2008-07-03 Thread Romuald Quantin
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 03 July 2008 08:24 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] AS3 events framework ... Considering that all events commence with the capture phase (stage to target

Re: [Flashcoders] AS3 events framework ...

2008-07-03 Thread Rich Shupe
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,