i have the code
onClipEvent (load) {
count = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(1)) {
this.attachMovie(“spark”, “hit”+hitNum, 1);
hitNum++;
}
if (Key.isDown(2)) {
this.attachMovie(“spark”+hitnum, “hit2”, 1);
hitNum++;
}
if (hitNum>3) {
hitNum = 0;
}
}
but it only lets me shoot one then restarts. how do you make it so you can shoot 3 before it restarts? its a harry potter platform shooter!
check out the fla.