Jump between scenes

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 :slight_smile:

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 :wink:
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]

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
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
good luck!

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!!!

:slight_smile: :slight_smile:

not a prob
(-: