Hi, I have the following code:
var s;
s = "4";
gotoAndPlay("Scene s", 1);
Basically, I need to use a variable to tell it what scene to play. What is the correct sytax to call a variable here? I'm new to actionscript.
Better yet, maybe someone could tell me the best way to accomplish this. I will have a movie with 25 scenes, but every few scenes, I want the movie to play scene 2 again. At scene 2, I will have a script to tell the movie what scene it was on when it came back to 2. In other words, it should play like this: scene 1, scene 2, scene 3, scene 4, scene 5, scene 2, scene 6, scene 7 etc.
Thanks for any input you have.