Thanks Tim, that's very cool.

Quick question though... it looks like all it's doing is broadcasting an 
event... is there any difference between...

1.  Defining the nextEvent and calling executeNextCommand to broadcast it...
and
2.  Creating a new CairngormEvent and dispatching it from the 
CairngormEventDispatcher
???

Seems like it's the same thing.  Is there some advantage to using 
SequenceCommand?  Will the CairngormEventDispatcher not be "heard" from 
within a Command?  It seems like a redundant class, or maybe just a utility 
class that does't really save you any lines of code, since you can create 
another CairngormEvent and dispatch from CairngormEventDispatcher in two 
lines of code just as easily...??

Thanks again for your help!
Darren




>From: "Tim Hoff" <[EMAIL PROTECTED]>
>Reply-To: flexcoders@yahoogroups.com
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] Re: Cairngorm2 SequenceCommand
>Date: Sat, 19 Aug 2006 05:24:02 -0000
>
>
>Hi Darren,
>
>I just added a simple example to learn it myself.  See
>code.commands.ResizeViewStatesCommand.
>
>View Sample
><http://www.cflex.net/showFileDetails.cfm?ObjectID=422&Object=File&Chann\
>elID=1>
>
>-TH
>
>--- In flexcoders@yahoogroups.com, "Darren Houle" <[EMAIL PROTECTED]> wrote:
> >
> > Does anyone know where I can find a working example of a
>SequenceCommand in
> > a Cairngorm 2 app? Something I can import into Builder that will run?
> >
> > Thanks
> > Darren
> >
>
>




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to