# Using the Tweener Class

**URL:** <https://forum.kirupa.com/t/using-the-tweener-class/302299>\
**Category:** flash\
**Created:** [December 26, 2009, 4:08am UTC](https://forum.kirupa.com/t/using-the-tweener-class/302299 "2009-12-26T04:08:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g1power](https://avatars.discourse-cdn.com/v4/letter/g/3ec8ea/32.png) [@g1power](https://forum.kirupa.com/u/g1power)\
**Post date:** [December 26, 2009, 4:08am UTC](https://forum.kirupa.com/t/using-the-tweener-class/302299/1 "2009-12-26T04:08:19Z")

</div>

Hello,

I’m trying to use the tweener class and i need a little help, I have a container movieclip and i would like it to shrink a little bit, rotate 180 degrees and then return to its origional size.

I have the first two parts working but i can’t work out how to get it back to its origional size again.

Can anyone help me?

```auto
 
Tweener.addTween(con, {scaleX:.5, scaleY:.5,time:2, transition:"easeOut"});
Tweener.addTween(con, {rotationY:con.rotationY-180, time:2, transition:"easeinOutCirc", delay:.5});
Tweener.addTween(con, {scaleX:1, scaleY:1, time:2, transition:"easeIn"});

```

Thanks

Gareth Edwards
