# Stretch movieclip affecting other movieclip

**URL:** <https://forum.kirupa.com/t/stretch-movieclip-affecting-other-movieclip/295676>\
**Category:** flash\
**Created:** [September 2, 2009, 9:26pm UTC](https://forum.kirupa.com/t/stretch-movieclip-affecting-other-movieclip/295676 "2009-09-02T21:26:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![turb](https://avatars.discourse-cdn.com/v4/letter/t/258eb7/32.png) [@turb](https://forum.kirupa.com/u/turb)\
**Post date:** [September 2, 2009, 9:26pm UTC](https://forum.kirupa.com/t/stretch-movieclip-affecting-other-movieclip/295676/1 "2009-09-02T21:26:40Z")

</div>

Hi,

got a big fixed dimension boxe that have 9 small child boxes positionned like this:

1 2 3

The big boxe is 300x300 and each small boxe are 100x100.

What I need to do is that, if I stretch boxe #1 to 150x150, boxes #2 should become 50x100 so the big boxe remain the same… hope I’m clear enough.

So, how can I do this dynamically hasving in mind that the big boxe can contain unlimited numbers of small boxe?

I just need a startnig point to figured out how to acheive this in AS3,

thank
