# Play in reverse help

**URL:** <https://forum.kirupa.com/t/play-in-reverse-help/140439>\
**Category:** Uncategorized\
**Created:** [March 10, 2005, 11:30pm UTC](https://forum.kirupa.com/t/play-in-reverse-help/140439 "2005-03-10T23:30:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![j\_polo9](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@j\_polo9](https://forum.kirupa.com/u/j_polo9)\
**Post date:** [March 10, 2005, 11:30pm UTC](https://forum.kirupa.com/t/play-in-reverse-help/140439/1 "2005-03-10T23:30:05Z")

</div>

Thanks to greenLantern, who pointed out i am an idiot :S, i am trying to use the function:

```auto
MovieClip.prototype.goBackwards = function(frames) {
		this.onEnterFrame = function() {
				this.gotoAndStop(this._currentframe - 1);
				frames -= 1;
				if (frames == 0) {
						delete this.onEnterFrame;
				}
		}
}

```

So that when a user clicks on a button the movie cilp plays in reverse for 15 frames, but right now nothing happens when they click on the button. The code for my button is:

```auto
on (release) {
_root.lessons_mc.goBackwards(15);
}

```

Any help? Thanks, jesse  
the fla can be found at [http://www.norcaldesigns.com/jesse/wp\_101.fla](http://www.norcaldesigns.com/jesse/wp_101.fla)
