# Scale movieclips using loadmovie()

**URL:** <https://forum.kirupa.com/t/scale-movieclips-using-loadmovie/76726>\
**Category:** Uncategorized\
**Created:** [January 20, 2005, 10:37pm UTC](https://forum.kirupa.com/t/scale-movieclips-using-loadmovie/76726 "2005-01-20T22:37:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfirming](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dfirming](https://forum.kirupa.com/u/dfirming)\
**Post date:** [January 20, 2005, 10:37pm UTC](https://forum.kirupa.com/t/scale-movieclips-using-loadmovie/76726/1 "2005-01-20T22:37:21Z")

</div>

Hello,  
I am loading some thumbnails (jpgs) into some movieclips using loadmovie. Easy enough. I want to scale the movieclip to increase the size of the thumbnail on rollover. The problem is when I use loadmovie and load the external JPG it sets the the JPGs default registration point to (0,0) and when I scale the thumbnail it scales from the top left corner. I would like it to scale from the center. This is the code I am using:

onClipEvent (load) {  
var thumb = “thumbtest.jpg”;  
loadMovie(thumb, thumb\_loader);  
thumb\_loader.\_yscale = 70;  
thumb\_loader.\_xscale = 70;  
}

on (rollOver) {  
thumb\_loader.\_yscale = 100;  
thumb\_loader.\_xscale = 100;  
}

on (rollOut) {  
thumb\_loader.\_yscale = 70;  
thumb\_loader.\_xscale = 70;  
}

Is there anyway to change the registration point so it scales from the center and not the top left?

thanks,  
D
