# Attach MC with dynamic resizing mc

**URL:** <https://forum.kirupa.com/t/attach-mc-with-dynamic-resizing-mc/73973>\
**Category:** Uncategorized\
**Created:** [December 22, 2004, 10:50am UTC](https://forum.kirupa.com/t/attach-mc-with-dynamic-resizing-mc/73973 "2004-12-22T10:50:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sky\_vault](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@sky\_vault](https://forum.kirupa.com/u/sky_vault)\
**Post date:** [December 22, 2004, 10:50am UTC](https://forum.kirupa.com/t/attach-mc-with-dynamic-resizing-mc/73973/1 "2004-12-22T10:50:50Z")

</div>

I have a dynamic resizing mc that is rectangular in shape  
Trying to have secondary mc always attach to the upper right hand  
corner without scalling along with the resizing clip …

am I going in the right direction with this?

```auto
 
attached_mc._y = resize_mc._y-attached_mc._width;
attached_mc._x = resize_mc._x-resize_mc._height;

```

thanks in advance
