# External Image Resize help

**URL:** <https://forum.kirupa.com/t/external-image-resize-help/200252>\
**Category:** flash\
**Created:** [September 10, 2006, 5:50pm UTC](https://forum.kirupa.com/t/external-image-resize-help/200252 "2006-09-10T17:50:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atokatim](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@atokatim](https://forum.kirupa.com/u/atokatim)\
**Post date:** [September 10, 2006, 5:50pm UTC](https://forum.kirupa.com/t/external-image-resize-help/200252/1 "2006-09-10T17:50:01Z")

</div>

I am trying to load an external image into a movie clip that is already on the Stage and size it to the movie clips size. The movie clip name is member\_gallery with the width of 360 and the height of 251. One of the images i am trying to load into it is 1024 \* 768. I would also like to load other images of different sizes into the same movie clip and they all change to 360 \* 251 when loaded.

here is what i have been messing with :

```php

onClipEvent(load){
var container2:MovieClip = createEmptyMovieClip("container2", getNextHighestDepth());
var mcLoader2:MovieClipLoader = new MovieClipLoader();
mcLoader2.addListener(this);
mcLoader2.loadClip("http://www.gothics-r-us.com/chat/images/gru.jpg", container2);
trace(this._width);
trace(container2._xscale);
    container2._xscale = this._width / 10;
    container2._yscale = this._height / 10;
    //container2._height = 251;

}

```

Please help! i am new to this.
