Moving buttons from coverpreloader swf to main window

hi,

i have found source of a cover preloader made by billy T. i think, and am trying to move the buttons from the self contained swf to my main window and keep their functionality, still loading the cover preloader with its 3 external mc’s as an external mc.

this is the code from the cover-preloader swf on the main timeline of the cover-preloader swf

fscommand(“allowscale”,false);
stop();
but1.onRelease=function(){
//set a variable that stores the next external movie to be loaded
nextMovie=“content1.swf”;
//tell the cover mc to play its closing animation
cover.gotoAndPlay(“close”);
}
but2.onRelease=function(){
nextMovie=“content2.swf”;
cover.gotoAndPlay(“close”);
}
but3.onRelease=function(){
nextMovie=“content3.swf”;
cover.gotoAndPlay(“close”);
}

so basically what i want to do is move those buttons from the cover-preloader.swf to my main.swf and be able to call up the c-p.swf as an external mc using the buttons and still loading the external mc’s(images) within that

hope i have explained this with some logic

and any help/suggestions would be greatly appreciated

actionscript newbie(mogi)