Return to Snippet

Revision: 35654
at November 11, 2010 15:16 by swfgeek


Updated Code
for (var i:int; i< 3; i++){
	var output_txt : TextField = new TextField();
	output_txt.text = "MyText" + i;
	output_txt.y = i * 20;
	addChild(output_txt);
}

Revision: 35653
at November 11, 2010 15:12 by swfgeek


Initial Code
for (var i:int; i< 3; i++){
	var output_txt : TextField = new TextField();
	output_txt.text = "MyText" + i;
	addChild(output_txt);
	output_txt.y = output_txt. y = i * 20;
}

Initial URL

                                

Initial Description

                                

Initial Title
TextField in a for Loop

Initial Tags

                                

Initial Language
ActionScript 3