# Movieclip height and width

**URL:** <https://forum.kirupa.com/t/movieclip-height-and-width/316054>\
**Category:** flash\
**Created:** [November 11, 2010, 1:05pm UTC](https://forum.kirupa.com/t/movieclip-height-and-width/316054 "2010-11-11T13:05:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alianncox](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@Alianncox](https://forum.kirupa.com/u/Alianncox)\
**Post date:** [November 11, 2010, 1:05pm UTC](https://forum.kirupa.com/t/movieclip-height-and-width/316054/1 "2010-11-11T13:05:50Z")

</div>

Hi,  
I’m making a little photo album in flash, where my pictures are being added in a movie clip.  
The problem I have is when I add a with and height to my movie clip, I can’t see it anymore. It’s probably a stupid mistake, but I’ve been searching for an solution these past days, but I didn’t find any.

(when I don’t add the width and height, I can see the pictures)  
Here’s a little part of the code.

```auto
var mc:MovieClip = new MovieClip();
            mc.width=300;
            mc.height=100;
            
            var plaatsx:Number = 300;
            var imageList:XMLList = images.image.thumbnail;
            for each (var imageElement:XML in imageList){
                trace(imageElement);
                var img:ImageLoader = new ImageLoader(this, "assets/images/images/" + imageElement);
                img.loadAsset();
                img.x = plaatsx + 120;
                img.y = 200;
                mc.addChild(img);
                plaatsx = img.x;
            }
            trace (mc.height + mc.width);
            content.addChild(mc);
}

```
