Posso eseguire un ciclo for del tipo?

y=0;
x=0;
h = 1;
max = 10;
for (i=0; i<max; i++) {
h = h + 1;
attachMovie ("linea", "linea" + h, i + 100);
_root["linea" + h]._y = y +10;
_root["linea" + h]._x = x +10;


}