Frame 1
OnePercent = this.getBytesTotal() / 100;
begTime = getTimer() / 1000;
asize = getBytesTotal();
Frame 2
tellTarget ("Progress Bar") {
with ("Progress Bar") {
n = (getTimer() / 1000) - this.begTime;
bps = Math.round(this.getBytesLoaded() / n);
tr = (this.asize - this.getBytesLoaded()) / bps;
trround = Math.floor(tr);
trf = Math.round((tr - trround) * 100);
trem = Math.floor(tr) + (trf / 100);
}
gotoAndStop(Math.round(this.getBytesLoaded() / _parent.OnePercent));
};
if (this.getBytesLoaded() >= this.getBytesTotal()) {
gotoAndStop (5);
}
Frame 3
gotoAndPlay (2);
Frame 6
fscommand ("showmenu", "false");
_root.bonuslife._visible = 0;
benzin = 500;
crashcount = 0;
_root.nextlevel._visible = 0;
_root.marker_posadki._x = getProperty(_root.place1, _x);
_root.marker_posadki._y = getProperty(_root.place1, _y) - 50;
stop();
Instance of Symbol 95 MovieClip "ship" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.ship.snd.gotoAndPlay("Firesnd");
if (_root.benzin > 0) {
dx = dx - 0.1;
rot = rot - 3;
_root.ship.FireRight.gotoAndPlay("FireOn");
_root.benzin = _root.benzin - 1;
dim = _root.benzin / 500;
_root.fuel._width = 100 * dim;
}
}
if (Key.isDown(39)) {
_root.ship.snd.gotoAndPlay("Firesnd");
if (_root.benzin > 0) {
dx = dx + 0.1;
rot = rot + 3;
_root.ship.FireLeft.gotoAndPlay("FireOn");
_root.benzin = _root.benzin - 1;
dim = _root.benzin / 500;
_root.fuel._width = 100 * dim;
}
}
if (Key.isDown(38)) {
_root.ship.snd.gotoAndPlay("Firesnd");
if (_root.benzin > 0) {
dy = dy - 0.3;
_root.ship.FireBottom.gotoAndPlay("FireOn");
_root.benzin = _root.benzin - 2;
dim = _root.benzin / 500;
_root.fuel._width = 100 * dim;
}
}
if (_root.place1.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka != "2tochka") {
placeColor = new Color(_root.place1);
placeColor.setRGB(16711680);
placeColor = new Color(_root.place2);
placeColor.setRGB(65280);
posadka = "1tochka";
_root.marker_posadki._x = getProperty(_root.place2, _x);
_root.marker_posadki._y = getProperty(_root.place2, _y) - 50;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place2.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka == "1tochka") {
placeColor = new Color(_root.place2);
placeColor.setRGB(16711680);
posadka = "2tochka";
_root.nextlevel._visible = 100;
_root.marker_posadki._visible = 0;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place3.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka != "2tochka") {
placeColor = new Color(_root.place3);
placeColor.setRGB(16711680);
placeColor = new Color(_root.place4);
placeColor.setRGB(65280);
posadka = "1tochka";
_root.marker_posadki._x = getProperty(_root.place4, _x);
_root.marker_posadki._y = getProperty(_root.place4, _y) - 50;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place4.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka == "1tochka") {
placeColor = new Color(_root.place4);
placeColor.setRGB(16711680);
posadka = "2tochka";
_root.nextlevel._visible = 100;
_root.marker_posadki._visible = 0;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place5.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka != "2tochka") {
placeColor = new Color(_root.place5);
placeColor.setRGB(16711680);
placeColor = new Color(_root.place6);
placeColor.setRGB(65280);
posadka = "1tochka";
_root.marker_posadki._x = getProperty(_root.place6, _x);
_root.marker_posadki._y = getProperty(_root.place6, _y) - 50;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place6.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka == "1tochka") {
placeColor = new Color(_root.place6);
placeColor.setRGB(16711680);
posadka = "2tochka";
_root.nextlevel._visible = 100;
_root.marker_posadki._visible = 0;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place7.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka != "2tochka") {
placeColor = new Color(_root.place7);
placeColor.setRGB(16711680);
placeColor = new Color(_root.place8);
placeColor.setRGB(65280);
posadka = "1tochka";
_root.marker_posadki._x = getProperty(_root.place8, _x);
_root.marker_posadki._y = getProperty(_root.place8, _y) - 50;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place8.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka == "1tochka") {
placeColor = new Color(_root.place8);
placeColor.setRGB(16711680);
posadka = "2tochka";
_root.nextlevel._visible = 100;
_root.marker_posadki._visible = 0;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place9.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka != "2tochka") {
placeColor = new Color(_root.place9);
placeColor.setRGB(16711680);
placeColor = new Color(_root.place10);
placeColor.setRGB(65280);
posadka = "1tochka";
_root.marker_posadki._x = getProperty(_root.place10, _x);
_root.marker_posadki._y = getProperty(_root.place10, _y) - 50;
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.place10.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (posadka == "1tochka") {
placeColor = new Color(_root.place10);
placeColor.setRGB(16711680);
posadka = "2tochka";
_root.marker_posadki._visible = 0;
_root.utime = _root.Time;
_root.gotoAndStop("highscore");
}
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if (_root.fuelstation.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (_root.benzin < 500) {
_root.benzin = _root.benzin + 4;
dim = _root.benzin / 500;
_root.fuel._width = 100 * dim;
_root.fuelstation.play();
_root.alarm.play();
}
}
} else if (_root.ground.hitTest(_x, _y + 22, 1)) {
if (dy > 1.8) {
play();
} else if (Math.abs(dx) > 0.9) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (_root.benzin <= 0) {
_root.blank.play();
}
}
} else if ((_root.ground.hitTest(_x, _y - 18, 1) || _root.ground.hitTest(_x + 24, _y, 1)) || _root.ground.hitTest(_x - 24, _y, 1)) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = dy + 0.07;
if (_root.ship._y > 350) {
play();
}
_rotation = (10 * dx);
if (_root.ship._x > 500) {
if (posadka == "2tochka") {
posadka = "none";
placeColor = new Color(_root.place1);
placeColor.setRGB(65280);
_root.marker_posadki._visible = 100;
_root.gotoAndPlay(_root._currentframe + 2);
_x = (_x - 500);
}
}
if (getProperty(_root.ship, _y) < 0) {
setProperty(_root.gorizont, _visible , 100);
} else {
setProperty(_root.gorizont, _visible , 0);
}
_root.gorizont._x = getProperty(_root.ship, _x);
vmarker = int(getProperty(_root.ship, _y) * -0.1);
if (getProperty(_root.ship, _x) > 500) {
setProperty(_root.gorizont_r, _visible , 100);
} else {
setProperty(_root.gorizont_r, _visible , 0);
}
_root.gorizont_r._y = getProperty(_root.ship, _y);
r_marker = int((getProperty(_root.ship, _x) - 500) * 0.1);
if (getProperty(_root.ship, _x) < 0) {
setProperty(_root.gorizont_l, _visible , 100);
} else {
setProperty(_root.gorizont_l, _visible , 0);
}
_root.gorizont_l._y = getProperty(_root.ship, _y);
l_marker = int(getProperty(_root.ship, _x) * -0.1);
}
}
onClipEvent (enterFrame) {
if (_root.xtralife.hittest(_root.ship)) {
_root.xtralife.nextFrame();
}
}
Instance of Symbol 105 MovieClip "fuel" in Frame 6
/* no clip actions */
Instance of Symbol 109 MovieClip in Frame 6
onClipEvent (enterFrame) {
_root.count = getTimer();
t = _root.count - _root.tlavel;
s = int(t / 1000);
m = int(t / 60000);
h = int(t / 3600000);
if (s > 59) {
s = s - (m * 60);
}
if (s < 10) {
s = "0" + s;
}
if (m > 59) {
m = m - (h * 60);
}
if (m < 10) {
m = "0" + m;
}
if (h < 10) {
h = "0" + h;
}
g = String(t);
milstring = g.length;
mil = g.substring(milstring - 2, milstring);
_root.Time = (((m + ":") + s) + ":") + mil;
}
Instance of Symbol 116 MovieClip "gorizont" in Frame 6
/* no clip actions */
Frame 8
_root.nextlevel._visible = 0;
_root.marker_posadki._x = getProperty(_root.place3, _x);
_root.marker_posadki._y = getProperty(_root.place3, _y) - 50;
stop();
Frame 10
_root.nextlevel._visible = 0;
_root.marker_posadki._x = getProperty(_root.place5, _x);
_root.marker_posadki._y = getProperty(_root.place5, _y) - 50;
stop();
Frame 12
_root.nextlevel._visible = 0;
_root.marker_posadki._x = getProperty(_root.place7, _x);
_root.marker_posadki._y = getProperty(_root.place7, _y) - 50;
stop();
Frame 14
_root.nextlevel._visible = 0;
_root.marker_posadki._x = getProperty(_root.place9, _x);
_root.marker_posadki._y = getProperty(_root.place9, _y) - 50;
stop();
Frame 55
stop();
Frame 63
stop();
Symbol 10 Button
on (release, keyPress "<Enter>") {
_root.tlavel = getTimer();
gotoAndStop (6);
}
Symbol 16 Button
on (press) {
getURL ("http://www.politiekspel.nl/", "_blank");
}
Symbol 22 Button
on (release) {
getURL ("http://www.japie.nl/", "_blank");
}
Symbol 26 Button
on (release) {
getURL ("http://www.koffieman.nl/", "_blank");
}
Symbol 30 Button
on (release) {
getURL ("http://www.mahjongspel.nl/", "_blank");
}
Symbol 65 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 40
_root.crashcount = _root.crashcount + 1;
if (_root.crashcount == 1) {
_root.crashone._visible = 0;
}
if (_root.crashcount == 2) {
_root.crashtwo._visible = 0;
}
if (_root.crashcount == 3) {
_root.crashthre._visible = 0;
_root.gotoAndStop("game over");
}
_root.benzin = 100;
dim = _root.benzin / 200;
_root.fuel._width = 100 * dim;
_root.ship._x = 50;
_root.ship._y = 50;
_root.ship.dy = 1;
_root.ship.dx = 0;
_root.ship.rot = 0;
_root.bonuslife._visible = 0;
stop();
if ((_root.benzin = 0)) {
_root.bonuslife._visible = 0;
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 95 MovieClip Frame 1
_x = 50;
_y = 50;
dy = 1;
dx = 0;
rot = 0;
stop();
Symbol 95 MovieClip Frame 51
_root.bonuslife._visible = 0;
_root.crashcount = _root.crashcount + 1;
if (_root.crashcount == 1) {
_root.crashone._visible = 0;
}
if (_root.crashcount == 2) {
_root.crashtwo._visible = 0;
}
if (_root.crashcount == 3) {
_root.crashthre._visible = 0;
_root.gotoAndPlay("game over");
}
_root.benzin = 300;
dim = _root.benzin / 500;
_root.fuel._width = 100 * dim;
gotoAndPlay (1);
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 3
stop();
Symbol 98 MovieClip Frame 4
stop();
Symbol 98 MovieClip Frame 5
stop();
Symbol 98 MovieClip Frame 6
stop();
Symbol 98 MovieClip Frame 7
stop();
Symbol 98 MovieClip Frame 8
stop();
Symbol 98 MovieClip Frame 9
stop();
Symbol 98 MovieClip Frame 10
stop();
Symbol 98 MovieClip Frame 11
stop();
Symbol 98 MovieClip Frame 12
stop();
Symbol 98 MovieClip Frame 13
stop();
Symbol 98 MovieClip Frame 14
stop();
Symbol 98 MovieClip Frame 15
stop();
Symbol 98 MovieClip Frame 16
stop();
Symbol 98 MovieClip Frame 17
stop();
Symbol 98 MovieClip Frame 18
stop();
Symbol 98 MovieClip Frame 19
stop();
Symbol 98 MovieClip Frame 20
stop();
Symbol 98 MovieClip Frame 21
stop();
Symbol 98 MovieClip Frame 22
stop();
Symbol 98 MovieClip Frame 23
stop();
Symbol 98 MovieClip Frame 24
stop();
Symbol 98 MovieClip Frame 25
stop();
Symbol 98 MovieClip Frame 26
stop();
Symbol 98 MovieClip Frame 27
stop();
Symbol 98 MovieClip Frame 28
stop();
Symbol 98 MovieClip Frame 29
stop();
Symbol 98 MovieClip Frame 30
stop();
Symbol 98 MovieClip Frame 31
stop();
Symbol 98 MovieClip Frame 32
stop();
Symbol 98 MovieClip Frame 33
stop();
Symbol 98 MovieClip Frame 34
stop();
Symbol 98 MovieClip Frame 35
stop();
Symbol 98 MovieClip Frame 36
stop();
Symbol 98 MovieClip Frame 37
stop();
Symbol 98 MovieClip Frame 38
stop();
Symbol 98 MovieClip Frame 39
stop();
Symbol 98 MovieClip Frame 40
stop();
Symbol 98 MovieClip Frame 41
stop();
Symbol 98 MovieClip Frame 42
stop();
Symbol 98 MovieClip Frame 43
stop();
Symbol 98 MovieClip Frame 44
stop();
Symbol 98 MovieClip Frame 45
stop();
Symbol 98 MovieClip Frame 46
stop();
Symbol 98 MovieClip Frame 47
stop();
Symbol 98 MovieClip Frame 48
stop();
Symbol 98 MovieClip Frame 49
stop();
Symbol 98 MovieClip Frame 50
stop();
Symbol 98 MovieClip Frame 51
stop();
Symbol 98 MovieClip Frame 52
stop();
Symbol 98 MovieClip Frame 53
stop();
Symbol 98 MovieClip Frame 54
stop();
Symbol 98 MovieClip Frame 55
stop();
Symbol 98 MovieClip Frame 56
stop();
Symbol 98 MovieClip Frame 57
stop();
Symbol 98 MovieClip Frame 58
stop();
Symbol 98 MovieClip Frame 59
stop();
Symbol 98 MovieClip Frame 60
stop();
Symbol 98 MovieClip Frame 61
stop();
Symbol 98 MovieClip Frame 62
stop();
Symbol 98 MovieClip Frame 63
stop();
Symbol 98 MovieClip Frame 64
stop();
Symbol 98 MovieClip Frame 65
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 1
_root.bonuslife._visible = 0;
stop();
Instance of Symbol 236 MovieClip in Symbol 237 MovieClip Frame 1
/* no clip actions */
Symbol 237 MovieClip Frame 2
_root.crashcount = _root.crashcount - 1;
_root.bonuslife._visible = 1;
Symbol 267 MovieClip Frame 1
stop();
Symbol 281 Button
on (release, keyPress "<Enter>") {
_root.tlavel = getTimer();
benzin = 500;
crashcount = 0;
gotoAndStop (6);
crashone._visible = 1;
crashtwo._visible = 1;
crashthre._visible = 1;
}
Symbol 290 Button
on (release) {
tijd = _root.utime;
getURL ("inserthighscore.php", "", "POST");
}