You can do it that way by putting the loadMovie AS in the frame that you are going to as long as the movieClip that you are loading to (section) exists in that frame.
In the tut that you mentioned, the movieClip name is ‘section’. Put the actions in the timeline like:
[AS]
_root.section.loadMovie(“news.swf”);
//or
_root.section.loadMovie(“about.swf”);
[/AS]
When flash get’s to it in the timeline, it will activate it. Is that what you were talking about?
That code looks right. I use a different method alltogether, but yours should work. I really need to see where all these actions reside in the movie.
Your q is how do you assign b3; if b1 and b2 are working, then it might be a linking problem with the file names and/or locations - the logic is the same in all three sections of the script.
Other than that, post your fla(s) and I will look at it.
Ok there is a way around this. On each button click we will assing a value to a variable, lets call it “counter” (no quotes).
The code on button 1 will be this:
b1.onRelease = function() {
if (_root.section != "profile.swf") {
_root.section = "profile.swf";
_root.counter=1;
_root.transition.gotoAndPlay("closing");
}
};[/AS]On b2, counter=2; on b3, counter =3; and so on....
Now on your external, make first frame empty and place the following actions:[AS]stop();
if(_root.counter==1){
this.gotoAndStop(5)//b1 pressed leads to frame 5 of the external
}
if(_root.counter==2){
this.gotoAndStop(10)//b2 leads to frame 10 and so on....
}[/AS]Make as many statements as the number of values of "counter". Now on the respective frame place whatever you want to appear.