Groups | Blog | Home
all groups > flash actionscript > november 2005 >

flash actionscript : Help with Scene Navigation


jaysmitty
11/25/2005 7:36:06 PM
I am currently building my first website in Flash and have a question. I was
told to make multiple scenes within my movie for the different "pages" of my
website. Example-- I have an introduction, a home, page, and three other pages
with more information.
I am having a hard time creating the actions to have the buttons go to the
appropriate pages. How do I set the actions? Please advise as I am really
struggling with this. Thank you.
yachts99
11/25/2005 8:35:42 PM
If your button has an instance name of "button1", put this code on the
maintimeline:

button1.onRelease = function(){
gotoAndPlay("nextSceneName", 1);
}

where "nextSceneName" is the name of your next scene(!) and 1 is the first
frame in that scene.
AddThis Social Bookmark Button