# My external swf isn´t being loaded where it should be, why?

**URL:** <https://forum.kirupa.com/t/my-external-swf-isn-t-being-loaded-where-it-should-be-why/190804>\
**Category:** Uncategorized\
**Created:** [June 14, 2006, 8:12pm UTC](https://forum.kirupa.com/t/my-external-swf-isn-t-being-loaded-where-it-should-be-why/190804 "2006-06-14T20:12:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hendersson](https://avatars.discourse-cdn.com/v4/letter/h/97f17d/32.png) [@hendersson](https://forum.kirupa.com/u/hendersson)\
**Post date:** [June 14, 2006, 8:12pm UTC](https://forum.kirupa.com/t/my-external-swf-isn-t-being-loaded-where-it-should-be-why/190804/1 "2006-06-14T20:12:19Z")

</div>

hi!

tryin to load an external swf-movie into my main swf, thou the swf loaded isn´t being placed where i want it.

so i created a main swf and in that swf i made a new layer and made a rectangle called holder, which holds the different movies being loaded. and then i created a layer made a smaller rectangle called loader which is suppose to load the external swf, but the loaded movie isn´t being loaded into the loader-rectangle, it´s being placed somwhere else in the main swf, i don´t understand why.

am i making any sense? haha…sorry,kinda hard to explain. however, here comes the code:

var mcl:MovieClipLoader = new MovieClipLoader();

var mclL:Object = new Object();

mclL.onLoadProgress = function(target,loaded,total) {  
loader.percent.text = Math.round((loaded/total) \* 100) + “%”;  
}

mclL.onLoadInit = function() {  
loader.\_visible = true;  
loader.percent.text = “”;  
}

mcl.addListener(mclL);

mcl.loadClip(“news.swf”,loader);
