# Reversing frames of an mc

**URL:** <https://forum.kirupa.com/t/reversing-frames-of-an-mc/533>\
**Category:** flash\
**Created:** [July 21, 2002, 12:07pm UTC](https://forum.kirupa.com/t/reversing-frames-of-an-mc/533 "2002-07-21T12:07:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lightoftheworld](https://avatars.discourse-cdn.com/v4/letter/l/46a35a/32.png) [@lightoftheworld](https://forum.kirupa.com/u/lightoftheworld)\
**Post date:** [July 21, 2002, 12:07pm UTC](https://forum.kirupa.com/t/reversing-frames-of-an-mc/533/1 "2002-07-21T12:07:28Z")

</div>

Hello all,  
Well my latest conundrum has to do with making my mc go in reverse. I don’t know if that is even possible. I have a button that when clicked on starts an mc. But what I want is to be able to click on another button and have that mc go in reverse. Which would give it the apperance of closing.

Any thoughts, thanks LOTW ![](http://forum.kirupa.com/uploads/kirupa/45/3c14315b392f75bb.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 21, 2002, 3:07pm UTC](https://forum.kirupa.com/t/reversing-frames-of-an-mc/533/2 "2002-07-21T15:07:20Z")

</div>

Check the prevFrame() function, that’s what you need.

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 22, 2002, 3:34pm UTC](https://forum.kirupa.com/t/reversing-frames-of-an-mc/533/3 "2002-07-22T15:34:15Z")

</div>

I made a simple example of this for someone else, and it’s still on my web host if you want to take a look:

[http://aspirin99.guardianhosting.net/misc](http://aspirin99.guardianhosting.net/misc)

Basically, the FLA is two buttons and a simple tween animation. One button makes the animation go forward and the other makes it go backwards. I threw it together in about 5 minutes, so when I say “simple” it’s really simple looking.
