i created 2 text fields on the stage, and named them text1 and text2.
I then create a for loop which counts 1 to 2.
Finally, I have a command which should write “i” to each available field , however I am having problems with the dynamic targeting. Can someone tell me what i am doing wrong.
the code is as follows:
for (i = 1; i < 3; i++) {
trace(i);
this.text*.text = i;
}
Thanks for your assistance.