如果您的 TextFields 在一个数组中,您可以这样做。
var _textFields:Array = new Array();
_textFields.push(new TextField());
_textFields.push(new TextField());
_textFields.push(new TextField());
_textFields.push(new TextField());
_textFields.push(new TextField());
_textFields[0].text = "text field 1 text";
_textFields[1].text = "text field 2 text";
_textFields[2].text = "text field 3 text";
_textFields[3].text = "text field 4 text";
_textFields[4].text = "text field 5 text";
然后:
for (var loop:uint=0;loop<_textFields.length;loop++) {
trace(_textFields[loop].text);
}