Advanced external swf load problem (if MC is empty code)

let’s say I have on the last frame of my external swf code like this:

unloadMovie(this);
// I think this should unload my external swf from my main movie

And now in my main movie I want to check if my container is empty… if it is… let’s go to some other frame…

if (container == 0) {
main.gotoAndPlay(2);
}
//I was just hoping that this code checks if the container is empy… and sends the main movie to frame 2 …

maybe here are another ways to go… so pls help me…

hope I was clear enough…