getChildAt(i).text?

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