# Navigating to a specific frame

**URL:** <https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578>\
**Category:** flash\
**Created:** [March 26, 2003, 1:40pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578 "2003-03-26T13:40:35Z")\
**Posts on this page:** 13\
**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 26, 2003, 1:40pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/1 "2003-03-26T13:40:35Z")

</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. It always brings you to the beginning.

tried this:

on (release) {  
getURL(“about :history.back(-1)”);  
}

but this won’t always work because they can get there from a menu so the last thing in the history will be that menu instead of the last page of the section before.

tried this:

if(back == “true”){  
gotoAndPlay(27);  
}

as the variable that is checked at the start of my movie to see if it was opened from another movie

and:

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

and this on the back button from the other movie

still not working. any ideas. totally stumped and desperate!!

basically i just need to figure out a way to navigate to a specific frame in a different url. :\*(

---

<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 26, 2003, 2:22pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/2 "2003-03-26T14:22:30Z")

</div>

are you sure of what you´re atempting is possible?

i neve seen any code like this:  
getURL(**“about :history.back(-1)”**);

and _the last frame of a url_?? you mean last frame of your movie :q:

---

<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 26, 2003, 2:24pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/3 "2003-03-26T14:24:43Z")

</div>

I don’t know if it’s possible but I’m determined to figure it out. It’s gotta be.

I’ve never seen anything like that history-1 code either. Was suggested to me by someone else.  
:sure: 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 26, 2003, 2:44pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/4 "2003-03-26T14:44:35Z")

</div>

oh and i do mean the last frame of my movie.

🙂

---

<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 26, 2003, 2:55pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/5 "2003-03-26T14:55:42Z")

</div>

why don´t you use that?

on (release) {  
\_root.gotoAndStop(1);  
}

to got to the first frame, and:

on (release) {  
\_root.gotoAndStop(#);  
}

# = the number of your last frame, to got to your last frame.

:q:

---

<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 26, 2003, 2:58pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/6 "2003-03-26T14:58:28Z")

</div>

it’s a different movie. not the one i’m in. i need to navigate between them.

---

<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 26, 2003, 3:08pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/7 "2003-03-26T15:08:40Z")

</div>

can you explain the situation :q:

---

<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 26, 2003, 3:22pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/8 "2003-03-26T15:22:26Z")

</div>

Well I’ve got a drop down menu that you can use to get from movie to movie. Each movie is made up of 10+ frames each containing a movie clip, continue & back buttons. It’s a training thing with voice overs.

Ok back to my point. The first module needs to be broken up into two parts but it’s already built into one. So the easiest thing would be to change the menu to make it look like it’s two parts but just have a new link that would take them to the middle of the it. (hence, making it look like two parts)

The movies are pulled up in html windows.

Does this make any sense at all? :crazy:

---

<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 26, 2003, 4:41pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/9 "2003-03-26T16:41:50Z")

</div>

nope (-:

can you post your fla(s) :q:

---

<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 26, 2003, 4:46pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/10 "2003-03-26T16:46:51Z")

</div>

No I just went through it and split it up. I’m showing it off this afternoon so I’ve got to finish it. Wish me luck. And thanks for all your help. This is my first one to ever show.:cowboy:

---

<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 26, 2003, 4:59pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/11 "2003-03-26T16:59:23Z")

</div>

np 😉

can you supply a link :q: :beam:

---

<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 26, 2003, 5:01pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/12 "2003-03-26T17:01:15Z")

</div>

Let me get my feedback first. I’m a bit nervous. I will this afternoon. Would you view it and tell me “honestly” if it sucks?

---

<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 26, 2003, 5:54pm UTC](https://forum.kirupa.com/t/navigating-to-a-specific-frame/16578/13 "2003-03-26T17:54:05Z")

</div>

yep. if you want a honest review i´ll give you one 😉

just send me the link. =)
