This script I cannot make work in the actions and sounds overview.

objects = 35;
loop = 1;
while(loop <= objects){
duplicateMovieClip("bar","bar"add loop,loop);
loop = loop + 1;
}

duplicateMovieClip("txt","txt1000",1000000);

stop();

the error is:
line 4 expecting a , or a )

The clip works but will not replicate itself.