Making animation play, then load movie

i have three buttons. each time i press one of them i tell them to play the same mc. at the end of that mc i want to ( depending on which button has been hit) load either movie 1, 2 or 3, corresponding to button 1, 2 and 3.

thanks in advanced

on(release) {
playanimation…
_root.newload =“yourmovetobeloaded.swf”;
}
and in the last frame of the animation put:
something.loadMovie(_root.newload, 0);

Change somthing to the movieclip where you want the movie to be loaded in and also change “yourmovietobeloaded” to the movie you want to be loaded after clicking the specified buttons!

yeah thanks that helped. now i have another problem.

i tried to do the same process but with the animation to be played placed on level 1.

on my button i have:

on(press) {
_level1.slider.gotoAndPlay(2);
_root.newload =“mymovie.swf”;
}

where “slider” is the mc placed on level 1 and the one that plays the anim.

in the last frame of slider i have this code:

stop();
_level1.loadMovie(_root.newload, 0); [size=1]//here is my problem, because it is not working.[/size]
unloadMovieNum(1); [size=1]//unloads the current movie where “slider” is placed[/size]

so the thing is, the animation plays, but the movie isn’t loaded. waht may the problem be??

thanks in advanced