# loadMovie confusion

**URL:** https://forum.kirupa.com/t/loadmovie-confusion/239103
**Category:** random
**Created:** [September 18, 2007, 7:18pm UTC](https://forum.kirupa.com/t/loadmovie-confusion/239103 "2007-09-18T19:18:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kwasiada](https://avatars.discourse-cdn.com/v4/letter/k/5f9b8f/32.png) [@kwasiada](https://forum.kirupa.com/u/kwasiada)
#### Post date: [September 18, 2007, 7:18pm UTC](https://forum.kirupa.com/t/loadmovie-confusion/239103/1 "2007-09-18T19:18:29Z")

</div>

Hi peeps  
Problem with loadMovie  
i can load my clips into an empty clip and they work fine, but are the wrong size and in the wrong position.  
If I then resize & reposition the holding clips, the loaded clips (games) lose some or all of their functionality.  
Here’s the code:

sb5\_btn.onRelease = function(){  
gotoAndStop(“s5”);  
}

sb6\_btn.onRelease = function(){  
//loadMovie(“line-up finished.swf”,1); works but no control over size & position  
//clear previous swf  
gotoAndStop(“s6”);  
unloadMovie(myLoadedSwf2);  
//create the empty movie clip  
this.\_parent.createEmptyMovieClip(“myLoadedSwf”, getNextHighestDepth());  
//load swf  
myLoadedSwf.loadMovie(“line-up finished.swf”,1);  
//resize & rescale loaded movie  
myLoadedSwf.\_lockroot = true;  
myLoadedSwf.\_x =220;  
myLoadedSwf.\_y =124;  
myLoadedSwf.\_xscale = 64.5;  
myLoadedSwf.\_yscale = 64.5;  
}

I know its ugly but I can’t code for a joke.

my site is at  
[www.kwasiadesign.com](http://www.kwasiadesign.com)

The problem is in the 2d animation section  
The line up game does not load online but it works locally on my machine (with limited functionality)  
kwasidrummer loads but does not work at all.

I probably should have set a holding clip for all the other clips but…  
Any help would be much appreciated

Peace
