# How to change the width and height of an image loaded in a movieclip

**URL:** https://forum.kirupa.com/t/how-to-change-the-width-and-height-of-an-image-loaded-in-a-movieclip/250368
**Category:** flash
**Created:** [January 29, 2008, 12:44am UTC](https://forum.kirupa.com/t/how-to-change-the-width-and-height-of-an-image-loaded-in-a-movieclip/250368 "2008-01-29T00:44:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kitsunegari](https://avatars.discourse-cdn.com/v4/letter/k/eb8c5e/32.png) [@kitsunegari](https://forum.kirupa.com/u/kitsunegari)
#### Post date: [January 29, 2008, 12:44am UTC](https://forum.kirupa.com/t/how-to-change-the-width-and-height-of-an-image-loaded-in-a-movieclip/250368/1 "2008-01-29T00:44:34Z")

</div>

Hi

I would like to know how I can modify the size properties of an image that is loaded in a movie clip with Loader()  
In my example, if I change the width and height properties of the movieclip in which the image is loaded, the image can’t be seen anymore  
If I don’t modify the width and height properties, then the image can be seen  
What should I modify in my code so that I can change the size properties and still have my image on the scene?

Here is my code

```auto
var imgLoader:Loader = new Loader();
            
var image:URLRequest = new URLRequest('model.jpg');
        
var imgDisplay:MovieClip = new MovieClip();
imgLoader.load(image);
imgDisplay.addChild(imgLoader);

// if I change width or height, 
// the image can't be seen, why?
imgDisplay.width = 50;  
imgDisplay.height = 50; 

addChild(imgDisplay);

```

many thanks for your help
