Hi there folks, I have downloaded a component using the duplicate symbol function, it works fine when published with Flash Player 7 but when I try to update it to Flash Player 8 and publish it produces this error message:
Error Symbol=flame, layer=Layer 1, frame=2:Line 1: ‘)’ or ‘,’ expected
duplicateMovieClip(“mcFlame”, “Flame” add index, index);
Could someone tell me how to fix this in the code as I’m not quite up to speed with Actionscript quite yet! below is the code from the keyframe:
duplicateMovieClip("mcFlame", "Flame" add index, index);
xcoord=Math.random()*10;
xStretch=Math.random()*50;
yStretch=Math.random()*100;
opacity=Math.random()*60;
setProperty("Flame" add index, _x, xcoord);
setProperty("Flame" add index, _xscale, xStretch);
setProperty("Flame" add index, _yscale, yStretch);
setProperty("Flame" add index, _alpha, opacity);
++index;
thanks so much for any help!