-
Noob Question: How Do You Make A Button Go To The Next Scene?
Okay, I'm making a test website.
Scene 1:
I have a preloader that loads up my first page. The first page has a BUTTON! I want this button to go to scene 2 when I click it!
Scene 2:
I have a preloader that loads up my second page. I have my second page here.
All I need is the script for going to another scene.
-
you should only have one preloader. The preloader loads the entire swf, not the scene, so to have 2 preloaders is redundant.
You should label your button "nextButton" or soemthing like that. And in the code on your first scene you can write.
nextButton.onRelease = function() {
nextScene();
}
hope this works for ya
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|