Cant duplicate two movies in a for statement?

hi out there,

been following a great tutorial for grid creation at:

http://www.kirupa.com/developer/actionscript/grid.htm

i’m trying to adapt this to work with two moviclips (a horizontal line and a verticle) to great a grid that ‘fades’ in. to do this, i’ve basically taken the original and added a 2nd MC referance:

gridx=30;
gridy=30;
num=0;
for (var i=0;i < 10;i++)
{
for (var j=0;j < 10;j++)
{
vert.duplicateMovieClip(“vert”+num,num);
vertMc=this[“vert”+num];
vertMc._x=gridxi;
hori.duplicateMovieClip(“hori”+num,num);
horiMc=this[“hori”+num];
horiMc._y=gridy
j;
num++;
}
}
vert._visible=0;
hori._visible=0;

but no jpy! i get ‘some’ of the horizontal lines but no verticals at all.

in addition to this i need to make the grid 210 x 510. the moment i increase the < 10 above 20, the whole script grinds to a halt and brings the flash player to it’s knees!

i’ve posted the fla here:

http://www.28design.co.uk/jake/flash/duplicate_grid_v2.fla

if anyone can help, it would be grand!

many thanks,

jake