# Help! Reverse Playing Level

**URL:** <https://forum.kirupa.com/t/help-reverse-playing-level/62003>\
**Category:** flash\
**Created:** [August 24, 2004, 2:29am UTC](https://forum.kirupa.com/t/help-reverse-playing-level/62003 "2004-08-24T02:29:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeaBeck](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@DeaBeck](https://forum.kirupa.com/u/DeaBeck)\
**Post date:** [August 24, 2004, 2:29am UTC](https://forum.kirupa.com/t/help-reverse-playing-level/62003/1 "2004-08-24T02:29:04Z")

</div>

I have a site with 5 levels. Each level is a section: about, news, work, etc…

On \_level0 I have the buttons to call and control each section.

What I need is a nice navigation. For exemple:  
I want the \_level2 go back to frame 1 (play in reverse) before going to a new section.

How can I do this?

:red:

---

<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:** [August 24, 2004, 9:05am UTC](https://forum.kirupa.com/t/help-reverse-playing-level/62003/2 "2004-08-24T09:05:29Z")

</div>

```auto

function forward(mcName, stopframe) {
	mcName.onEnterFrame = function() {
		this.gotoAndStop(this._currentframe+1);
		if (this._currentframe == stopframe) {
                         this.gotoAndStop(stopframe);
			
delete this.onEnterFrame;
		}
	};
}

```

---

<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:** [August 24, 2004, 9:07am UTC](https://forum.kirupa.com/t/help-reverse-playing-level/62003/3 "2004-08-24T09:07:46Z")

</div>

> [@trypp](#):
>
> ```auto
> 
> function forward(mcName, stopframe) {
> mcName.onEnterFrame = function() {
> this.gotoAndStop(this._currentframe+1);
> if (this._currentframe == stopframe) {
> this.gotoAndStop(stopframe);
> 			
> delete this.onEnterFrame;
> }
> };
> }
> 
> ```

dammit i pressed the frekaing space bar and it sent! \*\*\*\* machine elves…

```auto

function reversa(mcName, stopframe, urlName) {
	mcName.onEnterFrame = function() {
		this.gotoAndStop(this._currentframe-1);
		if (this._currentframe == stopframe) {
                         this.gotoAndStop(stopframe);
			loadmovie(urlName, 1);
                         delete this.onEnterFrame;
		}
	};
}

```

then call it like this

```auto

reversa(target, 1, "moviename.swf");

```
