/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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); }