for (var i=0; i<N; i++){ _root.attachMovie ("CCC", "CCC" + i, i); _root["CCC" +i]._x = i*10; _root["CCC" +i]._y = i*10; }