# Playing Movie Backwards

**URL:** https://forum.kirupa.com/t/playing-movie-backwards/195416
**Category:** flash
**Created:** [July 31, 2006, 4:23pm UTC](https://forum.kirupa.com/t/playing-movie-backwards/195416 "2006-07-31T16:23:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Butters](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@Butters](https://forum.kirupa.com/u/Butters)
#### Post date: [July 31, 2006, 4:23pm UTC](https://forum.kirupa.com/t/playing-movie-backwards/195416/1 "2006-07-31T16:23:52Z")

</div>

Ok so i’m using this code to play the timeline backwards when a button is clicked:

On the 1st frame:

```auto
MovieClip.prototype.playBackwards = function(){
this.stop();
this.onEnterFrame = function(){
this.prevFrame();
if(this._currentframe == 1){
delete this.onEnterFrame;
}
}
}

```

On the button:

```auto
on(release){
this.playBackwards();
}

```

Ok so it works fine, just how I want, EXCEPT I want it to play backwards until and stop when I tell it do. I have stop actions but it seems to just go streight past them without stoping. WTF!! Why? Is there somethin else I need to add? It just plays backwards right to the start of the timeline…

Help please, I need this answered ASAP 🙂
