Duplicating movie clips

ok im making a break out game…

i can dup the block mc’s and make the first row of blocks, but how do i get the 2nd row, the 3rd. etc…

ex: i want it to look like this





This is the code i have…

for(i=0; i < 7; i++){
	duplicateMovieClip(block,"block" add i,i);
	xpos = Number(startx + Number(i*27));
	rColor = Number(000);
	_root["block" add i]._x = xpos;
	
}

here is what i have so far.

http://www.raydred.com/arcade/breakout/dredBreakout.html

any thoughts or ideas?
Thanks!

ps, its actionscript, i used the php codeing block cause of the pretty colors =)

HI,

try to nest one more loop outside this, wich will change ypos.

Cool i’ll try that thanks! =)