# creatEmptyMovieClip within a popup \[FMX\]

**URL:** <https://forum.kirupa.com/t/createmptymovieclip-within-a-popup-fmx/164591>\
**Category:** flash\
**Created:** [October 3, 2005, 9:12am UTC](https://forum.kirupa.com/t/createmptymovieclip-within-a-popup-fmx/164591 "2005-10-03T09:12:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zygrot](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zygrot/32/1797_2.png) [@zygrot](https://forum.kirupa.com/u/zygrot)\
**Post date:** [October 3, 2005, 9:12am UTC](https://forum.kirupa.com/t/createmptymovieclip-within-a-popup-fmx/164591/1 "2005-10-03T09:12:43Z")

</div>

hi all,

I wanted to update this because I discovered my problem has nothing to do with the popup window I have the Flash file contained in, but in fact the problem seems to stem from any sort of HTML container. As before, I am using createEmptyMovieClip to load external SWFs into another MC placed in my timeline. Everything works fine when I test out the movie, or even if I export it and load the SWF directly into a browser. But if I embed it within an HTML page of any kind (popup or otherwise), the external SWFs no longer load within the MC.

Any help is much appreciated, I am racking my brain trying to fix this. :upset:

Here’s the code i am using:

first frame:

createEmptyMovieClip(“container”, 2);  
loadMovie(“movie1.swf”, “container”);  
container.\_x = 170 ;  
container.\_y = 0 ;  
stop();

additional frames:

loadMovie(“movie2.swf”, “container”);  
container.\_x = 170 ;  
container.\_y = 0 ;  
stop();

etc. etc.
