[Golist] Hydro Info + FlashBelt
donovan at hydrotik.com
donovan at hydrotik.com
Tue Jun 10 08:52:36 PDT 2008
Been having a blast here at Flashbelt. Great response from everyone and it¹s
been excellent seeing old faces and meeting new ones. Once again thanks to
Moses for letting me be a part of his presentation. Even before the
presentation, creating documentation has been on the top of my list of
things to do. I plan on doing this right away when I get back. First off
here are the files including the source from my part of the presentation.
The presentation itself has been included as well.
http://blog.hydrotik.com/2008/06/08/flashbelt-2008-animation-to-go-hydrotwee
n-papervision3d/
In the meantime here is some useful info for using the sequencing part of
HydroTween.
var segOver : SequenceCA = HydroTween.parseSequence( [
{target:bg, width:300, brightness:-.5, duration:ANIMATION_TIME,
easing:EASING}, {target:arrow, alpha:1, x:40,
duration:ANIMATION_TIME, easing:EASING}, {target:tf,
x:50, alpha:1, duration:ANIMATION_TIME, easing:EASING},
{target:item, alpha:1, scaleX:1.2, scaleY:1.2, y:_posArray[i],
duration:ANIMATION_TIME, easing:EASING}
] );
seqOver.start();
To build a sequence then automatically start it you can use the shortcut:
HydroTween.sequence();
If you wish to stop the sequence you just call:
seqOver.stop();
Insert an item in the sequence at a specified index:
seqOver.addStepAt({}, 0);
Insert an item at the end of a sequence:
seqOver.addStep({});
Pause a sqeuence:
seqOver.pause();
Resume a sequence:
seqOver.resume();
Skip to a specific item in a sequence:
seqOver.skipTo(2);
Remove a specific item in a sequence:
seqOver.removeStepAt(1);
I will move these over to the FlashBelt post in sometime today just so it¹s
in a specific spot.
On 6/10/08 8:01 AM, "Shane Colella" <scolella at qorvis.com> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://goasap.org/pipermail/golist_goasap.org/attachments/20080610/23c6343b/attachment-0001.html
More information about the GoList
mailing list