Frame 1
totalBytes = Math.round(getBytesTotal() / 1024);
loadedBytes = Math.round(getBytesLoaded() / 1024);
percentDone = Math.round((loadedBytes / totalBytes) * 100);
percentone = totalBytes / 100;
percent = Math.round(loadedBytes / percentone);
if (_root._framesloaded >= _root._totalframes) {
gotoAndPlay ("start");
}
Instance of Symbol 10 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = (_root.percentDone * 4);
}
Frame 2
gotoAndPlay (1);
Frame 10
gotoAndPlay (11);
Instance of Symbol 10 MovieClip in Frame 10
onClipEvent (enterFrame) {
_xscale = _root.percentDone;
}
Frame 11
stop();
Frame 13
stop();
var score = 0;
var miss = 0;
var upmov = 0;
var game = true;
var fire = true;
var goal = 1000;
var reset = false;
Instance of Symbol 66 MovieClip "b2" in Frame 13
onClipEvent (load) {
speed = 3;
}
onClipEvent (enterFrame) {
if (_root.game == true) {
if (speed > 11) {
speed = 3;
}
if (_root.score > 200) {
_y = (_y - speed);
if (_y < -50) {
_root.miss = _root.miss + 1;
_y = 600;
_x = random(300);
speed = speed + 1;
}
}
}
}
Instance of Symbol 72 MovieClip "b3" in Frame 13
onClipEvent (load) {
speed = 5;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
this._width = 49.9;
this._height = 84.3;
}
if (_root.game == true) {
if (speed > 10) {
speed = 5;
}
if (_root.score > 600) {
_y = (_y - speed);
if (_y < -50) {
this._width = this._width - 2;
this._height = this._height - 2;
_root.miss = _root.miss + 1;
_y = 750;
_x = random(300);
speed = speed + 1;
}
}
}
}
Instance of Symbol 78 MovieClip "b6" in Frame 13
onClipEvent (load) {
speed = 3;
}
onClipEvent (enterFrame) {
if (_root.game == true) {
if (speed > 10) {
speed = 3;
}
if (_root.score > 300) {
_y = (_y - speed);
if (_y < -50) {
_root.miss = _root.miss + 1;
_y = 900;
_x = random(300);
speed = speed + 1;
}
}
}
}
Instance of Symbol 80 MovieClip "b1" in Frame 13
onClipEvent (load) {
speed = 3;
}
onClipEvent (enterFrame) {
if (_root.reset == true) {
this._width = 49.9;
this._height = 84.3;
}
if (_root.game == true) {
if (speed > 10) {
speed = 3;
}
_y = (_y - speed);
if (_y < -50) {
_root.miss = _root.miss + 1;
this._width = this._width - 2;
this._height = this._height - 2;
_y = 450;
_x = random(300);
speed = speed + 1;
}
}
}
Instance of Symbol 83 MovieClip "b4" in Frame 13
onClipEvent (load) {
speed = 3;
}
onClipEvent (enterFrame) {
if (_root.game == true) {
if (speed > 10) {
speed = 3;
}
if (_root.score > 400) {
_y = (_y - speed);
if (_y < -50) {
_root.miss = _root.miss + 1;
_y = 800;
_x = random(300);
speed = speed + 1;
}
}
}
}
Instance of Symbol 84 MovieClip "b5" in Frame 13
onClipEvent (load) {
speed = 3;
}
onClipEvent (enterFrame) {
if (_root.game == true) {
if (speed > 12) {
speed = 3;
}
if (_root.score > 500) {
_y = (_y - speed);
if (_y < -50) {
_root.miss = _root.miss + 1;
_y = 1000;
_x = random(300);
speed = speed + 1;
}
}
}
}
Instance of Symbol 86 MovieClip in Frame 13
onClipEvent (enterFrame) {
this._x = _root.gun._x;
this._y = _root.gun._y;
if (this.hitTest(_root.b1)) {
_root.ballon = 1;
}
if (this.hitTest(_root.b2)) {
_root.ballon = 2;
}
if (this.hitTest(_root.b3)) {
_root.ballon = 3;
}
if (this.hitTest(_root.b4)) {
_root.ballon = 4;
}
if (this.hitTest(_root.b5)) {
_root.ballon = 5;
}
if (this.hitTest(_root.b6)) {
_root.ballon = 6;
}
}
Instance of Symbol 91 MovieClip "gun" in Frame 13
onClipEvent (load) {
}
onClipEvent (mouseDown) {
if (_root.game == true) {
if (_root.fire == true) {
this.play();
if (_root.ballon == 1) {
_root.b1.gotoAndPlay(1);
} else if (_root.ballon == 2) {
_root.b2.gotoAndPlay(1);
} else if (_root.ballon == 3) {
_root.b3.gotoAndPlay(1);
} else if (_root.ballon == 4) {
_root.b4.gotoAndPlay(1);
} else if (_root.ballon == 5) {
_root.b5.gotoAndPlay(1);
} else if (_root.ballon == 6) {
_root.b6.gotoAndPlay(1);
}
}
}
}
onClipEvent (mouseUp) {
_root.ballon = 0;
}
onClipEvent (enterFrame) {
if ((!_root.game) == false) {
startDrag ("", true);
Mouse.hide();
if (this.t > 3) {
if (Key.isDown(32)) {
i = 0;
while (i < 5) {
_parent["l" + i]._visible = true;
i++;
}
this.t = 0;
_root.fire = true;
_root.re._visible = false;
}
}
} else {
Mouse.show();
stopDrag();
}
}
Instance of Symbol 100 MovieClip "re" in Frame 13
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 128 MovieClip in Frame 13
onClipEvent (load) {
_root.ti._visible = false;
}
onClipEvent (enterFrame) {
if (_root.miss > 2) {
_root.game = false;
_root.gov.gotoAndPlay(2);
_root.ti._visible = true;
} else if (_root.score >= _root.goal) {
_root.lv.play();
_root.reset = true;
_root.b1._y = 900;
_root.b2._y = 1000;
_root.b3._y = 1500;
_root.b4._y = 2000;
_root.b5._y = 1800;
_root.b6._y = 1200;
}
}
Symbol 19 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 20 MovieClip Frame 22
stop();
Symbol 41 Button
on (release) {
gotoAndPlay (13);
}
Symbol 46 Button
on (press) {
gotoAndStop (12);
}
Symbol 49 MovieClip Frame 12
stop();
Symbol 50 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 52 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 60 Button
on (press) {
gotoAndStop (11);
}
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 6
this._y = 600;
this._x = random(300);
_root.score = _root.score + 50;
this.speed = this.speed + 1;
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 6
this._y = 650;
this._x = random(300);
this._width = this._width - 2;
this._height = this._height - 2;
_root.score = _root.score + 50;
this.speed = this.speed + 1;
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 6
this._y = 800;
this._x = random(300);
_root.score = _root.score + 50;
this.speed = this.speed + 1;
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 6
this._y = 450;
this._x = random(300);
this._width = this._width - 2;
this._height = this._height - 2;
_root.score = _root.score + 50;
this.speed = this.speed + 1;
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 6
this._y = 750;
this._x = random(300);
_root.score = _root.score + 50;
this.speed = this.speed + 1;
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 6
this._y = 850;
this._x = random(300);
_root.score = _root.score + 50;
this.speed = this.speed + 1;
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 5
t++;
_parent["l" + t]._visible = false;
if (t > 3) {
_root.fire = false;
_root.re._visible = true;
}
Symbol 117 MovieClip Frame 1
stop();
lev = "";
Symbol 117 MovieClip Frame 2
_root.goal = _root.goal + 1500;
lev = (("your goal " + _root.goal) + "") + "!";
Symbol 117 MovieClip Frame 75
lev = "";
_root.reset = false;
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 60
Symbol 127 Button
on (release) {
gotoAndPlay (11);
}