# MV container and draw bitmap

**URL:** <https://forum.kirupa.com/t/mv-container-and-draw-bitmap/295724>\
**Category:** flash\
**Created:** [September 3, 2009, 2:36pm UTC](https://forum.kirupa.com/t/mv-container-and-draw-bitmap/295724 "2009-09-03T14:36:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eagle1](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@Eagle1](https://forum.kirupa.com/u/Eagle1)\
**Post date:** [September 3, 2009, 2:36pm UTC](https://forum.kirupa.com/t/mv-container-and-draw-bitmap/295724/1 "2009-09-03T14:36:02Z")

</div>

Hi everyone…  
here is my issue :

I have a MV called container. It has no specified size. I add to this container a child, a loaded SWF. And then, later, I draw this container into a BitMapData.

```auto

var jpgSource:BitmapData = new BitmapData (container.width, container.height);
jpgSource.draw(container);

```

On most of my loaded SWF, bitmap is the correct size of the original loaded swf. But sometimes, the bitmap is smaller and I miss part of my draw…

Does a my container take the size of his child ?
