New to Flash help with attaching SWF


I am new to flash and I am working on my first big site. What I am wanting to do to keep the file size down is take my basic swf and load other swf’s (top links, bottom links, and center where text appears from different places on the site like from about us, etc)

  • How do I attach a swf within a swf or is this possible.

I have tried this AS code but when I test the movie it loads but it continues to loop. I have put a stop on both swf’s at the end of the frames?

//on the frame action in the main timeline
//positioning the emptyMovieClip named container
container._x =0;
container._y =0;
//attach the swf file which is in the same folder
container.loadMovie(“Top Links.swf”);
//that’s it