# Working w/ the back button in Flash - Need Help

**URL:** <https://forum.kirupa.com/t/working-w-the-back-button-in-flash-need-help/65946>\
**Category:** Uncategorized\
**Created:** [September 30, 2004, 8:22pm UTC](https://forum.kirupa.com/t/working-w-the-back-button-in-flash-need-help/65946 "2004-09-30T20:22:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonygarcia](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@tonygarcia](https://forum.kirupa.com/u/tonygarcia)\
**Post date:** [September 30, 2004, 8:22pm UTC](https://forum.kirupa.com/t/working-w-the-back-button-in-flash-need-help/65946/1 "2004-09-30T20:22:23Z")

</div>

Hello Everyone,

I’m working on making a small flash site, the client has requested that the site respond the the Back button :sigh:

So I googled, and found this great tutorial:  
See It Here: [http://www.robertpenner.com/backbutton\_mx/](http://www.robertpenner.com/backbutton_mx/)  
Get Source Here: [http://www.robertpenner.com/experiments/flas/backbutton.zip](http://www.robertpenner.com/experiments/flas/backbutton.zip)

Bascially I want to change the current code on the numbered HTML pages (1.html - 5.html) currently this is the code inside these pages

```auto
  <script language="JavaScript">
	parent.flashframe.setPage(5);
	  </script>

```

…and I’d like to change the fuction within these pages to something like this

```auto
  <script language="JavaScript">
	parent.flashframe.**gotoAndStop(15);**
	  </script>

```

The only fuction I want to change is to have the code take me to a specific frame in flash. - Oh, and “gotoAndStop(15);” is not working. Does anyone know how to do this???

Please help. :geek:

---

<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:** [September 30, 2004, 8:32pm UTC](https://forum.kirupa.com/t/working-w-the-back-button-in-flash-need-help/65946/2 "2004-09-30T20:32:51Z")

</div>

Not totally positive but I think you can change flashframe to the name of your movie clip that contains the frame you want to go to. Also, you might want to consider using a frame label instead of a number - its more convenient.

:hr:

---

<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:** [September 30, 2004, 8:38pm UTC](https://forum.kirupa.com/t/working-w-the-back-button-in-flash-need-help/65946/3 "2004-09-30T20:38:07Z")

</div>

I figured it would be easier to get it to go to a certian frame. I do have labels in my timeline 😉 as well as the anchors.

Thanks for responding

Can anyone help??

---

<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:** [October 1, 2004, 2:19pm UTC](https://forum.kirupa.com/t/working-w-the-back-button-in-flash-need-help/65946/4 "2004-10-01T14:19:49Z")

</div>

anyone?
