Noob question probably

hi im trying to make a simple all flash web page but there is a problem with my buttons and switching between scenes,
unfortunately i dont have a web page so i cant just upload the fla, but heres my actionscript

on (release) {gotoAndStop(2);
}

nothing too difficult about that, its for a button, leading to a larger picture on scene 5!, ive tried to just do
on (release) {gotoAndStop(5);
}
but it doesnt work and goes to another scene, i dont get it, im using flash 04 pro and id love to figure out wat im doing right

hope i explained that well enough for u

thank you

Hmm… Do you have a keyframe in frame #5?
And if I were you, i would write the code:

on (release) {
gotoAndStop(5);
}

yeah i tried changing the AC to what you said but theres one thing i think i forgot to mention, i did EXACTLY the same AC for the enter page, and for the home page buttons and they owrk perfectly, i cant figure out what is going on

:h:

I see…

You’re trying to do a simple flash webpage? And you have the different pages, in lets say… “Home” in frame 1, and “About” in frame 5 etc etc.? And the buttons takes you to the different frames?

if you are using scenes to set up your movie the scene name has to be in quotes

gotoAndPlay(“SceneName”);

yeah, like i hav the AC, like what you posted, and it takes you to a different scene from the one you had written

btw i checked that i had the “gotoAndStop” part on scene not frame so thats not it

didn’t you say that the movie is set up with scenes and you want them to jump from scene to scene? i’m not understanding you correctly i think…

thanks il try that, but uhh embarressed i dont really know how to name scenes

eh il just type their default name

ty again

well i tried putting “5” and “Scene 5” instead of just 5, but that just made it not work at all,

btw i forgot to mention im working in AS2

make a difference?

Try this one out:

http://www.kirupa.com/developer/mx/full_site.htm

It tells you, how to do a simple, and fairly nice flash site. And if you allready know some flash basics, you can allways experiment! :}

ty

thanks guys i figured it out, just put evrything in keyframes instead of scenes