[Golist] Hydrotik SeqeunceCA trigger/advance

Wilbur unpaidintern at wilbcorp.com
Thu Jul 31 12:31:58 PDT 2008


yeah, i've been using this to visualize an ArrayTrigger class...  it's  
nice because it's seems to kill the sequence in a seemingly random  
time so i can keep executing start and the sequences never actually  
complete...  i like it and was curious why it seems random...  i'd  
have to check to see what revision i was using...  i haven't updated  
for a few weeks.

her are a few links...
click the stage to begin (or restart) the ArrayTrigger.

here it is without forcing an advance towards the non-existent  
step...  boring
http://wilbCorp/goasap/tests/arrayTrigger/secondGo_normal.html

and here it is with the force advance error...
http://wilbCorp/goasap/tests/arrayTrigger/secondGo_forceAdvance.html

and here it is with the force advance error and cooler shapes...
http://wilbCorp/goasap/tests/arrayTrigger/secondGo_cooler.html

the idea behind the ArrayTrigger is that if every key on a piano was a  
tween or a tween sequence (in this case it's the sequence written on  
the stage applied to each element on the stage), then the ArrayTrigger  
is a finger that can slide up and down the keys governed by whatever  
easing you choose.

- Wilbur



On Jul 31, 2008, at 2:03 PM, Donovan Adams wrote:

> Moses might need to chime in on this, but you have an advance on the  
> last item in your sequence. In addition to that it, has a shorter  
> duration then the advance duration. I would assume the error is  
> happening because it does not have an item to advance to and/or the  
> advance duration is less then the item duration.
>
> Try:
>
> sq1 = new HydroSequence(
> {target:sq_mc, x:1000, duration:1, easing:Elastic.easeOut},
> {target:sq_mc, advance:new OnDurationComplete(0.5), y:0, duration:1},
> {target:sq_mc, rotation:180, duration:0.4}
> );
>
> sq1.start();
>
>
> <hr />
>
> Hello all, I'm not only a beginning Go and Hydro user but also just
> getting into AS3. I'm having a small problem with trying to get Hydro
> to do an advance "trigger" or skip ahead. When I do a simple sequence
> like this:
>
> import org.goasap.*;
> import com.hydrotik.go.*;
> import flash.display.*;
> import fl.motion.easing.*;
>
> sq1 = new HydroSequence(
> {target:sq_mc, x:1000, duration:1, easing:Elastic.easeOut},
> {target:sq_mc, advance:new OnDurationComplete(0.5), y:0, duration:0.4}
> );
>
> sq1.start();
>
>
> I get the error:
> 1180: Call to a possibly undefined method OnDurationComplete.
>
> I'm assuming that I haven't imported something properly? Thanks for
> bearing with my as3 growing pains.
>
> Patrick
>
>
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080731/5862d4a8/attachment.html 


More information about the GoList mailing list