http://code.google.com/p/flexcairngorm/ from the home page there is "Implementation of EventGenerator to allow developers to automate dispatching of sequences of events."
I have not actually used this. It might be covered in Thomas' Flex Show which you can find a link to here http://www.cubicleman.com/2008/04/09/universal-minds-cairngorm-extensions/ DK On Fri, Apr 11, 2008 at 3:28 PM, João Fernandes < [EMAIL PROTECTED]> wrote: > Jon, > > regarding chain events, I use modular which allows this ( in fact thanks > to Bjorn Schultheiss ). All you have to do is to have your events extend > ChainEvent (which extends cairngormEvent ) and your commands extend > SequenceCommand. > > Then you can combine any of those events in any order or you can use them > *standalone.* > > something like this > > ev1: firstChainedEvent = new FirstChainedEvent(); > ev2: secondChainedEvent= new SecondChainedEvent(); > ev3: someOtherEvent = new SomeOtherEvent(); > > ev : ChainEvent = EventChainFactory.chainEvents( [ ev1 , ev2 , ev3 ] ); > ev.dispatch(); > > all that your commands should do is to store in the command nextEvent > property the value of chainEvent(e).nextChainedEvent and call > executeNextCommand() on result and fault handlers. > > Of course this approach could be enhanced and add specific events based on > a result or fault. > > -- > > João Fernandes > http://www.onflexwithcf.orghttp://www.riapt.org > Portugal Adobe User Group (http://aug.riapt.org) > > > -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it?