# "Previous" button to play Tweener in reverse?

**URL:** <https://forum.kirupa.com/t/previous-button-to-play-tweener-in-reverse/305799>\
**Category:** flash\
**Created:** [March 3, 2010, 5:29pm UTC](https://forum.kirupa.com/t/previous-button-to-play-tweener-in-reverse/305799 "2010-03-03T17:29:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![split67](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/split67/32/2089_2.png) [@split67](https://forum.kirupa.com/u/split67)\
**Post date:** [March 3, 2010, 5:29pm UTC](https://forum.kirupa.com/t/previous-button-to-play-tweener-in-reverse/305799/1 "2010-03-03T17:29:30Z")

</div>

So, if i had several images all on their own frame and each with their own Tweener transition when navigated to that frame. Is it possible to have a “Previous” button that would not only go back a frame, but play the Tweener animation on that frame in reverse? I’m trying to make a nice slideshow complete with sleek transitions and next & previous buttons. I’ve been researching this for days…

**"Previous" button code** :

```auto

btn_previous.addEventListener(MouseEvent.CLICK, doprevClick);
function doprevClick(e:MouseEvent):void {
prevFrame();
}

```

**A single frames Tweener transition** :

```auto

Tweener.addTween(slide_01, {x:-500, time:1.5, transition:"EaseInOutSine"});
Tweener.addTween(slide_02, {x:495, time:1.5, delay:.5, transition:"EaseInOutSine"});

```
