Jump to content
Search Community

New tween that does not delete the previous one

gigbig test
Moderator Tag

Recommended Posts

Hi,

I need to animate an object, setting just a few parameters everytime I create a new tween, keeping the previous parameters if they are not overwritten, like in the standard AS3 tween class.

 

As an example: I have a spinning ball, animated by

 

TweenLite.to (ball, 10, {rotation: 2000});

 

and after a few seconds from its creation I want the ball to start moving on x

 

TweenLite.to (ball, 5, {x: 300});

 

Normally the second tween kills the first one. How can I asynchronously "sum" the two tweens?

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...