Jump to content
Search Community

Two seperate easing methods at once?

Jorenm test
Moderator Tag

Recommended Posts

Is it possible to do this?

 

For example:

 

TweenLite.to(square, 2, {z: 1000, ease: Back.easeIn, overwrite: false});

TweenLite.to(square, 2, {x: 400, ease: Sine.easeOut, overwrite: false});

 

If it's not possible, do you have any work arounds to suggest?

Link to comment
Share on other sites

Of course. Why, are you running into trouble?

 

If you turn on OverwriteManager in AUTO mode, you don't even have to add overwrite:false.

 

OverwriteManager.init(2);
TweenLite.to(square, 2, {z:1000, ease:Back.easeIn}); 
TweenLite.to(square, 2, {x:400, ease:Sine.easeOut});

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...