Error

Ok well i am trying to put this code in the actions section

Ok well i am trying to put this code in my actions section

**Code:**if (Key.isDown(Key.SHIFT) { laserCounter++;
_root.laser.duplicateMovieClip( “laser”+laserCounter, laserCounter );
_root[“laser”+laserCounter]._visible=true;
}

but i get this error

**Code:**Clipboard Actions: Line 3: ‘)’ expected
if (Key.isDown(Key.SHIFT) { laserCounter++;

dunno what is wrong. If you need i can provide the file

Thanks for help in advance

it means there is a missing “)”…

[color=green] if (Key.isDown(Key.SHIFT)[color=red])[/color] { laserCounter++;[/color]
[color=#008000][/color]
[color=#008000][/color]

you need the closing bracket there in the red place

Thanks got it