Frame 1
stop();
score = 0;
fscommand ("showmenu", false);
Instance of Symbol 4 MovieClip in Frame 1
onClipEvent (load) {
bytes = 0;
totalbytes = 0;
}
onClipEvent (enterFrame) {
bytes = Math.round(this._parent.getBytesLoaded() / 1024);
totalbytes = Math.round(this._parent.getBytesTotal() / 1024);
_xscale = Math.round((bytes / totalbytes) * 100);
_root.persenload = _xscale;
if (bytes >= totalbytes) {
_root.gotoAndStop(5);
}
}
Frame 2
stop();
score = 0;
Instance of Symbol 31 MovieClip in Frame 2
on (release) {
getURL ("http://www.flashgames247.com");
}
Frame 3
stop();
Mouse.show();
Frame 4
stop();
fscommand ("Showmenu", false);
menit = 2;
detik = 59;
Instance of Symbol 61 MovieClip "bebek1" in Frame 4
onClipEvent (load) {
keluar = 0;
yawal = _y;
tertembak = 0;
jatuh = 0;
}
onClipEvent (enterFrame) {
if ((random(50) == 7) and (keluar == 0)) {
keluar = 1;
_y = (yawal + random(100));
this.gotoAndPlay(2);
}
if (keluar == 1) {
this._visible = 1;
if (this._currentframe >= 59) {
keluar = 0;
this.gotoAndStop(1);
}
} else {
this._visible = 0;
}
if (tertembak == 1) {
tertembak = 0;
this.stop();
this.bebek.gotoAndPlay(10);
jatuh = 1;
}
if (this.bebek._currentframe == 50) {
this._visible = 0;
keluar = 0;
this.bebek.gotoAndPlay(1);
this.gotoAndStop(1);
jatuh = 0;
}
}
Instance of Symbol 67 MovieClip "sasaran" in Frame 4
onClipEvent (load) {
amunisi = 10;
}
onClipEvent (enterFrame) {
Mouse.hide();
startDrag (this, true);
}
onClipEvent (mouseUp) {
if (amunisi > 0) {
this.gotoAndPlay(2);
}
if (amunisi < 1) {
if (hitTest(_root.isi) and (_root.isi._visible == 1)) {
amunisi = 10;
}
}
amunisi = amunisi - 1;
if (amunisi == 9) {
_root.amo1.gotoAndPlay(2);
}
if (amunisi == 8) {
_root.amo2.gotoAndPlay(2);
}
if (amunisi == 7) {
_root.amo3.gotoAndPlay(2);
}
if (amunisi == 6) {
_root.amo4.gotoAndPlay(2);
}
if (amunisi == 5) {
_root.amo5.gotoAndPlay(2);
}
if (amunisi == 4) {
_root.amo6.gotoAndPlay(2);
}
if (amunisi == 3) {
_root.amo7.gotoAndPlay(2);
}
if (amunisi == 2) {
_root.amo8.gotoAndPlay(2);
}
if (amunisi == 1) {
_root.amo9.gotoAndPlay(2);
}
i = 1;
while (i < 6) {
if ((this.sasaran.hitTest(_root["bebek" + i].bebek.badan) and (_root["bebek" + i].jatuh == 0)) and (amunisi > 0)) {
_root["bebek" + i].tertembak = 1;
_root["bebek" + i].tertembak != 1;
_root.score = _root.score + 50;
}
i++;
}
}
Instance of Symbol 69 MovieClip "bebek2" in Frame 4
onClipEvent (load) {
keluar = 0;
yawal = _y;
tertembak = 0;
jatuh = 0;
}
onClipEvent (enterFrame) {
if ((random(50) == 9) and (keluar == 0)) {
keluar = 1;
_y = (yawal + random(150));
this.gotoAndPlay(2);
}
if (keluar == 1) {
this._visible = 1;
if (this._currentframe >= 59) {
keluar = 0;
this.gotoAndStop(1);
}
} else {
this._visible = 0;
}
if (tertembak == 1) {
tertembak = 0;
this.stop();
this.bebek.gotoAndPlay(10);
jatuh = 1;
}
if (this.bebek._currentframe == 50) {
this._visible = 0;
keluar = 0;
this.bebek.gotoAndPlay(1);
this.gotoAndStop(1);
jatuh = 0;
}
}
Instance of Symbol 70 MovieClip "bebek3" in Frame 4
onClipEvent (load) {
keluar = 0;
yawal = _y;
tertembak = 0;
jatuh = 0;
}
onClipEvent (enterFrame) {
if ((random(50) == 12) and (keluar == 0)) {
keluar = 1;
_y = (yawal + random(50));
this.gotoAndPlay(2);
}
if (keluar == 1) {
this._visible = 1;
if (this._currentframe >= 59) {
keluar = 0;
this.gotoAndStop(1);
}
} else {
this._visible = 0;
}
if (tertembak == 1) {
tertembak = 0;
this.stop();
this.bebek.gotoAndPlay(10);
jatuh = 1;
}
if (this.bebek._currentframe == 50) {
this._visible = 0;
keluar = 0;
this.bebek.gotoAndPlay(1);
this.gotoAndStop(1);
jatuh = 0;
}
}
Instance of Symbol 71 MovieClip "bebek4" in Frame 4
onClipEvent (load) {
keluar = 0;
yawal = _y;
tertembak = 0;
jatuh = 0;
}
onClipEvent (enterFrame) {
if ((random(50) == 15) and (keluar == 0)) {
keluar = 1;
_y = (yawal + random(50));
this.gotoAndPlay(2);
}
if (keluar == 1) {
this._visible = 1;
if (this._currentframe >= 59) {
keluar = 0;
this.gotoAndStop(1);
}
} else {
this._visible = 0;
}
if (tertembak == 1) {
tertembak = 0;
this.stop();
this.bebek.gotoAndPlay(10);
jatuh = 1;
}
if (this.bebek._currentframe == 50) {
this._visible = 0;
keluar = 0;
this.bebek.gotoAndPlay(1);
this.gotoAndStop(1);
jatuh = 0;
}
}
Instance of Symbol 72 MovieClip "bebek5" in Frame 4
onClipEvent (load) {
keluar = 0;
yawal = _y;
tertembak = 0;
jatuh = 0;
}
onClipEvent (enterFrame) {
if ((random(50) == 17) and (keluar == 0)) {
keluar = 1;
_y = (yawal - random(20));
this.gotoAndPlay(2);
}
if (keluar == 1) {
this._visible = 1;
if (this._currentframe >= 59) {
keluar = 0;
this.gotoAndStop(1);
}
} else {
this._visible = 0;
}
if (tertembak == 1) {
tertembak = 0;
this.stop();
this.bebek.gotoAndPlay(10);
jatuh = 1;
}
if (this.bebek._currentframe == 50) {
this._visible = 0;
keluar = 0;
this.bebek.gotoAndPlay(1);
this.gotoAndStop(1);
jatuh = 0;
}
}
Instance of Symbol 74 MovieClip "amo1" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 8) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 74 MovieClip "amo2" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 7) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 74 MovieClip "amo3" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 6) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 74 MovieClip "amo4" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 5) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 74 MovieClip "amo5" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 4) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 74 MovieClip "amo6" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 3) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 74 MovieClip "amo7" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 2) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 74 MovieClip "amo8" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 1) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 74 MovieClip "amo9" in Frame 4
onClipEvent (load) {
_visible = 0;
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi > 0) {
_visible = 1;
} else {
_visible = 0;
}
}
Instance of Symbol 76 MovieClip "isi" in Frame 4
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (_root.sasaran.amunisi < 1) {
_visible = 1;
if (Key.isDown(32)) {
_root.sasaran.amunisi = 10;
}
} else {
_visible = 0;
}
}
Instance of Symbol 80 MovieClip in Frame 4
onClipEvent (load) {
tunggu = 0;
}
onClipEvent (enterFrame) {
tunggu = tunggu + 1;
if (tunggu > 11) {
tunggu = 0;
_root.detik = _root.detik - 1;
}
if (_root.detik < 0) {
_root.detik = 59;
_root.menit = _root.menit - 1;
}
if (_root.menit < 0) {
Mouse.show();
_root.gotoAndStop(3);
}
}
Symbol 15 Button
on (release) {
gotoAndStop (3);
}
Symbol 22 Button
on (release) {
getURL ("http://www.flashgames247.com");
}
Symbol 26 Button
on (release) {
getURL ("http://www.flashgames247.com/pages/freegames.html", "_blank");
}
Symbol 38 MovieClip Frame 9
gotoAndPlay (1);
Symbol 45 Button
on (press, release) {
score = 0;
gotoAndStop (4);
}
Symbol 50 Button
on (press, release) {
fscommand ("quit");
}
Symbol 60 MovieClip Frame 9
gotoAndPlay (1);
Symbol 61 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 4
gotoAndStop (1);
Symbol 69 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 19
gotoAndStop (1);
Symbol 108 MovieClip Frame 75
_root.gotoAndPlay(2);