# Tweener.addTween

**URL:** <https://forum.kirupa.com/t/tweener-addtween/331857>\
**Category:** flash\
**Created:** [November 8, 2013, 8:26pm UTC](https://forum.kirupa.com/t/tweener-addtween/331857 "2013-11-08T20:26:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafal700](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rafal700](https://forum.kirupa.com/u/rafal700)\
**Post date:** [November 8, 2013, 8:26pm UTC](https://forum.kirupa.com/t/tweener-addtween/331857/1 "2013-11-08T20:26:15Z")

</div>

Welcome

I have a problem with Tweener.addTween

Stock rotates from right to left. I want to rotate from left to right

How to do it?

Sorry for my english

rotateIt function (e: MouseEvent): void {

```
photo.rotationX = square_mc.rotationY = square_mc.rotationZ = 0;
Tweener.addTween (photo, {"rotationY": 180, time: 1, onComplete: Next});
```
