Preloader help with external swf.s

Let me start by saying I’ve looked at numerous tutorials and forum postings on several different forums and haven’t quite found what I needed.

I made a site with mx 2004 using the following tutorial:

http://www.kirupa.com/developer/mx/full_site.htm

I have a file called “main_content.swf”, with 2 empty movie clips. One of the clips is used to load an external movie called “menu.swf” (has menu buttons) and the other clip is used to load the .swf that corresponds to the selected menu button.

The first frame of “main_content.swf” contains the following:

_root.contents.loadMovie(“home.swf”);
_root.buttons.loadMovie(“menu.swf”);

Each button in the “menu.swf” has the following code:

_root.contents.loadMovie(“page1.swf”);

or something similar.

I have a file called “load.swf” that is a preloader movie, that I want to play while “home.swf” is loading (as well as the other .swf’s that load when buttons are selected).

I tried this bit of code on the first frame of “main_content.swf”, but it didn’t work:

_root.buttons.loadMovie(“menu.swf”);
_root.contents.loadMovie(“home.swf”);

if (home.getBytesLoaded() == home.getBytesTotal() && home.getBytesTotal() > 4)
{
home.gotoAndStop();
}

else if (home.getBytesLoaded() != home.getBytesTotal())
{
_root.contents.loadMovie(“load.swf”,level1);
}

I’m thinking I may need to load my preloader movie in it’s own empty movie clip, but I’m not sure and I don’t think that is the whole problem. If my code was working I would see the preloader on top of my “home.swf” file b/c I loaded into the level above it (am I right here?) .

Anyway I want to use the preloader .swf before each external clip that loads.

Any suggestions?

.fla files:

[COLOR=#333333]www.meisenheimerphoto.com/stuff/home.fla[/COLOR]
[COLOR=#333333]www.meisenheimerphoto.com/stuff/menu.fla[/COLOR]
[COLOR=#333333]www.meisenheimerphoto.com/stuff/main_content.fla[/COLOR]
[COLOR=#333333]www.meisenheimerphoto.com/stuff/load.fla[/COLOR]

Thanks in advance,
Shannon