# (FMX)Automatically Change Size Of Dynamic Text Box

**URL:** https://forum.kirupa.com/t/fmx-automatically-change-size-of-dynamic-text-box/141686
**Category:** Uncategorized
**Created:** [March 22, 2005, 9:15am UTC](https://forum.kirupa.com/t/fmx-automatically-change-size-of-dynamic-text-box/141686 "2005-03-22T09:15:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jedhu0920](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jedhu0920/32/905_2.png) [@jedhu0920](https://forum.kirupa.com/u/jedhu0920)
#### Post date: [March 22, 2005, 9:15am UTC](https://forum.kirupa.com/t/fmx-automatically-change-size-of-dynamic-text-box/141686/1 "2005-03-22T09:15:20Z")

</div>

I have an MC with a single-line dynamic text box in it. I am placing the MC on stage using attachMovie. Then I am loading text into the dynamic text box in the MC I just placed on stage. I am trying to figure out code that will make the dynamic text box either scale up or down to fit the text that I am loading into it. Any ideas?
