# Parent - Child Relation: width issue

**URL:** <https://forum.kirupa.com/t/parent-child-relation-width-issue/268740>\
**Category:** flash\
**Created:** [August 18, 2008, 10:49am UTC](https://forum.kirupa.com/t/parent-child-relation-width-issue/268740 "2008-08-18T10:49:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![defied](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@defied](https://forum.kirupa.com/u/defied)\
**Post date:** [August 18, 2008, 10:49am UTC](https://forum.kirupa.com/t/parent-child-relation-width-issue/268740/1 "2008-08-18T10:49:14Z")

</div>

I probably am missing something, but when I change the width of a parent movieclip, the width of the child movieclip also changes.

Like I start with this:  
[![](http://img166.imageshack.us/img166/9248/picture2kh6.png)](http://imageshack.us)  
[![](http://img166.imageshack.us/img166/9248/picture2kh6.06e42862b9.jpg)](http://g.imageshack.us/g.php?h=166&i=picture2kh6.png)

and do

```auto
parent.width *= 2;

```

then the width of the child will also double, which I don’t want to happen. Is there some kind of property I need to set so that the width of the child does not change when the width of the parent changes?

[![](http://img365.imageshack.us/img365/2749/picture3ki3.png)](http://imageshack.us)  
[![](http://img365.imageshack.us/img365/2749/picture3ki3.1d49f2618b.jpg)](http://g.imageshack.us/g.php?h=365&i=picture3ki3.png)

Thanks!
