Gallery

delete the arraypush() things and the attachmovie code and replace with
myArray = ;
aArray = ;
bArray = ;
for (var y = 0; y<4; y++) {
for (var x = 0; x<6; x++) {
i++;
myclip = attachMovie(“mc”, “mc”+i, i);
myclip._x = 200+x*(myclip._width+10);
myclip._y = 200+y*(myclip._height+10);
myArray.push([myclip._x, myclip._y]);
myclip.ivar = i;
myclip.ivar%2 != 1 ? aArray.push(myclip) : bArray.push(myclip);
myClip.onPress = sideMoveset;
}
}

just change the y<4,x<6 to what you want.
position is determined by the 200s space between by 10s.