code:
// preload the external movie using MovieClipLoader Class
// create MovieClipLoader Object and Listener Object
var mcl:MovieClipLoader = new MovieClipLoader();
var mcll:Object = new Object();
// when the movie finishes loading
mcll.onLoadInit = function(mc:MovieClip)
{
// mc is the target, _level4 in this case
mc.Button1.onRollOver = function()
{
this.gotoAndPlay(2);
};
};
// add the Listener Object mcll to the MovieClipLoader Object
mcl.addListener(mcll);
// load the movie TestMenu1.swf, and _level4 is the target
mcl.loadClip("TestMenu1.swf", 4);