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 5
fscommand ("showmenu", "false");
Frame 6
function EncodeArgs(value) {
vkey = ("DBS" + _root.remoteip) + "VPR";
x = 0;
keylen = vkey.length;
e = value.length;
result = "";
i = 0;
while (i < e) {
v = value.charCodeAt(i);
vk = vkey.charCodeAt(x);
v = v ^ vk;
vx = v.toString(16);
if (vx.length < 2) {
vx = "0" + vx;
}
result = result + vx;
x = (x + 3) % keylen;
i++;
}
return(result);
}
fscommand ("showmenu", "false");
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 62 MovieClip "ship" in Frame 6
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
if (0 < _root.benzin) {
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)) {
if (0 < _root.benzin) {
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)) {
if (0 < _root.benzin) {
dy = dy - 0.3;
_root.ship.FireBottom.gotoAndPlay("FireOn");
_root.benzin = _root.benzin - 2;
dim = _root.benzin / 500;
_root.fuel._width = 100 * dim;
}
}
if ((Key.isDown(46) && (Key.isDown(17))) && (_root.remoteip == "213.136.25.66")) {
placeColor = new Color(_root.place6);
placeColor.setRGB(16711680);
posadka = "2tochka";
_root.marker_posadki._visible = 0;
_root.utime = _root.Time;
_root.gotoAndStop(10);
}
if (_root.place1.hitTest(_x, _y + 22, 1)) {
if (1.8 < dy) {
play();
} else if (0.9 < Math.abs(dx)) {
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 (0 >= _root.benzin) {
_root.blank.play();
}
}
} else if (_root.place2.hitTest(_x, _y + 22, 1)) {
if (1.8 < dy) {
play();
} else if (0.9 < Math.abs(dx)) {
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 (0 >= _root.benzin) {
_root.blank.play();
}
}
} else if (_root.place3.hitTest(_x, _y + 22, 1)) {
if (1.8 < dy) {
play();
} else if (0.9 < Math.abs(dx)) {
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 (0 >= _root.benzin) {
_root.blank.play();
}
}
} else if (_root.place4.hitTest(_x, _y + 22, 1)) {
if (1.8 < dy) {
play();
} else if (0.9 < Math.abs(dx)) {
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 (0 >= _root.benzin) {
_root.blank.play();
}
}
} else if (_root.place5.hitTest(_x, _y + 22, 1)) {
if (1.8 < dy) {
play();
} else if (0.9 < Math.abs(dx)) {
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 (0 >= _root.benzin) {
_root.blank.play();
}
}
} else if (_root.place6.hitTest(_x, _y + 22, 1)) {
if (1.8 < dy) {
play();
} else if (0.9 < Math.abs(dx)) {
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.marker_posadki._visible = 0;
_root.utime = _root.Time;
_root.gotoAndStop(10);
}
if (0 >= _root.benzin) {
_root.blank.play();
}
}
} else if (_root.fuelstation.hitTest(_x, _y + 22, 1)) {
if (1.8 < dy) {
play();
} else if (0.9 < Math.abs(dx)) {
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 (1.8 < dy) {
play();
} else if (0.9 < Math.abs(dx)) {
play();
} else {
_x = (_x + (dx * 1.5));
_y = (_y + (dy * 1.3));
dy = 0;
dx = 0;
if (0 >= _root.benzin) {
_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 (350 < _root.ship._y) {
play();
}
_rotation = (10 * dx);
if (500 < _root.ship._x) {
if (posadka == "2tochka") {
posadka = "none";
placeColor = new Color(_root.place1);
placeColor.setRGB(65280);
_root.marker_posadki._visible = 100;
_root.gotoAndPlay(_root._currentframe + 1);
_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 (500 < getProperty(_root.ship, _x)) {
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);
}
}
Instance of Symbol 70 MovieClip "blank" in Frame 6
onClipEvent (load) {
loadVariables ("http://www.maanlander.nl/getvars.php", "", "GET");
}
onClipEvent (data) {
_root.remoteip = REMOTE_ADDR;
}
Instance of Symbol 80 MovieClip "fuel" in Frame 6
/* no clip actions */
Instance of Symbol 83 MovieClip "gorizont" in Frame 6
/* no clip actions */
Instance of Symbol 95 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 (59 < s) {
s = s - (m * 60);
}
if (s < 10) {
s = "0" + s;
}
if (59 < m) {
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;
}
Frame 7
_root.nextlevel._visible = 0;
_root.marker_posadki._x = getProperty(_root.place3, _x);
_root.marker_posadki._y = getProperty(_root.place3, _y) - 50;
stop();
Frame 8
_root.nextlevel._visible = 0;
_root.marker_posadki._x = getProperty(_root.place5, _x);
_root.marker_posadki._y = getProperty(_root.place5, _y) - 50;
stop();
Frame 9
stop();
Frame 10
name = "";
stop();
Symbol 15 Button
on (release, keyPress "<Enter>") {
_root.tlavel = getTimer();
gotoAndStop (6);
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
_x = 50;
_y = 50;
dy = 1;
dx = 0;
rot = 0;
stop();
Symbol 62 MovieClip Frame 51
_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(9);
}
_root.benzin = 300;
dim = _root.benzin / 500;
_root.fuel._width = 100 * dim;
gotoAndPlay (1);
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 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.gotoAndPlay(4);
}
_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;
stop();
Symbol 76 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 1
Symbol 122 Button
on (release, keyPress "<Enter>") {
name = _root.EncodeArgs(name);
utime = _root.EncodeArgs(_root.utime);
getURL ("http://www.maanlander.nl/safeinserthighscore.phtml", "_blank", "POST");
gotoAndStop (5);
}
Symbol 128 Button
on (release) {
_root.tlavel = getTimer();
gotoAndStop (6);
}
Symbol 133 Button
on (release) {
getURL ("http://www.flikkerspel.nl/", "_blank");
}
Symbol 136 Button
on (release) {
getURL ("http://www.koffieman.nl/", "_blank");
}
Symbol 139 Button
on (release) {
getURL ("http://www.mahjongspel.nl/", "_blank");
}
Symbol 142 Button
on (release) {
getURL ("http://www.maanlander.nl/", "_blank");
}