[Golist] Hydro Sequencing

toby pv3d at eplay.de
Tue Jun 10 05:21:56 PDT 2008


Don't know much about Hydrotween, but apparently sequence calls 
parseSequence and then starts the sequence. As parseSequence expects an 
Array, you could create a temporary Array and then call parseSequence 
(or sequence, for that matter), passing the Array as an argument:

var tempArray:Array = new Array();
tempArray.push({target:tmpMC, scaleX:1, scaleY:1, alpha:1, 
easing:Quartic.easeIn});

...

seq1 = HydroTween.parseSequence(tempArray);

Don't know if there is a more elegant way of doing this.

HTH
Toby


Shane Colella wrote:
>
> Howdy Group,
>
> I was trying to build a sequence in HydroTween by pushing objects into 
> the sequence from a loop that loads different movieclips to no avail 
> this morning.
>
> I’m wondering if any of the gurus here could help.
>
> What would be the most efficient and best practice to build a sequence 
> on the fly? I had done this in the past with fuse but it doesn’t seem 
> to work the way I think it should,…
>
> Here is how I have last tried so far
>
> var sequence1:SequenceCA = HydroTween.sequence();
>
> (the following is inside the function that plays every time a new item 
> has been pushed onto arrThumbs)
>
> var tmpMC:MovieClip = _arrThumbs[i] as MovieClip;
>
> sequence1.push({target:tmpMC, scaleX:1, scaleY:1, alpha:1, 
> easing:Quartic.easeIn});
>
> then I call this function after all my thumbnails have loaded
>
> public function startThumbIntro():void {
>
> sequence1.start();
>
> }
>
> Any one that can shed some light on this process would be great,…
>
> Thanks
>
> Hope you cats are having fun at flashBelt….
>
> Shane Michael Colella
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> GoList mailing list
> GoList at goasap.org
> http://goasap.org/mailman/listinfo/golist_goasap.org
>   




More information about the GoList mailing list