In case of a command launching an effect in a component, when the effect
starts, it means the command has executed, thus invocating the next command.
What if i want to wait for effectEnd before invoking next command...
I'll keep you posted.
-JL, investigating.
----- Original Message -----
From: "Tim Hoff" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 01, 2006 11:18 AM
Subject: [flexcoders] Re: Dispatching multiple events in order with
cairngorm
> Hi Jean-Luc,
>
> It looks like you might need to use the Cairngorm SequenceCommand
> class. I haven't used this yet but if you look at the source for
> the SequenceCommand class, it describes a possible solution for
> you. If you use this and get it to work, please post your findings
> here.
>
> Good Luck,
> Tim
>
>
> --- In [email protected], "JL E." <[EMAIL PROTECTED]> wrote:
>>
>> Hi there !
>>
>> I have a search pane. I open it (sliding to the right).
>> Now, i want to go somewhere else in the application.
>> In order to do that, when clicking on let's say 'contact', i
> dispatch an event which is gonna show page contact.
>> The thing is that when clicking 'contact', before executing the
> command which is gonna build contact page, i want to check if the
> search pane is open, and if so, i want to dispatch event
> closeSearchPane, wait until it is fully closed, and only then
> execute my command showContactPage.
>> I guess coding this logic in my command showContactPage won't
> scale as i may need this logic to work everywhere in the app,
> whichever event i am gonna dispatch.
>> How would you do it ? What am i missing here ?
>>
>> Best,
>> Jean-Luc
>>
>> PS: Thanx Alex for previous answers regarding getters setters !
> Worked fine !
>>
>
>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

