# Navigation Problem

**URL:** <https://forum.kirupa.com/t/navigation-problem/15853>\
**Category:** flash\
**Created:** [March 18, 2003, 7:50pm UTC](https://forum.kirupa.com/t/navigation-problem/15853 "2003-03-18T19:50:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![coyotekel](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@coyotekel](https://forum.kirupa.com/u/coyotekel)\
**Post date:** [March 18, 2003, 7:50pm UTC](https://forum.kirupa.com/t/navigation-problem/15853/1 "2003-03-18T19:50:16Z")

</div>

I have a back button that should take you back from the first frame of one url to the last frame of another. However I can’t figure out how to do this.

I’ve got this

on (release) {  
getURL(“introduction2.html”, “\_self”);  
stopAllSounds();  
}

How do I specify which frame to go to?

Please help.

Thanks,  
Kel

---

<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:** [March 18, 2003, 7:55pm UTC](https://forum.kirupa.com/t/navigation-problem/15853/2 "2003-03-18T19:55:56Z")

</div>

If you want your button to work like the browser’s back button then apply this javascript/actionscript to your button:[AS]on (release) {  
getURL(“about :history.back(-1)”);  
}[/AS]

---

<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:** [March 18, 2003, 8:19pm UTC](https://forum.kirupa.com/t/navigation-problem/15853/3 "2003-03-18T20:19:37Z")

</div>

Sometimes the students will get to this page through a link and may need to go back so the last page in the history will be wrong.

Any other ideas?
