Problem with Preloader

I am having a little problem with a preloader. here is how I have setup my flash site. Hopefully you’ll get the gist.

I have my main site (flash) named “mainsite.swf” (without quotes).
on the timeline of mainsite.swf I use an empty movieclip with the instance name of “headlinesempty” to load another flash file by the name of headlinesmain.swf. Up to now this works and the following is the code I use:

headlinesempty.loadMovie(“headlinesmain.swf”);

Up to this point it works fine. The headlinesmain.swf has a preloader and the preloader works fine.

Now, on the loaded movie, headlinesmain.swf, I have a movie clip with the instance name of “hd01”. On the last frame of hd01, I have an empty movie clip by the name of container1 and an action that loads another movie by the name of hdln01.swf. The code is as follows:

container1.loadMovie(“hdln01.swf”);

Now the hdln01.swf has a simple preloader, but it is giving me trouble. The preloader is only one movie clip which displays a loading animation, no bar or percentage. However, I notice that when the clip is called, it loads and (the preloader doesn’t work), then just plays the loading animation and continues with the timeline. I think I don’t have the paths set right. The preloader script is as follows:

myInterval = setInterval(preload,100);

function preload() {
if (container1.getBytesLoaded() >= container1.getBytesTotal()) {
gotoAndPlay(5);
clearInterval(myInterval);
}

}

ANY HELP WILL BE GREATLY APPRECIATED!
THANKS!

CAN’T ANYBODY HELP, PLEASE!!!