im very new to as3 so i would appreciate any help. Im trying to make a counter only using the command "for". im counting on this from 1 to 1000 in steps of 20. the next step i want to make is to display on the output tab i already know i can make it with "trace();", but i also want this to be displayed on the main .swf window, im trying using a dynamic text-field which i named "dyna"
The problem is that, it is only displaying the last number. "1000" or changing very fast that i barely notice, and the last one remains.
var i:int;
for (i = 1; i < 1001; i+=20)
{
trace(i);
//dyna is the name of my dynamic textfiled
dyna.text = i.toString();
//dinamico.text = String(i);
}
-Is there any way to record all the numbers on my dynamic textbox, something like [1,20,40,60,....] horizontally or vertically.
-Or maybe someway to run this from a button step by step. like [click, 20; click, 40; click 60.....]
Thanks in advance