Combined Code
frame 1 {
HIT += 1;
}
movieClip 7 {
frame 1 {
stop();
}
frame 3 {
gotoAndStop(1);
}
}
frame 2 {
stop();
}
button 9 {
on (release, keyPress 'f') {
goli_no += 1;
tellTarget ('_root.goli1') {
play();
}
}
}
movieClip 11 {
}
movieClip 15 {
frame 1 {
stop();
}
}
instance goli1 of movieClip 15 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.target1)) {
tellTarget ('_root.BANG') {
play();
}
tellTarget ('_level0') {
play();
eval(_root.target1)._visible = 0;
}
} else {
eval(_root.goli1)._alpha = 100;
}
}
onClipEvent (load) {
eval(this)._y = random(400) + 20;
}
}