Frame 1
kbytesLoaded = int(Math.round((_root.getBytesLoaded() / 1024) * 100) / 100);
kbytesLeft = int(Math.round((_root.getBytesTotal() - (_root.getBytesLoaded() / 1024)) * 100) / 100);
kbytesTotal = int(Math.round((_root.getBytesTotal() / 1024) * 100) / 100);
percent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if ((99 < percent) || (kbytesLoaded == kbytesLeft)) {
gotoAndPlay (5);
}
loadTxt = percent + "%";
bar.bar._xscale = percent;
Frame 2
gotoAndPlay (1);
Frame 5
jukebox.loadMovie("http://kamer1.com/ahblaffer/boogie.swf");
stop();
Instance of Symbol 26 MovieClip "bar" in Frame 5
onClipEvent (load) {
this.check = true;
}
onClipEvent (enterFrame) {
kbytesLoaded = int(Math.round((_root.jukebox.getBytesLoaded() / 1024) * 100) / 100);
kbytesLeft = int(Math.round((_root.jukebox.getBytesTotal() - (_root.jukebox.getBytesLoaded() / 1024)) * 100) / 100);
kbytesTotal = int(Math.round((_root.jukebox.getBytesTotal() / 1024) * 100) / 100);
percent = Math.round((_root.jukebox.getBytesLoaded() / _root.jukebox.getBytesTotal()) * 100);
if (this.check) {
if ((99 < percent) || (kbytesLoaded == kbytesLeft)) {
this._visible = false;
_parent.loadTxt = "";
_parent.loadTitle = "";
_root.muzakLoaded = true;
this.check = false;
} else {
_parent.loadTxt = percent + "%";
this.bar._xscale = percent;
}
}
}
Frame 7
MovieClip.prototype.rotateB = function () {
_root.b._rotation = rotation;
targetrot = rotation - (Math.random() * 60);
_root.b._rotation = _root.b._rotation - targetrot;
_root.contact = false;
};
alarm = new Sound(_root.sfx);
alarm.setVolume(65);
alarm.attachSound("alarm");
ookwat = new Sound(_root.sfx);
ookwat.setVolume(100);
ookwat.attachSound("b-ookwat");
_root.totalPoints = 0;
_root.thugsGone = 0;
if (_root.muzakLoaded) {
_root.jukebox.gotoAndPlay(2);
} else {
_root.waitingForMuzak = true;
}
death1 = new Sound(_root.sfx2);
death1.setVolume(90);
death1.attachSound("death1");
death2 = new Sound(_root.sfx2);
death2.setVolume(90);
death2.attachSound("death2");
death3 = new Sound(_root.sfx2);
death3.setVolume(90);
death3.attachSound("death3");
death4 = new Sound(_root.sfx2);
death4.setVolume(90);
death4.attachSound("death4");
death5 = new Sound(_root.sfx2);
death5.setVolume(90);
death5.attachSound("death5");
ahscream1 = new Sound(_root.sfx2);
ahscream1.setVolume(90);
ahscream1.attachSound("ahscream1");
ahscream2 = new Sound(_root.sfx2);
ahscream2.setVolume(90);
ahscream2.attachSound("ahscream2");
ahscream3 = new Sound(_root.sfx2);
ahscream3.setVolume(90);
ahscream3.attachSound("ahscream3");
ahscream4 = new Sound(_root.sfx2);
ahscream4.setVolume(90);
ahscream4.attachSound("ahscream4");
ahscream5 = new Sound(_root.sfx2);
ahscream5.setVolume(90);
ahscream5.attachSound("ahscream5");
bschietAh1 = new Sound(sfx3);
bschietAh1.setVolume(90);
bschietAh1.attachSound("bschietAh1");
bschietAh2 = new Sound(_root.sfx3);
bschietAh2.setVolume(90);
bschietAh2.attachSound("bschietAh2");
bschietAh3 = new Sound(_root.sfx3);
bschietAh3.setVolume(90);
bschietAh3.attachSound("bschietAh3");
bschietAh4 = new Sound(_root.sfx3);
bschietAh4.setVolume(90);
bschietAh4.attachSound("bschietAh4");
bschietThug1 = new Sound(_root.sfx3);
bschietThug1.setVolume(90);
bschietThug1.attachSound("bschietThug1");
bschietThug2 = new Sound(_root.sfx3);
bschietThug2.setVolume(90);
bschietThug2.attachSound("bschietThug2");
bschietThug3 = new Sound(_root.sfx3);
bschietThug3.setVolume(90);
bschietThug3.attachSound("bschietThug3");
bschietThug4 = new Sound(_root.sfx3);
bschietThug4.setVolume(90);
bschietThug4.attachSound("bschietThug4");
MovieClip.prototype.bschietAH = function () {
randomGeluid2 = Math.floor(3 * Math.random()) + 1;
schietah = "bschietAh" + randomGeluid2;
eval ("_root." + schietah).start(0, 1);
};
MovieClip.prototype.bschietThug = function () {
randomGeluid3 = Math.floor(4 * Math.random()) + 1;
schietthug = "bschietThug" + randomGeluid3;
eval ("_root." + schietthug).start(0, 1);
};
MovieClip.prototype.deathscream = function () {
randomGeluid = Math.floor(4 * Math.random()) + 1;
playDeath = "death" + randomGeluid;
eval ("_root." + playDeath).start(0, 1);
trace(playDeath);
};
MovieClip.prototype.kassawijfscream = function () {
randomGeluid = Math.floor(4 * Math.random()) + 1;
playKassawijfschreeuw = "ahscream" + randomGeluid;
eval ("_root." + playKassawijfschreeuw).start(0, 1);
trace(playKassawijfschreeuw);
};
stop();
Instance of Symbol 79 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.thugsGone == 10) {
_root.gotoAndPlay("gameover");
}
if (_root.waitingForMuzak) {
if (_root.muzakLoaded) {
_root.jukebox.gotoAndPlay(2);
_root.waitingForMuzak = false;
}
}
}
Instance of Symbol 87 MovieClip in Frame 7
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bshadow)) {
_root.contact = true;
_root.rotateB();
if (!_root.merc1.alarmed) {
_root.merc1.gotoAndPlay("alarm");
}
}
}
Instance of Symbol 87 MovieClip in Frame 7
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bshadow)) {
_root.contact = true;
_root.rotateB();
}
}
Instance of Symbol 87 MovieClip in Frame 7
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bshadow)) {
_root.contact = true;
_root.rotateB();
}
}
Instance of Symbol 87 MovieClip in Frame 7
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bshadow)) {
_root.contact = true;
_root.rotateB();
}
}
Instance of Symbol 117 MovieClip "ahmc" in Frame 7
/* no clip actions */
Instance of Symbol 148 MovieClip "thugMC" in Frame 7
onClipEvent (load) {
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
}
Instance of Symbol 159 MovieClip "b" in Frame 7
onClipEvent (load) {
this.shooting = false;
_root.contact = false;
_yscale = 50;
_xscale = 50;
}
onClipEvent (enterFrame) {
if (key.isdown(key.space) && (!this.shooting)) {
shooting = true;
this.gotoAndPlay(2);
}
if (key.isdown(37)) {
car_rot = car_rot - 2.8;
} else if (key.isdown(39)) {
car_rot = car_rot + 2.8;
}
if (key.isdown(38)) {
speed = speed + 2;
} else if (key.isdown(40)) {
speed = speed - 2;
}
speed = speed / 1.3;
car_rot = car_rot / 1.4;
if (_root.contact == false) {
rad = (_rotation * Math.PI) / 180;
_x = (_x + (speed * Math.cos(rad)));
_y = (_y + (speed * Math.sin(rad)));
if (_x < 20) {
_x = 20;
}
if (560 < _x) {
_x = 560;
}
if (_y < 30) {
_y = 30;
}
if (320 < _y) {
_y = 320;
}
}
_rotation = (_rotation + car_rot);
_root.car_x = _x;
_root.car_y = _y;
}
Instance of Symbol 116 MovieClip "bshadow" in Frame 7
onClipEvent (load) {
_yscale = 65;
_xscale = 65;
}
onClipEvent (enterFrame) {
this._x = _parent.b._x - 14;
this._y = _parent.b._y - 4;
}
Frame 9
naam = "";
email = "";
stop();
Frame 12
getURL ("javascript:location.href=location.href;");
stop();
Frame 13
stop();
Frame 15
stop();
Instance of Symbol 24 MovieClip "bar" in Symbol 26 MovieClip Frame 1
onClipEvent (load) {
this._xscale = 0;
}
Symbol 30 Button
on (release) {
getURL ("http://kamer1.com/ahblaffer/getscore.html", "_blank");
}
Symbol 31 Button
on (release) {
gotoAndStop (15);
}
Symbol 32 Button
on (release) {
gotoAndStop (13);
}
Symbol 54 Button
on (release) {
gotoAndPlay (7);
}
Symbol 70 MovieClip Frame 1
alarmed = false;
stop();
Symbol 70 MovieClip Frame 2
alarmed = true;
_root.alarm.start(0, 16);
Symbol 70 MovieClip Frame 41
_root.ookwat.start(0, 1);
Symbol 70 MovieClip Frame 105
gotoAndPlay (1);
Symbol 114 MovieClip Frame 1
dying = false;
stop();
Symbol 114 MovieClip Frame 2
dying = true;
time = 0;
targetTime = Math.floor(100 * Math.random());
goFrame = Math.floor(10 * Math.random());
play();
Symbol 114 MovieClip Frame 30
if (time >= targetTime) {
_parent.gotoAndPlay("pad" add goFrame);
gotoAndStop (1);
}
Symbol 114 MovieClip Frame 31
time++;
gotoAndPlay (30);
Symbol 117 MovieClip Frame 1
t1.gotoAndStop(1);
Instance of Symbol 116 MovieClip "ahShadow" in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
this._x = _root.ahmc.ah._x;
this._y = _root.ahmc.ah._y - 5;
}
Symbol 117 MovieClip Frame 160
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 161
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 280
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 281
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 584
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 585
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 734
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 735
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 864
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 865
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 944
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 945
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 1004
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 1005
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 1073
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 1074
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 1204
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 1205
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 1352
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 117 MovieClip Frame 1353
t1.gotoAndStop(1);
Symbol 117 MovieClip Frame 1408
t1.gotoAndStop(1);
goFrame = Math.floor(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 147 MovieClip Frame 1
dying = false;
stop();
Symbol 147 MovieClip Frame 2
dying = true;
time = 0;
targetTime = Math.floor(100 * Math.random());
goFrame = Math.floor(10 * Math.random());
play();
Symbol 147 MovieClip Frame 30
if (time >= targetTime) {
_parent.gotoAndPlay("pad" add goFrame);
gotoAndStop (1);
}
Symbol 147 MovieClip Frame 31
time++;
gotoAndPlay (30);
Symbol 148 MovieClip Frame 1
t1.gotoAndStop(1);
Instance of Symbol 116 MovieClip "tShadow" in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
this._x = _root.thugMC.t1._x;
this._y = _root.thugMC.t1._y - 5;
}
Symbol 148 MovieClip Frame 160
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 161
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 280
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 281
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 440
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 441
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 590
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 591
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 720
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 721
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 800
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 801
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 860
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 861
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 929
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 930
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 1060
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 1061
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 1149
_root.thugsGone++;
goFrame = Math.round(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 148 MovieClip Frame 1150
t1.gotoAndStop(1);
Symbol 148 MovieClip Frame 1205
_root.thugsGone++;
t1.gotoAndStop(1);
goFrame = Math.floor(10 * Math.random());
gotoAndPlay("pad" add goFrame);
Symbol 159 MovieClip Frame 1
stop();
Instance of Symbol 152 MovieClip in Symbol 159 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.thugMC.tShadow) && (!_root.thugMC.t1.dying)) {
_root.totalPoints = _root.totalPoints + 50;
_root.thugMC.t1.gotoAndPlay(2);
_root.thugMC.stop();
deathscream();
bschietThug();
}
if (this.hitTest(_root.ahmc.ahShadow) && (!_root.ahmc.ah.dying)) {
_root.totalPoints = _root.totalPoints - 100;
_root.ahmc.ah.gotoAndPlay(2);
_root.ahmc.stop();
kassawijfscream();
bschietAH();
}
if (this.hitTest(_root.merc1)) {
if (!_root.merc1.alarmed) {
_root.totalPoints = _root.totalPoints - 25;
_root.merc1.gotoAndPlay("alarm");
}
}
}
Symbol 159 MovieClip Frame 25
shooting = false;
gotoAndStop (1);
Symbol 161 Button
on (release) {
getURL ("http://kamer1.com/ahblaffer/putscore.html", "_blank", "POST");
gotoAndPlay (11);
}
Symbol 173 Button
on (release) {
gotoAndPlay (5);
}