[Tweener] pausing tweens...
Zeh Fernando
zehfernando at zeh.com.br
Thu May 8 18:58:36 PDT 2008
pauseAllTweens/removeAllTweens would work, but they're mainly debug
functions - they would act on ALL existing tweens regardless of scope.
If you want to pause something specific, it's a better idea to know in
advance what you want to pause, and do
Tweener.pauseTweens(mymc1);
Tweener.pauseTweens(mymc2);
And stuff like that. Same for resumeTweens.
And thanks!
Zeh
Mike Lohrman wrote:
> Lets say I created a minute long animation using tweener to create all
> tweens throughout the animation. Now I need to add a pause button
> because I want to be able to pause the movie completely, then play where
> it was left off when the button is hit again. I've looked in the
> documentation and saw the pauseAllTweens and resumeAllTweens methods,
> would these work for something like this? If so, is it as simple as
> having the button run pauseAllTweens and then run resumeAllTweens when
> needed? Thanks!
>
> And Tweener rocks, and I can't believe how helpful Zeh is...always
> helping everyone, thanks!
>
> ------------------------------------------------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> it now.
> <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tweener mailing list
> Tweener at lists.caurinauebi.com
> http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com
More information about the Tweener
mailing list