# Play on MouseOver, Play in Reverse on MouseOut?

**URL:** <https://forum.kirupa.com/t/play-on-mouseover-play-in-reverse-on-mouseout/328774>\
**Category:** flash\
**Created:** [June 15, 2012, 11:21am UTC](https://forum.kirupa.com/t/play-on-mouseover-play-in-reverse-on-mouseout/328774 "2012-06-15T11:21:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iMitchellHD](https://avatars.discourse-cdn.com/v4/letter/i/d26b3c/32.png) [@iMitchellHD](https://forum.kirupa.com/u/iMitchellHD)\
**Post date:** [June 15, 2012, 11:21am UTC](https://forum.kirupa.com/t/play-on-mouseover-play-in-reverse-on-mouseout/328774/1 "2012-06-15T11:21:34Z")

</div>

So i’ve made a movie clip named MTF\_Holder I’ve made it play on MouseOver and then stop at the end, but i want it to play the movie clip in reverse on Mouse\_Out How would i do that?

the code ive used so far is …

```auto
stop();

import flash.events.MouseEvent;

MTF_Holder.stop();

MTF_Holder.addEventListener(MouseEvent.MOUSE_OVER, MTF_HolderOver);
MTF_Holder.addEventListener(MouseEvent.MOUSE_OUT, MTF_HolderOut);

function MTF_HolderOver(e:MouseEvent):void{
MTF_Holder.play();
}

function MTF_HolderOut(e:MouseEvent):void{
MTF_Holder.gotoAndStop(1);
}

```

As you can see at the moment when i take the mouse away the movie clip goes back to frame 1 but i want it to show the animation in reverse to get there.

can anyone help?

Thanks in advance

I’ve removed the part of the code that made it go back to frame one now so ignore that bit
