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

**URL:** <https://forum.kirupa.com/t/advanced-external-swf-load-problem-if-mc-is-empty-code/78883>\
**Category:** Uncategorized\
**Created:** [February 8, 2005, 10:10pm UTC](https://forum.kirupa.com/t/advanced-external-swf-load-problem-if-mc-is-empty-code/78883 "2005-02-08T22:10:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Napoly](https://avatars.discourse-cdn.com/v4/letter/n/a9adbd/32.png) [@Napoly](https://forum.kirupa.com/u/Napoly)\
**Post date:** [February 8, 2005, 10:10pm UTC](https://forum.kirupa.com/t/advanced-external-swf-load-problem-if-mc-is-empty-code/78883/1 "2005-02-08T22:10:28Z")

</div>

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…
