Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
lazarsto

Tween Speed Not Constant

Recommended Posts

Greetings

I noticed when I tween some MovieClip, the speed is not constantly, on the end of tweening or timeline it’s slow down.

How to fix it?

 

TweenLite.to(mc, 1, { y:300});

Or

var myTween:TweenLite = new TweenLite(mc, 1, { y:300});

or if I use timelineLite

 

thanks

Link to comment
Share on other sites

The default ease for a Tween is an easeOut. But you can change to a constant speed by changing the ease property:

 

TweenLite.to(mc, 1, {y:300, ease:Linear.easeNone});

 

Hope that helps

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