for (var c:Number=0; c<=myArray.length-1; c++) {
for (var r:Number=0; r<=myArray[0].length-1; r++, count++) {
[COLOR=darkgreen]//Attaches movieclip (class: t0-t9)(var c = column / var r = row)[/COLOR]
[COLOR=red] paletteLayer.attachMovie("t"+myArray[c][r],"t"+count,1000+count);[/COLOR]
[COLOR=red] paletteLayer["t"+count].x=200*r;[/COLOR]
[COLOR=red] paletteLayer["t"+count].y=200*c;[/COLOR]
}
}
I need some help, just starting on AS3, whew it’s alot more complicated than I hoped. This is a snippet of my AS2 code, trying to convert it to AS3. I’m trying to figure out how the addChild works with dynamic class names.