Dynamic text inside scrollpane



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: