Now we have to go and make the crosshair. You draw a crosshair and convert it to a symbol of type movieClip. Select it and type this into its code box:
When this loads it will follow the mouse cursor because we set the startdrag of "this" to true. Mouse.hide just hides the original mouse cursor so our crosshair is our cursor. We want to make the depths of this 9999 so it will appear on top of all the faces(otherwise if you hover over a face, the crosshair vanishes behind the face). Now the onClipEvent(mouseDown) is what happens when we click the mouse. The playsounds lines tells it to play a shot sound I imported in for the movie. To use a sound like this, you have to open the movie's library and find the sound you imported, right click-->linkage and check "export for actionscript". playsounds.start(0,1) tells the sound to loop once(play once). The next part says that if when we click the crosshair is touching one of the duplicate faces(the reason for the loop being from 1 to 5) and if the face is still alive, we want that face to go to its 2nd frame and start its death sequence. This will end when the face reaches its last frame and resets.
We hope the information helped you. If you have any questions
or comments, please don't hesitate to post them on the
Forums section Submit your Tutorial at Click Here