Hello, I followed the transitions between swfs tutorial, but I can’t seem to get it to work right. The only difference I can see between my file and the ones in the tutorial, is that my buttons are not on the main timeline. I changed the paths, but it’s still not working. The first button clicked will load the correct movie, but it and the other buttons won’t do anything after that.
my external swfs is a mc of a set of animated buttons here’s the script:
midframe = 10; - on the first frame
stop(); - on the midframe
_root.emptyNav_mc.loadMovie(_root.currMovie+".swf"); - on the last frame of the movie
in my main movie: my buttons are in two movie clips: buttons_mc.about_mc.about_btn
on the button is this script:
on (release) {
if (_root.currMovie == “externalempty”) {
_root.currMovie = “aboutNav”;
_root.emptyNav_mc.loadMovie(“aboutNav.swf”);
} else if (_root.currMovie != “aboutNav”) {
if (_root.emptyNav_mc._currentframe >= _root.emptyNav_mc.midframe)
{ _root.currMovie = “aboutNav”;
emptyNav_mc.play();
}
and on the first frame of the main timeline is this script:
_root.currMovie = “externalempty”;
emptyNav_mc.loadMovie(_root.currMovie+".swf");
}
}
Does anyone know why this may not work? (I created an external empty movie clip (with a midframe) to load when coming to the main movie clip - just to keep it the same as the tutorial.
thanks in advance for the help.