Put a keyframe on the last frame of each scene. Put a stop() there. Put a keyframe in frame 1 of each scene on a labels layer and set a frame label, scn1, scn2, etc.
Then something like this goes on the last frame of each scene:
code:
stop();
if(_root.where == "one"){
_root.gotoAndPlay("scn1");
}
if(_root.where == "two"){
_root.gotoAndPlay("scn2");
}
if(_root.where == "three"){
_root.gotoAndPlay("scn3");
}
if(_root.where == "four"){
_root.gotoAndPlay("scn4");
}
Now, on the buttons:
code:
on(release){
_root.where = "one";
_root.play();
}
And so on.