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

# easeback to x=0

## Recommended Posts

Hi burn4ever,

I'm not sure exactly what you're asking.

Are you saying that you tween an mc from an x of 0 to somewhere on the stage with a large easeParam like in Carl's tutorial, but then you want to tween it back to 0 using a different speed?

You can acheive this with 2 tweens:

```TweenMax.to(mc, 2, {x:400, ease:Back.easeOut, easeParams:[4] } );
TweenMax.to(mc, 4, {x:0, ease:Back.easeOut ,delay:2} );```

The first tween uses a large ease parameter and tweens in 2 seconds, the second tween goes at a slower pace, 4 seconds, and uses the default ease value.

Perhaps a bit more detail is required if not.

##### Share on other sites

Hello again burn4ever,

```TweenMax.to(mc, 1, {x:400, ease:Quad.easeOut} );

Let us know.

X10

##### Share on other sites

You can acheive this with 2 tweens:

```TweenMax.to(mc, 2, {x:400, ease:Back.easeOut, easeParams:[4] } );
TweenMax.to(mc, 4, {x:0, ease:Back.easeOut ,delay:2} );```

The first tween uses a large ease parameter and tweens in 2 seconds, the second tween goes at a slower pace, 4 seconds, and uses the default ease value.

.

Thanks X10,

thats what I´m looking for.

Easy, hee