Delidumrul
asked on
1084: Syntax Error
Hi all,
I have a piece of code written in Actionscript. When I checked syntax, I got the following error message;
"1084: Syntax error: expecting rightparen before add."
duplicateMovieClip(tremble , "tremble" add c, c) code leads to the above error.
Additionally, I am using actionscript 3 and also tremble is an instance name of movieclip
How can I fix this problem?
Thanks in advance,
I have a piece of code written in Actionscript. When I checked syntax, I got the following error message;
"1084: Syntax error: expecting rightparen before add."
duplicateMovieClip(tremble
Additionally, I am using actionscript 3 and also tremble is an instance name of movieclip
How can I fix this problem?
Thanks in advance,
a = 3;
b = 6;
c = 9;
duplicateMovieClip(tremble, "tremble" add c, c);
tremble._x = random(a);
tremble._y = random(b);
tremble._alpha = random(45);
tremble._rotation = random(a);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot,