-
Switching scenes
I know this is probably a simple function, however I am trying to navigate from one scene to another without simply going to just the next or previous. What command would I use, gotoAndPlay?
-
gotoanplay
Yep. that way ull be able to select which scene u want it to switch too. Also make sure that u select the right frame at which it'll switch. if it's not a movie, dont forget to put "sto" in ur frame at next scene.
shaolin_goon
-
Senior Member
You should really use frame labels for this, especially when switching between scenes. for example if you have your action within a movie clip, then you will be unable to change the scene using something like,
_root.gotoAndPlay("scene", frame);
instead if you place frame labels on the frame you want to be able to goto you can use
_root.gotoAndPlay("framelabelname");
from any scene or clip within the movie.
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
|