# Need help with changing coordinates of loaded images \[renamed\]

**URL:** <https://forum.kirupa.com/t/need-help-with-changing-coordinates-of-loaded-images-renamed/159493>\
**Category:** flash\
**Created:** [August 17, 2005, 11:18pm UTC](https://forum.kirupa.com/t/need-help-with-changing-coordinates-of-loaded-images-renamed/159493 "2005-08-17T23:18:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukeoram](https://avatars.discourse-cdn.com/v4/letter/l/e9bcb4/32.png) [@lukeoram](https://forum.kirupa.com/u/lukeoram)\
**Post date:** [August 17, 2005, 11:18pm UTC](https://forum.kirupa.com/t/need-help-with-changing-coordinates-of-loaded-images-renamed/159493/1 "2005-08-17T23:18:01Z")

</div>

Iwonder if anyone can set me straight here:  
I’m creating an image gallery that loads different files into a mc using this code, form the tutorial.  
it works fine, but in my novice way I cannot figure out how I can change the co-ordinates of the Mc once the image has loaded. I need to do this because the files are different sizes. each image has it’s own button in the menu.  
Any light on this would be grateful!

```auto
bar._visible = false;
border._visible = false;
this.createEmptyMovieClip("container", "100"); 
my_mc = new MovieClipLoader(); 
preload = new Object(); 
my_mc.addListener(preload); 
preload.onLoadStart = function(targetMC) { 
trace("started loading "+targetMC); 
container._visible = false; 
bar._visible = true; 
border._visible = true; 
pText._visible = true; 
}; 
preload.onLoadProgress = function(targetMC, lBytes, tBytes) { 
bar._width = (lBytes/tBytes)*100; 
pText.text = "% "+Math.round((lBytes/tBytes)*100);
}; 
preload.onLoadComplete = function(targetMC) { 
container._visible = true; 
border._visible = false; 
bar._visible = false; 
pText._visible = false; 
trace(targetMC+" finished"); 
};

```
