I cant get my buttons to play the scene in Adobe Flash CS3?

  • Thread starter Thread starter bjhjr07
  • Start date Start date
B

bjhjr07

Guest
I used this ActionScript:
on (release) {
gotoAndPlay("scene2", 1);
}


to go to one of my scenes but I couldnt use it (even though I changed the scene number) to go to a different scene.

If you guys can help me, I would really appreciate it
Im not gettin errors, but I want to use the buttons to go to different scenes.

For example, if I am on scene1 i want to use a button to go to scene 2.

I hope that helps
 
1. Are you getting any errors? If so, please include them.

2. What is actually happening when you click the button? Does it go to an undesired scene/frame? Or does it just stay on the current scene/frame?

When you create a new scene, the default name is usually like 'Scene 2'. You've written 'scene2', which if you hadn't renamed the scene to that, it won't work. Try writing 'gotoAndPlay("Scene 2", 1);' and see how it goes.
 
Back
Top