# Jump between scenes

**URL:** <https://forum.kirupa.com/t/jump-between-scenes/22070>\
**Category:** Uncategorized\
**Created:** [May 29, 2003, 8:23pm UTC](https://forum.kirupa.com/t/jump-between-scenes/22070 "2003-05-29T20:23:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dragon\_lord](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dragon\_lord](https://forum.kirupa.com/u/dragon_lord)\
**Post date:** [May 29, 2003, 8:23pm UTC](https://forum.kirupa.com/t/jump-between-scenes/22070/1 "2003-05-29T20:23:26Z")

</div>

ok hi out there,

here’s my problem:

I’m doing a flash movie for school.  
I made a few scenes to make it more structured because it had gone a little bit big 🙂

now I’m trying to get from a menu button in scene 3 (first frame) to the next frame of scene 3 (would be frame 2, but later I want to go to other frames as well)

it sounds quite easy indeed and it worked of course when I used a button directliy in the main time line of scene 3 using the actionscript code:

// quite easy one 😉  
on (release) {  
gotoAndStop(2);  
}

now i tried it from the menu.  
the path to the menu button would be:  
\_root.menu.slider (frame 9).buttons1.menubutton (in Scene 3)  
(I know that this is not actionscript conform it’s just to make clear that the path is a little bit long)

my actionscript code for this button is:  
on (release) {  
gotoAndStop(2);  
}  
it does nothing

i also tried:  
on (release) {  
gotoAndStop(“Scene 3”, 2);  
}  
and:  
on (release) {  
tellTarget(\_root){  
gotoAndStop(2); //also with gotoAndStop(“Scene 3”,2);  
} //and: gotoAndStop(Scene 3, 2);  
}  
and:  
on (release) {  
tellTarget(\_parent){  
gotoAndStop(2); //also with gotoAndStop(“Scene 3”,2);  
} //and: gotoAndStop(Scene 3, 2);  
}  
my last posibility was:  
if you don’t work I’ll deinstall you!  
come on!  
stupid program

:hangover: :hangover: :hangover: :hangover: :hangover: :hangover: :hangover:

I’m sure that this might be a very easy problem but I spent more than 4 hours now and I can’t solve this one.

(if it would help you to help me send me an e-mail and I’ll send you the file. excuse my english I’m from germany ;))

so [SIZE=4]help me, please![/SIZE]

---

<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:** [May 29, 2003, 9:22pm UTC](https://forum.kirupa.com/t/jump-between-scenes/22070/2 "2003-05-29T21:22:26Z")

</div>

I’m not really sure what you are trying to do, but if you are using scenes, you can use frame labels to point the way from your buttons. I learned about this here:  
[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24181](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=24181)  
Other than that, if your buttons are nested, you can use  
[AS]  
on(release){  
\_root.gotoAndPlay(“framelabel”);  
}  
[/AS]  
I believe that is what was explained to me in the thread above. I don’t use scenes anymore because of the easy of loading in a different movie in a container. Like here:  
[http://www.kirupa.com/developer/mx/full\_site.htm](http://www.kirupa.com/developer/mx/full_site.htm)  
good luck!

---

<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:** [May 29, 2003, 9:38pm UTC](https://forum.kirupa.com/t/jump-between-scenes/22070/3 "2003-05-29T21:38:38Z")

</div>

thx a lot for your help

the frame label method really works !

now i can go on !

by the way it’s a great forum!!!

🙂 🙂

---

<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:** [May 29, 2003, 10:57pm UTC](https://forum.kirupa.com/t/jump-between-scenes/22070/4 "2003-05-29T22:57:28Z")

</div>

not a prob  
(-:
