# getChildAt(i).text?

**URL:** <https://forum.kirupa.com/t/getchildat-i-text/253290>\
**Category:** flash\
**Created:** [February 28, 2008, 10:00pm UTC](https://forum.kirupa.com/t/getchildat-i-text/253290 "2008-02-28T22:00:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danthemilk](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danthemilk](https://forum.kirupa.com/u/danthemilk)\
**Post date:** [February 28, 2008, 10:00pm UTC](https://forum.kirupa.com/t/getchildat-i-text/253290/1 "2008-02-28T22:00:48Z")

</div>

I’m sure this is a simple thing to do, but I’m can’t seem to find an example anywhere.

I’ve got some dynamically generated textField objects that have been added to a container, and I want to get the text from them and store it as a variable.

how do I target that textbox’s text?

I can target the textbox…

container.getChildAt(i);

but how do I get the text from the textbox

container.getChildAt(i).text; ??

sorry for the silly question, I know I should be able to figure this one out but I’m new to AS3.

Thanks
