ok so i'm making a space shooting game type thing and i have a ship that follows the cursor. the ship is a different movieclip than the cursor, allowing it to follow. the ship will face the cursor as well. when the mouse is clicked, a movieclip of a laser (which is hidden) duplicates itself and moves in a direction depending on which way the ship is facing. each duplicated laser has a different name. the first one will be laser1, the second will be laser2, then laser3, and a few minutes later it'll be laser1,827. i have the actions necessary for rotation and movement all under an --onClipEvent(mouseDown)-- thingymabob. so that's all the boring background info....
the problem i'm having is that when i click the mouse, the actions affect all of the duplicated lasers. i think that's because i'm using the "this." code to identify the laser rather than the literal name. but when i try to use the following script....
_root["laser" +laserCounter]._rotation = _root.player._rotation
rather than
this._rotation = _root.player._rotation
it screws up. i think that the first script is the wrong way to do it anyways. sorry this post was so long....can anyone help me?