# Tweening with different Eases

**URL:** <https://forum.kirupa.com/t/tweening-with-different-eases/263354>\
**Category:** flash\
**Created:** [June 14, 2008, 11:50pm UTC](https://forum.kirupa.com/t/tweening-with-different-eases/263354 "2008-06-14T23:50:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mad\_man](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mad\_man](https://forum.kirupa.com/u/mad_man)\
**Post date:** [June 14, 2008, 11:50pm UTC](https://forum.kirupa.com/t/tweening-with-different-eases/263354/1 "2008-06-14T23:50:12Z")

</div>

is there a way to use the Tween class and pass in a different easeIn and easeOut?

instead of just having Strong.easeInOut, I would like to have Strong.easeIn and Regular.easeOut

so instead of:

```auto

var xTween:Tween = new Tween(this,"x",Strong.easeInOut,x,endx,dur,true);

```

i would like a Strong.easeIn and Regular.easeOut for the easing, so that my object would have a high acceleration, but a slow deaccelaration.

thanks  
-mad\_man

---

<div class="post-metadata">

**Author:** ![sekasi](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sekasi](https://forum.kirupa.com/u/sekasi)\
**Post date:** [June 14, 2008, 11:59pm UTC](https://forum.kirupa.com/t/tweening-with-different-eases/263354/2 "2008-06-14T23:59:14Z")

</div>

Here are two recommendations for you sport!

[http://code.google.com/p/tweener/](http://code.google.com/p/tweener/)  
[http://blog.greensock.com/tweenmaxas3/](http://blog.greensock.com/tweenmaxas3/)

---

<div class="post-metadata">

**Author:** ![mad\_man](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mad\_man](https://forum.kirupa.com/u/mad_man)\
**Post date:** [June 15, 2008, 12:15am UTC](https://forum.kirupa.com/t/tweening-with-different-eases/263354/3 "2008-06-15T00:15:56Z")

</div>

thanks sport 🙂

---

<div class="post-metadata">

**Author:** ![Fidodo](https://avatars.discourse-cdn.com/v4/letter/f/779978/32.png) [@Fidodo](https://forum.kirupa.com/u/Fidodo)\
**Post date:** [June 15, 2008, 1:58am UTC](https://forum.kirupa.com/t/tweening-with-different-eases/263354/4 "2008-06-15T01:58:06Z")

</div>

Just an extra word of advice, don’t use the flash library tween class. I tried using it once but it regularly failed, and either didn’t complete, or didn’t execute at all. I wound up making my own simple version of it, but it looks like there are lots of free ones available.
