# Parent-\>Child, sizing problem

**URL:** <https://forum.kirupa.com/t/parent-child-sizing-problem/276089>\
**Category:** flash\
**Created:** [November 22, 2008, 3:17pm UTC](https://forum.kirupa.com/t/parent-child-sizing-problem/276089 "2008-11-22T15:17:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![substance](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@substance](https://forum.kirupa.com/u/substance)\
**Post date:** [November 22, 2008, 3:17pm UTC](https://forum.kirupa.com/t/parent-child-sizing-problem/276089/1 "2008-11-22T15:17:49Z")

</div>

‘image’ is a bitmap, ‘frame’ is a movieclip with a stroke in it.

```auto
image.scaleX = 1.2;
image.scaleY = 1.2;	
frame.width = image.width;
frame.height = image.height;
frame.addChild(image);

```

The problem is that the dimensions between the two arent matching once I add the child. Any idea what’s goin on?
