# Shooting problems

**URL:** <https://forum.kirupa.com/t/shooting-problems/72390>\
**Category:** flash\
**Created:** [December 5, 2004, 2:46pm UTC](https://forum.kirupa.com/t/shooting-problems/72390 "2004-12-05T14:46:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![swasa](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@swasa](https://forum.kirupa.com/u/swasa)\
**Post date:** [December 5, 2004, 2:46pm UTC](https://forum.kirupa.com/t/shooting-problems/72390/1 "2004-12-05T14:46:52Z")

</div>

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

[http://mercury.walagata.com/w/swasa/carMx.swf](http://mercury.walagata.com/w/swasa/carMx.swf) check it out

```auto
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
