# Dynamic text inside scrollpane

**URL:** <https://forum.kirupa.com/t/dynamic-text-inside-scrollpane/158201>\
**Category:** Uncategorized\
**Created:** [August 8, 2005, 5:41am UTC](https://forum.kirupa.com/t/dynamic-text-inside-scrollpane/158201 "2005-08-08T05:41:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [August 8, 2005, 5:41am UTC](https://forum.kirupa.com/t/dynamic-text-inside-scrollpane/158201/1 "2005-08-08T05:41:54Z")

</div>

```auto

createTextField("my_txt", 1, 0, 0, 200, 20);
with (my_txt) {
  border = true;
  borderColor = 0x000000;
  multiline = false;
  wordWrap = true;
  autoSize = "center";
  text = "lkajsdfljasldflkajsdfljasldflkajsdfljasldflkajsdfljasldflkajsdfljasldflkajsdfljasldf
lkajsdfljasldflkajsdfljasldflkajsdfljasldflkajsdfljasldf";
}

```

here’s the code i directly copied from flash mx 2004 help. i wanted to see how autoSize thing works. now i want to add all these ( i don’t know how many ) textboxes into a scrollpane. how do i do that? thanks in advance :sigh:
