# Loading SWF from a loaded SWF into the Main SFW

**URL:** <https://forum.kirupa.com/t/loading-swf-from-a-loaded-swf-into-the-main-sfw/70326>\
**Category:** Uncategorized\
**Created:** [November 12, 2004, 4:25pm UTC](https://forum.kirupa.com/t/loading-swf-from-a-loaded-swf-into-the-main-sfw/70326 "2004-11-12T16:25:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![j0se](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/j0se/32/44_2.png) [@j0se](https://forum.kirupa.com/u/j0se)\
**Post date:** [November 12, 2004, 4:25pm UTC](https://forum.kirupa.com/t/loading-swf-from-a-loaded-swf-into-the-main-sfw/70326/1 "2004-11-12T16:25:43Z")

</div>

Hi guys (long time) 😏

I’m loading a small SWF (I’ll name it SWF2) into a scrollPane (which acts as a mask) in my main flash movie. From within SWF2 (once its loaded) I’m loading yet another (bigger) SWF (let’s call it SWF3).

Now, if I load SWF3 (from within SWF2) using this:

loadMovie(“SWF3.swf”, 1);

SWF3 loads into the MAIN flash mc - but not within the scrollPane), which is what I want. However, SWF3 is positioned to the default top left, and I want to position it elsewhere.

Here is the prob:

If I do this:

createEmptyMovieClip(“container”,1);  
loadMovie(“SWF3.swf”, “container”);

(I’ve also tried creating the container mc in “\_parent”)

SWF3 gets loaded into the scrollpane (like SWF2) which is no good as the scrollpane itself is positioned in the far right of the MAIN flash.

I want to load SWF3 into the main flash movie (but not within the scrollpane). Loading the SWF into level 1 achives this but leaves me without the ability to position it, so if anybody knows of a workaround I’d be grateful to read it

As always, cheers!  
🙂
