# MC's with loaded text, and interdependent \_y positions

**URL:** <https://forum.kirupa.com/t/mcs-with-loaded-text-and-interdependent--y-positions/149278>\
**Category:** flash\
**Created:** [May 27, 2005, 1:39pm UTC](https://forum.kirupa.com/t/mcs-with-loaded-text-and-interdependent--y-positions/149278 "2005-05-27T13:39:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerryj](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@jerryj](https://forum.kirupa.com/u/jerryj)\
**Post date:** [May 27, 2005, 1:39pm UTC](https://forum.kirupa.com/t/mcs-with-loaded-text-and-interdependent--y-positions/149278/1 "2005-05-27T13:39:01Z")

</div>

Hi,  
I have two MC’s both of them with a textfield in it. I am loading text (text1 and text 2) into both of them. For MC1.text1 I use

```auto
MC1.text1.autoSize=true;

```

I am trying to make the \_y position of the second MC/text dependent from the ‘height’ or actually the amount of lines/words loaded into the first MC/text. So, the more text that is being loaded into MC1, the higher (or visually lower) the \_y position of the second MC should be.

I tried something like

```auto
MC2._y = MC1._y + MC1._height + 20;

```

but this way the empty MC1 is being counted and not the final height (depending on the number of lines/words).

I hope my question is clear!

Thank you again,

Jerryj.
