i’m no guru either, but you seemed pretty desperate over here, so here’s my newbie work around method:
remember this part?
_root.currMovie = "your_first_section_name";
container.loadMovie(_root.currMovie+".swf");
you are instructed to place this on the first frame, so that when your movie starts playing (ie moves to the first frame) this action will be executed, thus loading the first_section movie.
pretty simple, you got this part, right? now onto solving your problem.
_root.container.loadMovie(_root.currMovie+".swf");
the above code is placed at the ends of your nth_section movie. here’s a brief explanation:
when the movie reaches this frame, it instructs the container mc symbol in your main movie to load _root.currMovie . _root.currMovie, if you remember, is set depending on which button the user clicks (eg if he clicks “home”, this is set to “home”)
therefore, what you need to do is to define _root.currMovie to be your second movie. this can be done automatically by adding in
_root.currMovie = "2nd_movie";
before _root.container.loadMovie(_root.currMovie+".swf"); .
that’s about it.
as for the stopping and manual selection…
put in the first frame of your timeline
_root.manual = 0;
this sets the variable _root.manual to 0
create a button for the user to click (to stop)
then give it the following actions:
on(release){
_root.manual = 1;
}
self-explanatory, when the button is clicked _root.manual is set to 1
now go into your individual movies to be loaded, and on the last frame put your code within an if() condition, such that your code looks something like this:
if(_root.manual == 1) {
stop();
} else {
_root.currMovie = "2nd_movie";
_root.container.loadMovie(_root.currMovie+".swf");
}
explanation: the movie checks to see if _root.manual is set to 1, if it is, it stops and does not execute the action to load the next movie. if _root.manual is not set to 1, it executes the required actions.
to summarize it, when the user clicks on the stop button, he sets the variable ‘manual’ to 1. at the end of each movie, flash checks to see if ‘manual’ is at 1 or not. if it is, it stops there; if it isn’t, it loads the next movie.
finally, for the changing manually part:
simply create buttons to define _root.currMovie to the respective movies, as in the tutorial.
[SIZE=1]i have yet to try this out, and due to my inexperience, somebody please point out if anything is wrong ![:slight_smile: :slight_smile:](https://forum.kirupa.com/images/emoji/twitter/slight_smile.png?v=5)
dang i feel like i’ve written about half a tutorial.[/SIZE]