Basically I have a flash 8 movie that has 5 movieclips acting as buttons. When a button is clicked an external.swf is called and plays the intro of its timeline, stops, and when another button is clicked, plays its outro of its timeline.
Here is the code i have(got it off a tutorial on Kirupa).......
THe code placed on a individual button on the root timeline......
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "main";
container.loadMovie("main.swf");
} else if (_root.currMovie != "main") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "main";
container.play();
}
}
}
The code placed on the first frame of my external MC....
midframe=7
The code placed on the last frame of an external MC......
_root.container.loadMovie(_root.currMovie+".swf");
This code is supposed to designate the frame number in which the movie stops(and has content on) and assigns a new "currMovie" value to the next external MC being played.
I can get an External MC to play to its midpoint, but when i try to click another button(to have another External Mc, load and play), nothing happens. Ive spent alot of time on this, and got knowhere. Hoping for some suggestions.
Thanks..
P.s. Attached are 2 external MC's that i have, that i was working with
I will email the MAIN FLASH MOVIE.fla. to anyone that can help me, the file was to big to upload it here(304)