i have my crosshair and my bullets working with this script

var counter:Number = 0;
var timer:Number = 0;
onMouseDown = function () {
timer++;
if (timer == 1) {
counter++;
_root.attachMovie("bullethole","bullethole"+counte r,_root.getNextHighestDepth());
eval("bullethole"+counter)._y = _ymouse;
eval("bullethole"+counter)._x = _xmouse;
timer = 0;
}
};


the code works fine but now i was wondering how do i get it to change from bullethole to shotgunhole

eg i have a image of a handgun and shotgun you click the handgund you get to shoot it now click the shotgun and the bullets will shange when you click to shotgun holes and same for other weapons


also how do i get it to rapid fire from holding mouse