[Golist] addAsynchronousAction??

Justin Lawerance Mills JLM at justinfront.net
Fri Mar 6 02:35:13 PST 2009


Moses and Go users

I have created a sequence using asaplibrary code...

             _que.reset();
             _que = new ActionQueue();
             _que.addAsynchronousAction (    new AQProperty().change 
( _barView, "x", SPED/2, NaN, _barView.max, Regular.easeInOut        ));
             _que.addAction (                new AQProperty().change 
( _slideView, "y", SPED, NaN, _slideView.min, Regular.easeInOut      ));
             _que.addAction 
(                 _bulletView.bulletsReset                               
                                       );
             _que.addAction 
(                 updateScreenText                                       
                                       );
             _que.addAction (                new AQProperty().change 
( _slideView, "y", SPED, NaN, _slideView.max, Regular.easeInOut      ));
             _que.addAsynchronousAction (    new AQProperty().change 
( _barView , "x", SPED/2, NaN, _barView.mid, Regular.easeInOut       ));
             _que.addAction 
(                 _bulletView.bulletsForward                             
                                       );
             _que.run();

Is this code portable to go, I can only find addAction == addStep in  
Sequence not addAsynchronousAction.  I am inclined to stick with  
asaplibrary for this project purely because its all working, is go  
much better?

Cheers

;j


On 27 Feb 2009, at 16:55, Moses Gunesch wrote:

> Absolutely. That should totally be possible. I don't have time for  
> a full reply right now but would say, start by adding completion  
> event listeners. You can add sequences as items in other sequences  
> too. Finally, you might look into the custom advance options, I  
> think there's options in there for automating sequence advance in  
> different ways.
>
> - m
>
>
>
> On Feb 27, 2009, at 9:24 AM, Justin Lawerance Mills wrote:
>
>> sorry missed finishing the subject line oops!
>>
>>
>> On 27 Feb 2009, at 14:22, Justin Lawerance Mills wrote:
>>
>>> I have been using some classes libraryasap... I guessing they are  
>>> an earlier ver.
>>>
>>> Anyway with these or go I wanted to be able to addStep or  
>>> addAction that calls a function on an instance and then waits for  
>>> that instance to do its own sequence/queue before continuing with  
>>> the next addStep/addAction that originally called the function?
>>>
>>> Is sort of thing supported??
>>>
>>>
>>> Cheers
>>>
>>>
>>> Justin
>>>
>>> _______________________________________________
>>> GoList mailing list
>>> GoList at goasap.org
>>> http://goasap.org/mailman/listinfo/golist_goasap.org
>>
>>
>> _______________________________________________
>> GoList mailing list
>> GoList at goasap.org
>> http://goasap.org/mailman/listinfo/golist_goasap.org
>
>
> _______________________________________________
> GoList mailing list
> GoList at goasap.org
> http://goasap.org/mailman/listinfo/golist_goasap.org




More information about the GoList mailing list