Trouble loading an external XML gallery into a movie clip

I am buidling a website in which i am importing external movie clips (swfs) using actions script 2.0
all of my imported movie clips so far work fine, but when it comes to import the xml gallery the who website goes in a loop. here is the script i am using to load the external movie clips.
/////////

this.createEmptyMovieClip(“container”);
container.loadMovie(“xmlgallery.swf”);
stop();

////////

is very basic but it works for what i am doing. the question is HOW DO I LOAD THE XML GALLERY if this basic script doesn’t work for it is there another way to do it?

I appreciate the help THANKS!