Flash will by default use the bounding box, not the content, to do the hit test, but you can add mc.hitTest(x, y, true); to test against the actual pixels of the clip.
For variable damage on the guy, use the same code as above, but break the guy down into, for example two movie clips, nested in one main one. One mc called head and the other called body. Increase the score by more if the head was hit.
P.S. I did submit a tutorial on how to create a first person shooter but nothing became of it…
Well firstly, unless you’re using a custom cursor - you’ll get a rollover cursor - I use a sight and gun that follows the mouse - (you can download a fla on this from my site).
Also, making multiple enemies and making them mcs into buttons gets fiddly - you have more flexibility with actionscript for an mc, than with a button.
Anyway - it’s your game, but unless there’s a reason for it, don’t use the enemies as buttons because is much easier to do the hit animations as mcs - if you looked at the tweenies game you’ll notice that only if you hit one of them on the actual mc surface area, a hit will be registered, and the hit animation is played. This is much smoother and easier than sticking the mc in a button.
The code I posted can also be used to treat an mc like a button - an easy way to get rid of the roll over cursor.
But like I said before - it’s your game so use whatever you want.
Although Kirupa forum is an excellent resource for general flash tips (esp. for newbies), if you want advice on gaming only - check out the games forum at flashkit.
…You don’t even have to use the code that I posted. I’m obviously not up to date with the new event handlers for MX. You can use [COLOR=blue]on (press)[/COLOR], [COLOR=blue]on (RollOver)[/COLOR], etc. on mc’s just as you would for a button. So you don’t need to put the mc in a button, nor do you need to use my code for determining a hit test on mousedown, you can just use on press.