Shooting problems

im having trouble with a duplicating movie clip and propertys, basically i got a gun it shoots but when i move my mouse again it follow the angle of the mouse check it out

onClipEvent (load){
i = 0;
onClipEvent (enterFrame) {
this._x += 50;
if (this._x > 550){
this.removeMovieClip ();
onClipEvent (mouseDown) {
this._visible = true;
duplicateMovieClip(this, "bullet"+i, i);
["bullet"+i]_x = _root.char.gun.gunend._x;
["bullet"+i]_y = _root.char.gun.gunend._y;
i = i++;

any help?

you can walk left and right and different shadows appear