Frame 1
Stage.showMenu = false;
fscommand ("allowscale", "false");
Instance of Symbol 2 MovieClip "size" in Frame 1
onClipEvent (load) {
total = int(_root.getBytesTotal());
}
onClipEvent (enterFrame) {
loaded = int(_root.getBytesLoaded());
percent = int((loaded / total) * 100);
_root.percent = percent + "%";
if (percent >= 100) {
tellTarget ("_root.entermovie") {
gotoAndStop (2);
};
}
}
Frame 2
stop();
Frame 3
fscommand ("allowscale", "false");
Mouse.show();
_root.score = 0;
_root.life = 100;
stop();
Instance of Symbol 14 MovieClip "medicMC" in Frame 3
onClipEvent (enterFrame) {
medic = _root.score;
if (medic eq 5000) {
with (_root.medicMC) {
gotoAndPlay(2);
}
}
if (medic eq 10000) {
with (_root.medicMC) {
gotoAndPlay(2);
}
}
if (medic eq 12500) {
tellTarget (_root) {
gotoAndStop ("bosscoming");
};
}
}
Frame 4
Mouse.hide();
stop();
Instance of Symbol 27 MovieClip "citybigMC" in Frame 4
onClipEvent (load) {
startDrag ("_root.citybigMC", true);
}
onClipEvent (enterFrame) {
if (_root.life eq 0) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("gameover");
};
}
}
Frame 5
Mouse.show();
stop();
Frame 6
stop();
Frame 7
_root.score = _root.score + 500;
stop();
Instance of Symbol 65 MovieClip "helibigMC" in Frame 7
onClipEvent (enterFrame) {
if ((_root.helibigMC.rotor eq 0) and (_root.helibigMC.window eq 0)) {
tellTarget (_root) {
stopAllSounds();
gotoAndPlay ("crash");
};
}
if (_root.life eq 0) {
stopAllSounds();
tellTarget (_root) {
gotoAndStop ("gameover");
};
}
}
Instance of Symbol 79 MovieClip "visorbossMC" in Frame 7
onClipEvent (load) {
startDrag ("_root.visorbossMC", true);
}
Frame 8
stop();
Frame 9
Mouse.show();
stop();
Symbol 8 Button
on (release) {
tellTarget ("_root") {
play();
};
}
Symbol 6 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 2
stop();
Symbol 11 MovieClip Frame 1
if (this.sessionstarted != 1) {
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "dutchsniper";
this.arcade.sessdo = "sessionstart";
this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
if (this.sessionvars.sessiontype != 2) {
_root.is_a_challenge = 0;
} else {
_root.is_a_challenge = 1;
}
this.sessionstarted = 1;
}
if (_root.gameover == 1) {
if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
this.prequestvars = new LoadVars();
this.pranswer = new LoadVars();
this.prequestvars.gametime = this.sessionvars.gametime;
this.prequestvars.fakekey = this.sessionvars.initbar;
_root.score = int(Number(_root.score));
if (_root.score != 0) {
this.prequestvars.score = _root.score;
} else {
this.prequestvars.score = -1;
}
this.prequestvars.id = this.sessionvars.lastid;
this.prequestvars.sessdo = "permrequest";
this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey;
this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
this.askpermission = 1;
}
if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
this.burnscore = new LoadVars();
this.burnscore.microone = this.pranswer.microone;
this.burnscore.gametime = this.prequestvars.gametime;
this.burnscore.id = this.prequestvars.id;
if (_root.score == 0) {
this.burnscore.noscore = 1;
}
this.burnscore.sessdo = "burn";
this.burnscore.send("./arcade.php", "_self", "POST");
this.finalsent = 1;
}
}
Symbol 14 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 2
_root.life = "100";
Symbol 14 MovieClip Frame 10
gotoAndStop (1);
Symbol 23 Button
on (release) {
gotoAndPlay (4);
}
Symbol 25 Button
on (release) {
getURL ("http://www.limedip.nl", "_blank");
}
Symbol 35 Button
on (release) {
_root.score = _root.score + 100;
tellTarget ("_root.citybigMC.movesniperactionsMC") {
gotoAndPlay (3);
};
gotoAndPlay (1);
}
Symbol 31 MovieClip Frame 1
newDate = new Date(second);
now = newDate.getSeconds();
_root.citybigMC.citybiginsideMC.sniperanimationMC.time = now;
Symbol 31 MovieClip Frame 2
if ((now eq 1) or (now eq 31)) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 31 MovieClip Frame 15
_root.life = _root.life - 10;
gotoAndPlay (1);
Symbol 41 MovieClip Frame 1
newDate2 = new Date(second);
now2 = newDate2.getSeconds();
_root.citybigMC.movesniperactionsMC.time2 = now2;
Symbol 41 MovieClip Frame 2
if ((((((now2 eq 10) or (now2 eq 20)) or (now2 eq 32)) or (now2 eq 40)) or (nw2 eq 50)) or (now2 eq 60)) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Symbol 41 MovieClip Frame 3
position = random(10);
Symbol 41 MovieClip Frame 4
if (position eq 1) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -276);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , -160);
setProperty("_root.spotMC", _x , 213);
setProperty("_root.spotMC", _y , 143);
}
if (position eq 2) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -92);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , 261);
setProperty("_root.spotMC", _x , 305);
setProperty("_root.spotMC", _y , 352);
}
if (position eq 3) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -670);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , 90);
setProperty("_root.spotMC", _x , 16);
setProperty("_root.spotMC", _y , 268);
}
if (position eq 4) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , 194);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , 150);
setProperty("_root.spotMC", _x , 448);
setProperty("_root.spotMC", _y , 296);
}
if (position eq 5) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -131);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , -240);
setProperty("_root.spotMC", _x , 286);
setProperty("_root.spotMC", _y , 102);
}
if (position eq 6) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -399);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , -391);
setProperty("_root.spotMC", _x , 152);
setProperty("_root.spotMC", _y , 27);
}
if (position eq 7) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -562);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , 153);
setProperty("_root.spotMC", _x , 69);
setProperty("_root.spotMC", _y , 299);
}
if (position eq 8) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -109);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , 134);
setProperty("_root.spotMC", _x , 296);
setProperty("_root.spotMC", _y , 291);
}
if (position eq 9) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -203);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , 363);
setProperty("_root.spotMC", _x , 250);
setProperty("_root.spotMC", _y , 403);
}
if (position eq 10) {
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _x , -472);
setProperty("_root.citybigMC.citybiginsideMC.sniperanimationMC", _y , -73);
setProperty("_root.spotMC", _x , 114);
setProperty("_root.spotMC", _y , 188);
}
Symbol 41 MovieClip Frame 5
gotoAndPlay (1);
Instance of Symbol 29 MovieClip "citybiginsideMC" in Symbol 27 MovieClip Frame 1
onClipEvent (enterFrame) {
xmove = getProperty("_root.citybigMC", _x);
ymove = getProperty("_root.citybigMC", _y);
_x = ((350 - xmove) * 2);
_y = ((225 - ymove) * 2);
}
Symbol 47 Button
on (release) {
gotoAndPlay (4);
}
Symbol 48 Button
on (release) {
getURL ("http://www.limedip.nl", "_blank");
}
Symbol 51 Button
on (release) {
stopAllSounds();
gotoAndPlay (3);
}
Symbol 52 Button
on (release) {
_root.gameover = 1;
}
Symbol 57 Button
on (release) {
stopAllSounds();
gotoAndPlay (3);
}
Symbol 58 Button
on (release) {
_root.gameover = 1;
}
Symbol 59 MovieClip Frame 100
tellTarget (_root) {
gotoAndPlay ("boss");
};
Symbol 69 Button
on (release) {
if (0 < _root.helibigMC.rotor) {
_root.helibigMC.rotor = _root.helibigMC.rotor - 1;
_root.score = _root.score + 500;
}
}
Symbol 70 Button
on (release) {
if (0 < _root.helibigMC.window) {
_root.helibigMC.window = _root.helibigMC.window - 1;
_root.score = _root.score + 500;
}
}
Symbol 72 MovieClip Frame 100
_root.life = _root.life - 10;
Symbol 72 MovieClip Frame 122
gotoAndPlay (1);
Symbol 78 MovieClip Frame 1
targety = random(400);
currenty = getProperty("_root.helibigMC", _y);
steps = random(200) + 500;
steps2 = 0;
Symbol 78 MovieClip Frame 2
if (currenty < targety) {
nexty = currenty + 2;
} else {
nexty = currenty - 2;
}
setProperty("_root.helibigMC", _y , nexty);
steps2 = steps2 + 1;
Symbol 78 MovieClip Frame 3
if ((steps2 = steps)) {
gotoAndPlay (1);
} else {
gotoAndPlay (2);
}
Symbol 82 MovieClip Frame 35
tellTarget (_root) {
gotoAndPlay ("win");
};
stop();
Symbol 80 MovieClip Frame 60
stop();
Symbol 88 Button
on (release) {
_root.gameover = 1;
}
Symbol 89 Button
on (release) {
getURL ("http://www.limedip.nl", "_blank");
}