Problems with centering one flash movie inside another

Ok, so I have a somewhat complex movie clip, which I am loading into another flash file that acts as a tiled background and centers a box inside of which the loaded in movie clip resides no matter what the window is resized to.

The problem I’m running in to is that initially everything loads fine and stuff is centered, the problem is, as soon as I resize the window everything gets all out of whack. Either the centered box moves up and gets stuck on the top of the window, or it just totally leaves the stage.

It seems to be that the problem arises in the fact that the complex movie clip I’m loading in has a lot of objects which must be off the stage and thus even though they aren’t visible, they cause the movie clip they’re loaded in to to alter its size. Yes, I’ve tried masking the stage off, but all that does is hide the objects that are off stage, and does nothing to alter the dimensions.

So it seems that there are only a couple options here, either I figure out some way to constrain the size of the blank movie clip I’m loading the complex movie clip into (didn’t work last time I tried, as it compresses the movie clip down and makes it look terrible), or figure out some way to force flash to crop down objects off the stage without deleting them (as far as I can tell this is also not possible.) Or maybe there’s some way to have flash center the object based on it’s center point rather than its registration?

I’ve attached a .zip with the project files, along with some screen shots of what’s going on. If anyone could give me some help on this I would be forever indebted. Would it be easier to just make this all one flash file? I’m thinking that would possibly make it even harder to center.

Anyway, if I could get some help on this I would be incredibly grateful. It’s been driving me nuts. Hopefully it isn’t impossible to pull off.

Before Resizing

After Resizing