Skip to main content
September 11, 2009
Question

Parallel Commands

  • September 11, 2009
  • 1 reply
  • 713 views

I am trying to execute a set of commands.  One doesn't depend on the completion of another so they don't fit the SequenceCommand idea.  Basically I create two events inside a function and dispatch them one after another.  I only see one event fire.  If I comment out the first one then the second one fires so I know my controller is setup fine, but I can never get them both to fire.

Any ideas?

-Ryan

                   var samples:SaveDefaultSamplesJobEvent = new SaveDefaultSamplesJobEvent()

                   samples.dispatch();
                  
                   var config:SaveDefaultConfigJobEvent = new SaveDefaultConfigJobEvent();

                   config.dispatch();

This topic has been closed for replies.

1 reply

Participating Frequently
November 10, 2009

Check this out:

http://forums.adobe.com/thread/508770?tstart=0