Well, i have this line of code
var t1:thumbBack = addChild(new thumbBack(x, y));
And i want to create many thumbBacks with names t1, t2, t3… with a for loop. Is this possible?
I tried something like this, but it doesnt seem to work
for(i=0; i<8; i++){
var this["t"+i]:thumbBack = addChild(new thumbBack(10 + i*200 , y));
}
Any other ideas?