Hi I'm getting two error messages in Flash when using actionscropt 3.0
"Topbar,Layer 'Action Layer',Frame 1,line 12 1084: syntax error: expection semicolon before add.
"Topbar,Layer 'Action Layer',Frame 1,line 12 1084: syntax error: expection rightbrace before semicolon
Here is my code could anyone give some insight to what is actually happening thanks and help on rectifying the issue thanks.
clip = Number(random(7)) + 1;
while (Number(clip) <= 7)
{
clip = Number(clip) + 1;
Scale = Number(random(80)) + 1;
setProperty("/star", _x, Number(random(800)) + 10);
setProperty("/star", _rotation, Number(random(330)) + 50);
setProperty("/star", _xscale, Scale);
setProperty("/star", _yscale, Scale);
setProperty("/star", _y, Number(random(800)) + 50);
n = Number(n) + 1;
bn = "star" add n;
duplicateMovieClip("star", bn, n);
set(bn add ":n", n);
} // end while
clip = "0";