Making a Movie Clip display external .Swf

Hello,

Ive got a movie clip named “resizeSquare”, when i click on a butten i would like this to resize and display an external swf, named, home.swf, and also the ability to ad more buttens to link to other things like links.swf.

This is my code so far:

stageWidth=700;
stageHeight=400;
wmodifier = 300;
hmodifier = 150;
bouncefactor = .7;
speedfactor = 8;
expand = function (id) {
this.destwidth = wmodifier;
this.poswidth = id._width;
this.velwidth = this.velwidthbouncefactor+(this.destwidth-this.poswidth)/speedfactor;
id._width += Math.round(this.velwidth);
this.destheight = hmodifier;
this.posheight = id._height;
this.velheight = this.velheight
bouncefactor+(this.destheight-this.posheight)/speedfactor;
id._height += Math.round(this.velheight);
this.destx = (stageWidth-wmodifier)/2;
this.posx = id._x;
this.velx = this.velxbouncefactor+(this.destx-this.posx)/speedfactor;
id._x += Math.round(this.velx);
this.desty = (stageHeight-hmodifier)/2;
this.posy = id._y;
this.vely = this.vely
bouncefactor+(this.desty-this.posy)/speedfactor;
id._y += Math.round(this.vely);
resizeBG._width = (colorSquare._width+20);
resizeBG._x = (colorSquare._x-10);
resizeBG._height = (colorSquare._height+20);
resizeBG._y = (colorSquare._y-10);
};
resizeSquare.onEnterFrame = function() {
expand(this);
}; [QUOTE]

and my buttens have:

[QUOTE]on (press) {
wmodifier=75;
hmodifier=75;
}

This all works, i just cant think of a way, to get the resizeSquare to load external .swfs, maybe:

on (press) {
wmodifier=W of the swf;
hmodifier=H of the swf;
}

and then something like: tell target resize square load “/home.swf”

Thanks for reading this anyway.