[FONT=Courier New][SIZE=2]Hi,
I have five rectangle shaped movie clips…I need to change their _y position randomly by clciking a button…but there must be 10px space between them… so how do I modify the code to do it ?
thanks
myArray = new Array(m1, m2, m3, m4, m5);
for (i=0; i<=myArray.length; i++) {
_root["m"+i]._x=400;
_root["m"+i]._y=Math.floor(Math.random()*300)+20;
}
[/SIZE][/FONT]