# Playing Backwards through frames

**URL:** https://forum.kirupa.com/t/playing-backwards-through-frames/230212
**Category:** flash
**Created:** [June 24, 2007, 2:09am UTC](https://forum.kirupa.com/t/playing-backwards-through-frames/230212 "2007-06-24T02:09:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Exodar](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@Exodar](https://forum.kirupa.com/u/Exodar)
#### Post date: [June 24, 2007, 2:09am UTC](https://forum.kirupa.com/t/playing-backwards-through-frames/230212/1 "2007-06-24T02:09:04Z")

</div>

I’m having a bit of a problem with getting the timeline to play backwards through frames. I’ve tried doing something like the following and thought it should’ve worked but it didn’t, and I need some help with this plz:

[COLOR=dimgray]function onEnterFrame() {[/COLOR]  
[COLOR=dimgray] gotoAndPlay(lastframe);  
lastframe = \_currentframe–;[/COLOR]  
[COLOR=dimgray]}[/COLOR]

Thanks 🙂
