# Text Field Problem

**URL:** https://forum.kirupa.com/t/text-field-problem/201870
**Category:** flash
**Created:** [September 25, 2006, 10:10pm UTC](https://forum.kirupa.com/t/text-field-problem/201870 "2006-09-25T22:10:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jbailey](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jbailey/32/2380_2.png) [@jbailey](https://forum.kirupa.com/u/jbailey)
#### Post date: [September 25, 2006, 10:10pm UTC](https://forum.kirupa.com/t/text-field-problem/201870/1 "2006-09-25T22:10:41Z")

</div>

I am loading text dynamically (that works), but it won’t use the autoSize at all. Below is my code.

```auto

target_mc.innerbox.txtFront.htmlText = titleName[g];
            target_mc.innerbox.txtFront.autoSize = "center";
            target_mc.innerbox.textbacking._x = target_mc.innerbox.txtFront._x;
            target_mc.innerbox.textbacking._y = target_mc.innerbox.txtFront._y;
            target_mc.innerbox.textbacking._width = target_mc.innerbox.txtFront.textWidth;
            target_mc.innerbox.textbacking._height = target_mc.innerbox.txtFront.textHeight;

```

Any ideas?
