Problem with loading a external movie smaller then the main movie in size

hi all. i need some help which might be too easy for u guys to answer:
i want to load a 200x150 px external movie (home.swf) into a 500x300 px main movie (index.swf), and the home.swf supposed to be loaded at the position of (_x =100, _y=100) on level 2 of the index.swf, so i used this AS on a button somewhere on that index.swf:

on (release) {
loadMovieNum(“home.swf”, 2);
_x = 100;
_y = 100;
}

but it is not working at all. anything wrong with that AS? help please.

hi scotty, u are always so helpful, can u help me once again?

what ever movie you are loading needs to be loaded into an existing clip within index.swf…when loading another swf into a level of index.swf all the assets of home.swf are independent…

make an emptyclip and place it on the main stage where you want your home.swf to be, or specify its placement afterward if needed. Name this clip “holder”.

put this on your button

on (release) {
_root.holder.loadMovie(“home.swf”);
_root.holder._x = 100;
_root.holder._y = 100;
}

good luck!

thanks naderslim, i will try it out.

yes, it worked . thanks for ur great help naderslim.