Syntax issues with "add"

Hey all :slight_smile:

I’m trying to translate a file that was done in Flash 7 in Actionscript 1 to Flash 8, but it’s giving me a heck of a time with some of the syntax…and yet despite all my researching on what the correct syntax would be, I’ve found nothing. If anyone knows what I have to change here, that would be very helpful.


**Error** Scene=Scene 1, layer=action, frame=4:Line 4: ')' or ',' expected
      duplicateMovieClip("m0", "m" add i, i);
**Error** Scene=Scene 1, layer=action, frame=4:Line 5: ']' expected
      mask = this["m" add i];
**Error** Symbol=randomize_squares, layer=Layer 1, frame=3:Line 3: Syntax error.
     target_square= "_parent.m" add mask_array* add ".image";

[FONT=Courier New][LEFT]
[/LEFT]

[/FONT]