Something very very strange has hapened.
My code wont work
onClipEvent (enterFrame) {
if (!walking) {
if (Key.isDown(Key.SPACE)) {
this.gotoAndPlay(2);
gun++;
_root.gun.duplicateMovieClip("gun"+gun, gun);
_root["gun"+gun]._visible = true;
}
}
this.gotoAndPlay(2);
That part dont work.
So I want it so when I press SPACE it will go inside my clip and play the shooting anmiation withch is the Second frame.
On that second frame is no stop action nothing.
ANy help.