Random motion tutorial with multiple movies

Hi,

The random motion tutorial works just perfectly with one movieclip, but when I try to make a new movie clip and assign the same code to it, it really doesn’t duplicate at all. The original movieclip has an instance name of dot so I created a new movieclip with instance name of dottwo.

But for some reasob the following code doesn’t duplicate the dottwo at all

i = 0;
while (i<25) {
dot.duplicateMovieClip(“dot”+i, i);
dottwo.duplicateMovieClip(“dottwo”+i, i);
i++;
}

any suggestions?