Jump to content
GreenSock

olleka

Newbee question. Disable easing [SOLVED]

Recommended Posts

Hi.

I'm just new to TweenLite.

 

This is what I have so far.

stop();

import gs.*;

import gs.easing.*;

 

function doMyTween():Void {

burkar._x = -912;

TweenLite.to(burkar, 52, {_x:0, ease:Sine.easeInOut, onComplete:doMyTween});

}

doMyTween();

 

But how do I disable the easing totally?

 

If I leave out the ease:Sine.easeInOut I get a default easing

I have alsso tryed ease:ease:NONE

 

Regards

Olle

Link to comment
Share on other sites

Use Linear.easeNone.

 

TweenLite.to(mc, 1, {x:100, ease:Linear.easeNone});

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