HELP ME, pausing scripts till another script completes? see inside

ok, I have this right now

on (release) {_level2.gotoAndPlay(‘homePageOut’);
}

but I need the button to play this as well…

loadMovieNum(“testing.swf”,2);

BUT I need the loadMovieNum script to play only after the other script completes playing the section its playing, HELP? thanks in advance