nsbrown
06-27-2005, 04:34 PM
It works first time but it won't work after that whats wrong??
nextMovie="defaultUserLogo";
//load the starting movie into level 1
loadMovieNum(nextMovie,1);
//button1 actions
mcAboutMe.onRelease=function(){
//this makes sure that content 1 isn't already loaded
if(nextMovie!="aboutMe"){
//set the variable that holds the name of the movie to be loaded
nextMovie="aboutMe";
//tell the currently loaded content movie to play it's outro animation
_level1.gotoAndPlay("outro");
}
}
//button2 actions
mcInterWork.onRelease=function(){
//this makes sure that content 1 isn't already loaded
if(nextMovie!="interWork.swf"){
//set the variable that holds the name of the movie to be loaded
nextMovie="interWork.swf";
//tell the currently loaded content movie to play it's outro animation
_level1.gotoAndPlay("outro");
}
}
nextMovie="defaultUserLogo";
//load the starting movie into level 1
loadMovieNum(nextMovie,1);
//button1 actions
mcAboutMe.onRelease=function(){
//this makes sure that content 1 isn't already loaded
if(nextMovie!="aboutMe"){
//set the variable that holds the name of the movie to be loaded
nextMovie="aboutMe";
//tell the currently loaded content movie to play it's outro animation
_level1.gotoAndPlay("outro");
}
}
//button2 actions
mcInterWork.onRelease=function(){
//this makes sure that content 1 isn't already loaded
if(nextMovie!="interWork.swf"){
//set the variable that holds the name of the movie to be loaded
nextMovie="interWork.swf";
//tell the currently loaded content movie to play it's outro animation
_level1.gotoAndPlay("outro");
}
}