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);