Creating Empty Clip At _root And Loading SWF

I have an object (with it’s own timeline) and on the last frame of that timeline I have the following code:


stop();
_root.createEmptyMovieClip("mainLoop_mc", 2000);
with (_root.mainLoop_mc){
  _x=0;
  _y=737;
}
_root.loadMovie("mainLoop.swf", _root.mainLoop_mc);

The problem is, when the “mainLoop.swf” file loads it obliterates my main UI SWF instead of attaching itself to a particular spot on the UI. So one SWF is replacing the other. Can anyone tell me what I’m doing wrong?