Duplicate Movie Clip

hi,

few problems with duplicateMovieClip.

I have a textfiled in a moviecip and i am duplciating the movie clip 50 times.
text field instance name is myText and movie clip instance name is myMC.

I am successful in duplicating the movie cip. But i want those to display 10 in a row. For Example:

1 2 3 4 5 6 7 8 9 10

11 12 13 14 15 16 17 18 19 20

21 22 23 24 25 26 27 28 29 30

and so on until 50, i need it to display 10 in a row.

Hope my question is clear.

Here is the script that I am using

for(i=0; i<50; i++)
{
duplicateMovieClip(“myMC”, “myMC”+i, i);
eval(“myMC”+i)._x=myMC._x*i;
eval(“myMc”+i).text=i;
}

how can i increment the y axis and display as below, below is the ouptput that i need

1 2 3 4 5 6 7 8 9 10

11 12 13 14 15 16 17 18 19 20

21 22 23 24 25 26 27 28 29 30

31 32 33 34 35 36 37 38 39 40

41 42 43 44 45 46 47 48 49 50

Thanking you
Prathap