Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
MochiAd.showPreGameAd({id:"1675a4ba17ef9ff7", res:"800x440"});
__com_mochibot__("9443e4dc", this, 10301, true);
_root.lavr = 34;
_root.gore = 2;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com/");
}
_root.user = SharedObject.getLocal("user_schoolbusfrenzy");
_root.tuto = 2;
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 2
if (_root.gofuckyourself == 2) {
stop();
}
Frame 3
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (19);
}
};
Frame 19
stop();
stopAllSounds();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
stop();
_root.foisgameover = 0;
_root.pts = 0;
_root.peteini = 1;
_root.speedini = 2;
_root.lvl = 1;
_root.gotkids = 0;
Instance of Symbol 65 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "PLAY";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(21);
}
}
Instance of Symbol 65 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "CREDITS";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(22);
}
}
Instance of Symbol 65 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "GORE VERSION";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 65 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "MORE GAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 65 MovieClip in Frame 21
onClipEvent (load) {
boxx.txx = "ARCADE MODE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(23);
}
}
Instance of Symbol 65 MovieClip in Frame 21
onClipEvent (load) {
boxx.txx = "SURVIVAL MODE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(24);
}
}
Instance of Symbol 65 MovieClip in Frame 22
onClipEvent (load) {
boxx.txx = "BACK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(20);
}
}
Instance of Symbol 65 MovieClip in Frame 22
onClipEvent (load) {
boxx.txx = "PYROZEN";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.pyrozen.com/", "_blank");
}
}
Frame 23
stop();
if (_root.lvl == 11) {
gotoAndStop (29);
}
_root.ptsb = _root.pts;
_root.gotkids = 0;
if (_root.lvl == 1) {
_root.car1speed = 2;
_root.car1time = 50;
_root.car1side = 1;
_root.car2speed = 2;
_root.car2time = 65;
_root.car2side = 2;
_root.car3speed = 1;
_root.car3time = 1;
_root.car3side = 1;
_root.car4speed = 1;
_root.car4time = 1;
_root.car4side = 1;
_root.car5speed = 1;
_root.car5time = 1;
_root.car5side = 1;
_root.streets = 2;
_root.nbkids = 2;
}
if (_root.lvl == 2) {
_root.car1speed = 4;
_root.car1time = 30;
_root.car1side = 2;
_root.car2speed = 2;
_root.car2time = 45;
_root.car2side = 1;
_root.car3speed = 4;
_root.car3time = 20;
_root.car3side = 2;
_root.car4speed = 1;
_root.car4time = 1;
_root.car4side = 1;
_root.car5speed = 1;
_root.car5time = 1;
_root.car5side = 1;
_root.streets = 3;
_root.nbkids = 2;
}
if (_root.lvl == 3) {
_root.car1speed = 6;
_root.car1time = 80;
_root.car1side = 1;
_root.car2speed = 2;
_root.car2time = 10;
_root.car2side = 1;
_root.car3speed = 4;
_root.car3time = 25;
_root.car3side = 2;
_root.car4speed = 1;
_root.car4time = 1;
_root.car4side = 1;
_root.car5speed = 1;
_root.car5time = 1;
_root.car5side = 1;
_root.streets = 3;
_root.nbkids = 3;
}
if (_root.lvl == 4) {
_root.car1speed = 6;
_root.car1time = 20;
_root.car1side = 2;
_root.car2speed = 4;
_root.car2time = 50;
_root.car2side = 1;
_root.car3speed = 5;
_root.car3time = 10;
_root.car3side = 2;
_root.car4speed = 1;
_root.car4time = 1;
_root.car4side = 1;
_root.car5speed = 1;
_root.car5time = 1;
_root.car5side = 1;
_root.streets = 3;
_root.nbkids = 4;
}
if (_root.lvl == 5) {
_root.car1speed = 3;
_root.car1time = 10;
_root.car1side = 1;
_root.car2speed = 4;
_root.car2time = 30;
_root.car2side = 1;
_root.car3speed = 5;
_root.car3time = 50;
_root.car3side = 2;
_root.car4speed = 6;
_root.car4time = 70;
_root.car4side = 2;
_root.car5speed = 1;
_root.car5time = 1;
_root.car5side = 1;
_root.streets = 4;
_root.nbkids = 5;
}
if (_root.lvl == 6) {
_root.car1speed = 2;
_root.car1time = 1;
_root.car1side = 1;
_root.car2speed = 4;
_root.car2time = 20;
_root.car2side = 1;
_root.car3speed = 6;
_root.car3time = 40;
_root.car3side = 1;
_root.car4speed = 8;
_root.car4time = 60;
_root.car4side = 1;
_root.car5speed = 1;
_root.car5time = 1;
_root.car5side = 1;
_root.streets = 4;
_root.nbkids = 6;
}
if (_root.lvl == 7) {
_root.car1speed = 5;
_root.car1time = 30;
_root.car1side = 2;
_root.car2speed = 4;
_root.car2time = 30;
_root.car2side = 2;
_root.car3speed = 3;
_root.car3time = 30;
_root.car3side = 1;
_root.car4speed = 6;
_root.car4time = 60;
_root.car4side = 1;
_root.car5speed = 1;
_root.car5time = 1;
_root.car5side = 1;
_root.streets = 4;
_root.nbkids = 7;
}
if (_root.lvl == 8) {
_root.car1speed = 7;
_root.car1time = 15;
_root.car1side = 2;
_root.car2speed = 7;
_root.car2time = 61;
_root.car2side = 1;
_root.car3speed = 8;
_root.car3time = 41;
_root.car3side = 2;
_root.car4speed = 7;
_root.car4time = 91;
_root.car4side = 1;
_root.car5speed = 8;
_root.car5time = 121;
_root.car5side = 2;
_root.streets = 5;
_root.nbkids = 8;
}
if (_root.lvl == 9) {
_root.car1speed = 4;
_root.car1time = 70;
_root.car1side = 1;
_root.car2speed = 10;
_root.car2time = 21;
_root.car2side = 1;
_root.car3speed = 2;
_root.car3time = 51;
_root.car3side = 2;
_root.car4speed = 9;
_root.car4time = 41;
_root.car4side = 1;
_root.car5speed = 3;
_root.car5time = 15;
_root.car5side = 2;
_root.streets = 5;
_root.nbkids = 9;
}
if (_root.lvl == 10) {
_root.car1speed = 10;
_root.car1time = 25;
_root.car1side = 2;
_root.car2speed = 10;
_root.car2time = 35;
_root.car2side = 2;
_root.car3speed = 10;
_root.car3time = 45;
_root.car3side = 2;
_root.car4speed = 10;
_root.car4time = 55;
_root.car4side = 2;
_root.car5speed = 10;
_root.car5time = 65;
_root.car5side = 2;
_root.streets = 5;
_root.nbkids = 9;
}
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (40);
}
};
Instance of Symbol 65 MovieClip in Frame 23
onClipEvent (load) {
boxx.txx = "NEXT LEVEL";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(26);
}
}
Instance of Symbol 65 MovieClip in Frame 23
onClipEvent (load) {
boxx.txx = "BLOODY VERSION";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 65 MovieClip in Frame 23
onClipEvent (load) {
boxx.txx = "HIGH SCORES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/hs/schoolhs.php", "_blank");
}
}
Instance of Symbol 65 MovieClip in Frame 23
onClipEvent (load) {
boxx.txx = "MORE GAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Frame 24
stop();
_root.speedini = 3;
onEnterFrame = function () {
_root.lvl = 100;
_root.car1speed = random(10) + 1;
_root.car1time = random(180) + 1;
_root.car1side = random(2) + 1;
_root.car2speed = random(10) + 1;
_root.car2time = random(180) + 1;
_root.car2side = random(2) + 1;
_root.car3speed = random(10) + 1;
_root.car3time = random(180) + 1;
_root.car3side = random(2) + 1;
_root.car4speed = random(10) + 1;
_root.car4time = random(180) + 1;
_root.car4side = random(2) + 1;
_root.car5speed = random(10) + 1;
_root.car5time = random(180) + 1;
_root.car5side = random(2) + 1;
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (40);
}
};
Instance of Symbol 65 MovieClip in Frame 24
onClipEvent (load) {
boxx.txx = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Frame 25
_root.lvl = _root.lvl + 1;
_root.padaff = 1;
stop();
Frame 26
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (40);
}
};
Instance of Symbol 65 MovieClip in Frame 26
onClipEvent (load) {
boxx.txx = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.tuto == 2) {
_root.tuto = 1;
_parent.gotoAndStop(28);
} else {
_root.got2go = 2;
}
}
}
Frame 27
_root.pts = _root.ptsb;
if (_root.foisgameover == 2) {
gotoAndStop (29);
} else {
_root.foisgameover = _root.foisgameover + 1;
}
stop();
Instance of Symbol 65 MovieClip in Frame 27
onClipEvent (load) {
boxx.txx = "RETRY";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(23);
}
}
Instance of Symbol 65 MovieClip in Frame 27
onClipEvent (load) {
boxx.txx = "MOER GAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", "_blank");
}
}
Instance of Symbol 65 MovieClip in Frame 27
onClipEvent (load) {
boxx.txx = "MAIN MENU";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(19);
}
}
Frame 40
stop();
_root.brigadier = 1;
_root.temps = 0;
_root.whodies = 0;
_root.die = 1;
_root.jeunest = 1;
_root.jeune = random(6) + 1;
_root.pete = _root.peteini;
_root.pete2 = 1;
_root.speedpete = 0;
_root.startnewperso = 2;
_root.dr = 2;
_root.dl = 1;
_root.du = 1;
_root.dd = 1;
_root.lignejaune = random(100) + 1;
_root.busposi = random(100) + 1;
if (_root.lvl == 100) {
_root.streets = random(5) + 1;
_root.nbkids = 1;
}
onEnterFrame = function () {
if (_root.fucked == 2) {
_root.fucked = 1;
gotoAndPlay (39);
}
if (_root.fucked == 2) {
_root.fucked = 1;
gotoAndStop (21);
}
if ((_root.whodies == 3) && (_root.lvl != 100)) {
_root.whodies = 4;
gotoAndStop (27);
}
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (25);
}
if (_root.persoreset == 2) {
_root.persoreset = 3;
_root.startnewperso = 2;
_root.jeune = eval (("_root.bonopack.bono" + _root.nbkids) + ".typee");
}
if (_root.persoreset == 3) {
_root.persoreset = 4;
}
if (_root.persoreset == 4) {
_root.persoreset = 1;
_root.nbkids = _root.nbkids - 1;
}
if (_root.perso._y > 440) {
_root.perso._y = 440;
}
if (_root.perso._y < 0) {
_root.perso._y = 0;
}
if (_root.perso._x < 150) {
_root.perso._x = 150;
}
if (_root.streets == 1) {
if (_root.perso._x > 320) {
_root.perso._x = 320;
}
}
if (_root.streets == 2) {
if (_root.perso._x > 410) {
_root.perso._x = 410;
}
}
if (_root.streets == 3) {
if (_root.perso._x > 510) {
_root.perso._x = 510;
}
}
if (_root.streets == 4) {
if (_root.perso._x > 605) {
_root.perso._x = 605;
}
}
if (_root.streets == 5) {
if (_root.perso._x > 700) {
_root.perso._x = 700;
}
}
if (_root.die == 1) {
_root.speed = _root.speedini + _root.speedpete;
} else {
_root.speed = 0;
}
if (_root.pete2 == 2) {
_root.speedpete = _root.speedpete + 2;
}
if ((_root.pete2 == 2) && (_root.speedpete == 10)) {
_root.pete2 = 3;
}
if (_root.pete2 == 3) {
_root.speedpete = _root.speedpete - 2;
}
if ((_root.pete2 == 3) && (_root.speedpete == 0)) {
_root.pete2 = 1;
}
if (_root.startnewperso == 2) {
_root.startnewperso = 1;
_root.pete = _root.peteini;
_root.perso._x = 150;
_root.perso._y = 220;
_root.dx = 150;
_root.dy = 220;
_root.die = 1;
_root.jeunest = 1;
if (_root.lvl == 100) {
_root.streets = random(5) + 1;
_root.nbkids = 100000 /* 0x0186A0 */;
_root.car1speed = random(10) + 1;
_root.car1time = random(180) + 1;
_root.car1side = random(2) + 1;
_root.car2speed = random(10) + 1;
_root.car2time = random(180) + 1;
_root.car2side = random(2) + 1;
_root.car3speed = random(10) + 1;
_root.car3time = random(180) + 1;
_root.car3side = random(2) + 1;
_root.car4speed = random(10) + 1;
_root.car4time = random(180) + 1;
_root.car4side = random(2) + 1;
_root.car5speed = random(10) + 1;
_root.car5time = random(180) + 1;
_root.car5side = random(2) + 1;
}
}
if (_root.cliked == 2) {
_root.cliked = 1;
_root.dx = _root._xmouse;
_root.dy = _root._ymouse;
}
if ((_root.perso._x + _root.speed) < _root.dx) {
_root.perso._x = _root.perso._x + _root.speed;
_root.dr = 2;
} else {
_root.dr = 1;
}
if ((_root.perso._x - _root.speed) > _root.dx) {
_root.perso._x = _root.perso._x - _root.speed;
_root.dl = 2;
} else {
_root.dl = 1;
}
if ((_root.perso._y + _root.speed) < _root.dy) {
_root.perso._y = _root.perso._y + _root.speed;
_root.dd = 2;
} else {
_root.dd = 1;
}
if ((_root.perso._y - _root.speed) > _root.dy) {
_root.perso._y = _root.perso._y - _root.speed;
_root.du = 2;
} else {
_root.du = 1;
}
};
Instance of Symbol 408 MovieClip "perso" in Frame 40
onClipEvent (load) {
this.dir = "R";
this.xspeed = 0;
this.yspeed = 0;
this.acceleration = 0.39;
this.decay = 0.97;
this.maxspeed = 7;
this.drop = 0.8;
}
onClipEvent (enterFrame) {
this.hitpts = new Array({x:0, y:0}, {x:10, y:10}, {x:-10, y:10}, {x:10, y:-10}, {x:-10, y:-10});
i = 0;
while (i < this.hitpts.length) {
this.localToGlobal(hitpts[i]);
if (_root.fondd.fondd.lignee.lignee.lignee.lignee.boxx.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.brigadier == 1) {
_root.brigadier = 2;
}
}
if (_root.fondd.fondd.fondd.fondd.cerclee.hitTest(hitpts[i].x, hitpts[i].y, true)) {
_root.bodyin = 2;
_root.persoreset = 2;
}
if (_root.cars.cars.car1.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.jeunest == 1) {
_root.jeunest = 2;
_root.die = 2;
_root.jeuneb = _root.jeune;
if (_root.cars.cars.car1.side == 1) {
_root.dies = 1;
} else {
_root.dies = 2;
}
}
}
if (_root.cars.cars.car2.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.jeunest == 1) {
_root.jeunest = 2;
_root.die = 2;
_root.jeuneb = _root.jeune;
if (_root.cars.cars.car2.side == 1) {
_root.dies = 1;
} else {
_root.dies = 2;
}
}
}
if (_root.cars.cars.car3.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.jeunest == 1) {
_root.jeunest = 2;
_root.die = 2;
_root.jeuneb = _root.jeune;
if (_root.cars.cars.car3.side == 1) {
_root.dies = 1;
} else {
_root.dies = 2;
}
}
}
if (_root.cars.cars.car4.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.jeunest == 1) {
_root.jeunest = 2;
_root.die = 2;
_root.jeuneb = _root.jeune;
if (_root.cars.cars.car4.side == 1) {
_root.dies = 1;
} else {
_root.dies = 2;
}
}
}
if (_root.cars.cars.car5.hitTest(hitpts[i].x, hitpts[i].y, true)) {
if (_root.jeunest == 1) {
_root.jeunest = 2;
_root.die = 2;
_root.jeuneb = _root.jeune;
if (_root.cars.cars.car5.side == 1) {
_root.dies = 1;
} else {
_root.dies = 2;
}
}
}
i++;
}
}
Symbol 5 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 5 MovieClip Frame 2
gotoAndPlay (1);
Symbol 5 MovieClip Frame 3
_root.play();
Symbol 13 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.PercentLoaded);
};
Symbol 468 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.7");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 19 MovieClip Frame 30
stop();
Symbol 20 MovieClip Frame 69
gotoAndPlay (21);
Symbol 21 Button
on (release) {
_root.got2go = 2;
}
Symbol 22 Button
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 23 MovieClip Frame 150
stop();
Symbol 28 MovieClip Frame 67
stop();
Symbol 43 MovieClip Frame 12
stop();
Symbol 44 MovieClip Frame 1
gotoAndPlay (50);
Symbol 44 MovieClip Frame 241
_root.got2go = 2;
stop();
Symbol 46 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 52 MovieClip Frame 33
stop();
Symbol 56 MovieClip Frame 60
stop();
Symbol 61 Button
on (release) {
act = 2;
}
on (rollOver) {
if ((_currentframe < 2) || (_currentframe > 51)) {
gotoAndPlay (2);
}
}
on (rollOut) {
if ((_currentframe > 1) || (_currentframe < 51)) {
gotoAndPlay (51);
}
}
Symbol 64 MovieClip Frame 20
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 50
gotoAndPlay (21);
Symbol 67 MovieClip Frame 1
stopAllSounds();
Symbol 67 MovieClip Frame 3
stop();
Symbol 71 Button
on (release) {
getURL (_root.moregameslink, "_blank");
}
Symbol 85 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/", "_blank");
};
Symbol 92 MovieClip Frame 27
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.lavr + 1);
};
Symbol 207 MovieClip Frame 2
_root.moregameslink = "http://www.agame.com";
Symbol 207 MovieClip Frame 3
_root.moregameslink = "http://www.andkon.com";
Symbol 207 MovieClip Frame 4
_root.moregameslink = "http://www.anyad.rulez.org";
Symbol 207 MovieClip Frame 5
_root.moregameslink = "http://www.armorgames.com";
Symbol 207 MovieClip Frame 6
_root.moregameslink = "http://www.bringler.com";
Symbol 207 MovieClip Frame 7
_root.moregameslink = "http://www.bubblebox.com";
Symbol 207 MovieClip Frame 8
_root.moregameslink = "http://www.bunnygames.com";
Symbol 207 MovieClip Frame 9
_root.moregameslink = "http://www.dailyfreegames.com";
Symbol 207 MovieClip Frame 10
_root.moregameslink = "http://www.directgamez.com";
Symbol 207 MovieClip Frame 11
_root.moregameslink = "http://www.2flashgames.com";
Symbol 207 MovieClip Frame 12
_root.moregameslink = "http://www.flashninjaclan.com";
Symbol 207 MovieClip Frame 13
_root.moregameslink = "http://www.freeonlinegames.com";
Symbol 207 MovieClip Frame 14
_root.moregameslink = "http://www.funny-games.biz";
Symbol 207 MovieClip Frame 15
_root.moregameslink = "http://www.gameitnow.com";
Symbol 207 MovieClip Frame 16
_root.moregameslink = "http://www.gamesplz.com";
Symbol 207 MovieClip Frame 17
_root.moregameslink = "http://www.onjogos.com.br";
Symbol 207 MovieClip Frame 18
_root.moregameslink = "http://www.gamesfreak.net";
Symbol 207 MovieClip Frame 19
_root.moregameslink = "http://www.gameshot.org";
Symbol 207 MovieClip Frame 20
_root.moregameslink = "http://www.jarkey.net";
Symbol 207 MovieClip Frame 21
_root.moregameslink = "http://www.play4all.net/";
Symbol 207 MovieClip Frame 22
_root.moregameslink = "http://www.keepbusy.net";
Symbol 207 MovieClip Frame 23
_root.moregameslink = "http://www.microjogos.com";
Symbol 207 MovieClip Frame 24
_root.moregameslink = "http://www.minijuegos.com";
Symbol 207 MovieClip Frame 25
_root.moregameslink = "http://www.mofunzone.com";
Symbol 207 MovieClip Frame 26
_root.moregameslink = "http://www.mostfungames.com";
Symbol 207 MovieClip Frame 27
_root.moregameslink = "http://www.onemorelevel.com";
Symbol 207 MovieClip Frame 28
_root.moregameslink = "http://www.online-games-zone.com/";
Symbol 207 MovieClip Frame 29
_root.moregameslink = "http://www.puffgames.com";
Symbol 207 MovieClip Frame 30
_root.moregameslink = "http://www.spele.nl";
Symbol 207 MovieClip Frame 31
_root.moregameslink = "http://www.t45ol.com";
Symbol 207 MovieClip Frame 32
_root.moregameslink = "http://www.flashbot.com";
Symbol 207 MovieClip Frame 33
_root.moregameslink = "http://www.ultimatearcade.com";
Symbol 207 MovieClip Frame 34
_root.moregameslink = "http://www.zptweb.net";
Symbol 207 MovieClip Frame 35
_root.moregameslink = "http://www.gamesfree.ca/";
Symbol 207 MovieClip Frame 36
_root.moregameslink = "http://www.jeuxvideo-flash.com/";
Symbol 207 MovieClip Frame 37
_root.moregameslink = "http://www.gamespond.net/";
Symbol 207 MovieClip Frame 38
_root.moregameslink = "http://www.flashgames.it/";
Symbol 207 MovieClip Frame 39
_root.moregameslink = "http://www.flobzoo.com/";
Symbol 207 MovieClip Frame 40
_root.moregameslink = "http://www.hallpass.com/";
Symbol 207 MovieClip Frame 41
_root.moregameslink = "http://www.addictinggames.com/";
Symbol 207 MovieClip Frame 42
_root.moregameslink = "http://www.benz.be";
Symbol 207 MovieClip Frame 43
_root.moregameslink = "http://www.net-games.co.il/";
Symbol 207 MovieClip Frame 44
_root.moregameslink = "http://www.net-games.biz/";
Symbol 207 MovieClip Frame 45
_root.moregameslink = "http://www.pinkyarcade.com/";
Symbol 207 MovieClip Frame 46
_root.moregameslink = "http://www.komikler.com/index.php";
Symbol 207 MovieClip Frame 47
_root.moregameslink = "http://www.twizl.com/";
Symbol 207 MovieClip Frame 48
_root.moregameslink = "http://www.a10.com/";
Symbol 207 MovieClip Frame 49
_root.moregameslink = "http://www.neodelight.com/";
Symbol 207 MovieClip Frame 50
_root.moregameslink = "http://www.octogames.com/";
Symbol 207 MovieClip Frame 51
_root.moregameslink = "http://www.gamedesire.com/";
Symbol 207 MovieClip Frame 52
_root.moregameslink = "http://www.arcadespark.com/ ";
Symbol 207 MovieClip Frame 53
_root.moregameslink = "http://www.killhours.com/";
Symbol 207 MovieClip Frame 54
_root.moregameslink = "http://www.flasharcadegamessite.com/";
Symbol 207 MovieClip Frame 55
_root.moregameslink = "http://www.roundgames.com/";
Symbol 207 MovieClip Frame 56
_root.moregameslink = "http://www.arcadegangsta.com/";
Symbol 207 MovieClip Frame 57
_root.moregameslink = "http://www.gamebusted.com/";
Symbol 207 MovieClip Frame 58
_root.moregameslink = "http://www.flash-games.net/";
Symbol 207 MovieClip Frame 59
_root.moregameslink = "http://www.flash-game.net/";
Symbol 207 MovieClip Frame 60
_root.moregameslink = "http://www.jeuxclic.com/";
Symbol 207 MovieClip Frame 61
_root.moregameslink = "http://www.stungames.com/";
Symbol 207 MovieClip Frame 62
_root.moregameslink = "http://www.toolight.com/";
Symbol 207 MovieClip Frame 63
_root.moregameslink = "http://www.tomsgames.com/";
Symbol 207 MovieClip Frame 64
_root.moregameslink = "http://www.octogames.com/";
Symbol 207 MovieClip Frame 65
_root.moregameslink = "http://www.branchez-vous.com/";
Symbol 224 MovieClip Frame 1
gotoAndStop(_root.lvl);
Symbol 226 MovieClip Frame 30
stop();
Symbol 240 MovieClip Frame 7
stop();
Symbol 241 MovieClip Frame 20
stop();
Symbol 244 Button
on (release) {
_root.speedini = _root.speedini + 0.5;
gotoAndStop (23);
}
on (rollOver) {
_root.padaff = 2;
}
on (rollOut) {
_root.padaff = 1;
}
Symbol 247 Button
on (release) {
_root.peteini = _root.peteini + 1;
gotoAndStop (23);
}
on (rollOver) {
_root.padaff = 3;
}
on (rollOut) {
_root.padaff = 1;
}
Symbol 252 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.padaff);
};
Symbol 261 MovieClip Frame 46
stop();
Symbol 265 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.gore);
};
Symbol 274 MovieClip Frame 15
stop();
Symbol 281 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.jeuneb);
};
Symbol 282 MovieClip Frame 31
stop();
Symbol 283 MovieClip Frame 9
stop();
Symbol 290 MovieClip Frame 10
stop();
Symbol 303 MovieClip Frame 30
stop();
Instance of Symbol 65 MovieClip in Symbol 303 MovieClip Frame 30
onClipEvent (load) {
boxx.txx = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.play();
}
}
Symbol 303 MovieClip Frame 60
stop();
Instance of Symbol 65 MovieClip in Symbol 303 MovieClip Frame 60
onClipEvent (load) {
boxx.txx = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.play();
}
}
Symbol 303 MovieClip Frame 90
stop();
Instance of Symbol 65 MovieClip in Symbol 303 MovieClip Frame 90
onClipEvent (load) {
boxx.txx = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.play();
}
}
Symbol 303 MovieClip Frame 120
stop();
Instance of Symbol 65 MovieClip in Symbol 303 MovieClip Frame 120
onClipEvent (load) {
boxx.txx = "OK";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Symbol 312 MovieClip Frame 76
_root.yourname = "";
Instance of Symbol 65 MovieClip in Symbol 312 MovieClip Frame 76
onClipEvent (load) {
boxx.txx = "SEND SCORE";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
if (_root.yourname == "") {
_parent._parent.gotoAndStop(20);
} else {
_parent.gotoAndPlay(96);
}
}
}
Instance of Symbol 65 MovieClip in Symbol 312 MovieClip Frame 76
onClipEvent (load) {
boxx.txx = "MORE GAMES";
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent._parent.gotoAndStop(20);
}
}
Symbol 312 MovieClip Frame 95
stop();
Symbol 312 MovieClip Frame 96
namee = _root.yourname;
scoree = _root.pts;
_root.namee = _root.yourname;
_root.scoree = _root.pts;
Symbol 312 MovieClip Frame 98
loadVariablesNum ("http://www.gamesfree.ca/hs/school.php?submit=1", 0, "POST");
Symbol 312 MovieClip Frame 178
_parent.gotoAndStop(19);
Symbol 314 Button
on (press) {
_root.cliked = 2;
}
on (keyPress "<Space>") {
if ((((_root.pete != 0) && (_root.moving == 2)) && (_root.pete2 == 1)) && (_root.die == 1)) {
_root.pete = _root.pete - 1;
_root.pete2 = 2;
_root.petemark = 2;
_root.petemark_x = _root.perso._x;
_root.petemark_y = _root.perso._y;
}
}
on (keyPress "r") {
gotoAndPlay (35);
}
Symbol 329 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.brigadier == 2) {
_root.brigadier = 3;
gotoAndPlay (2);
}
};
Symbol 329 MovieClip Frame 30
stop();
_root.pts = _root.pts + 500;
_root.ptsss = 500;
_root.ptsss2 = 2;
Symbol 330 MovieClip Frame 3
gotoAndStop(random(_root.streets + 1) + 11);
Symbol 332 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.lignejaune);
};
Symbol 340 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.bodyin == 2) {
_root.bodyin = 1;
gotoAndPlay (2);
}
};
Symbol 340 MovieClip Frame 2
_root.gotkids = _root.gotkids + 1;
if (_root.temps < 30) {
_root.pts = _root.pts + ((30 - _root.temps) * 100);
_root.ptsss = (30 - _root.temps) * 100;
_root.ptsss2 = 2;
} else {
_root.pts = _root.pts + 50;
}
Symbol 340 MovieClip Frame 3
_root.temps2 = 2;
Symbol 340 MovieClip Frame 14
if (_root.nbkidsb == _root.gotkids) {
_root.got2go = 2;
}
Symbol 341 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.busposi);
};
Symbol 342 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.streets);
};
Symbol 343 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.shake == 2) {
_root.shake = 3;
gotoAndPlay (2);
}
};
Symbol 345 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.die == 2) {
_root.shake = 2;
_root.die = 3;
_x = _root.perso._x;
_y = _root.perso._y;
if (_root.dies == 1) {
gotoAndPlay (2);
}
if (_root.dies == 2) {
gotoAndPlay (11);
}
}
};
Symbol 345 MovieClip Frame 10
stop();
Symbol 345 MovieClip Frame 19
stop();
Symbol 354 MovieClip Frame 1
gotoAndPlay(2 * (random(6) + 1));
Symbol 354 MovieClip Frame 3
stop();
Symbol 354 MovieClip Frame 5
stop();
Symbol 354 MovieClip Frame 7
stop();
Symbol 354 MovieClip Frame 9
stop();
Symbol 354 MovieClip Frame 11
stop();
Symbol 354 MovieClip Frame 13
stop();
Symbol 355 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.petemark == 2) {
_root.petemark = 1;
_parent._x = _root.petemark_x;
_parent._y = _root.petemark_y;
_parent.gotoAndStop(_root.persoside);
gotoAndPlay (2);
}
};
Symbol 356 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.moving == 1) {
gotoAndStop (1);
}
if ((_root.moving == 2) && (_currentframe == 1)) {
gotoAndPlay (11);
}
};
Symbol 386 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.nbkids);
};
Instance of Symbol 385 MovieClip "bono2" in Symbol 386 MovieClip Frame 2
onClipEvent (load) {
typee = random(6) + 1;
}
onClipEvent (enterFrame) {
headd.gotoAndStop(typee);
brass1.gotoAndStop(typee);
brass2.gotoAndStop(typee);
ventree.gotoAndStop(typee);
pied1.gotoAndStop(typee);
pied2.gotoAndStop(typee);
}
Instance of Symbol 385 MovieClip "bono3" in Symbol 386 MovieClip Frame 3
onClipEvent (load) {
typee = random(6) + 1;
}
onClipEvent (enterFrame) {
headd.gotoAndStop(typee);
brass1.gotoAndStop(typee);
brass2.gotoAndStop(typee);
ventree.gotoAndStop(typee);
pied1.gotoAndStop(typee);
pied2.gotoAndStop(typee);
}
Instance of Symbol 385 MovieClip "bono4" in Symbol 386 MovieClip Frame 4
onClipEvent (load) {
typee = random(6) + 1;
}
onClipEvent (enterFrame) {
headd.gotoAndStop(typee);
brass1.gotoAndStop(typee);
brass2.gotoAndStop(typee);
ventree.gotoAndStop(typee);
pied1.gotoAndStop(typee);
pied2.gotoAndStop(typee);
}
Instance of Symbol 385 MovieClip "bono5" in Symbol 386 MovieClip Frame 5
onClipEvent (load) {
typee = random(6) + 1;
}
onClipEvent (enterFrame) {
headd.gotoAndStop(typee);
brass1.gotoAndStop(typee);
brass2.gotoAndStop(typee);
ventree.gotoAndStop(typee);
pied1.gotoAndStop(typee);
pied2.gotoAndStop(typee);
}
Instance of Symbol 385 MovieClip "bono6" in Symbol 386 MovieClip Frame 6
onClipEvent (load) {
typee = random(6) + 1;
}
onClipEvent (enterFrame) {
headd.gotoAndStop(typee);
brass1.gotoAndStop(typee);
brass2.gotoAndStop(typee);
ventree.gotoAndStop(typee);
pied1.gotoAndStop(typee);
pied2.gotoAndStop(typee);
}
Instance of Symbol 385 MovieClip "bono7" in Symbol 386 MovieClip Frame 7
onClipEvent (load) {
typee = random(6) + 1;
}
onClipEvent (enterFrame) {
headd.gotoAndStop(typee);
brass1.gotoAndStop(typee);
brass2.gotoAndStop(typee);
ventree.gotoAndStop(typee);
pied1.gotoAndStop(typee);
pied2.gotoAndStop(typee);
}
Instance of Symbol 385 MovieClip "bono8" in Symbol 386 MovieClip Frame 8
onClipEvent (load) {
typee = random(6) + 1;
}
onClipEvent (enterFrame) {
headd.gotoAndStop(typee);
brass1.gotoAndStop(typee);
brass2.gotoAndStop(typee);
ventree.gotoAndStop(typee);
pied1.gotoAndStop(typee);
pied2.gotoAndStop(typee);
}
Instance of Symbol 385 MovieClip "bono9" in Symbol 386 MovieClip Frame 9
onClipEvent (load) {
typee = random(6) + 1;
}
onClipEvent (enterFrame) {
headd.gotoAndStop(typee);
brass1.gotoAndStop(typee);
brass2.gotoAndStop(typee);
ventree.gotoAndStop(typee);
pied1.gotoAndStop(typee);
pied2.gotoAndStop(typee);
}
Symbol 388 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.jeune);
};
Symbol 389 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.jeune);
};
Symbol 390 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.jeune);
};
Symbol 397 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.jeune);
};
Symbol 398 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.moving == 1) {
gotoAndStop (1);
}
if ((_root.moving == 2) && (_currentframe == 1)) {
gotoAndPlay (11);
}
};
Symbol 398 MovieClip Frame 36
gotoAndPlay (2);
Symbol 399 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((_root.dr == 2) && (_root.dl == 1)) && (_root.du == 1)) && (_root.dd == 1)) {
_root.persoside = 1;
gotoAndStop (1);
}
if ((((_root.dr == 2) && (_root.dl == 1)) && (_root.du == 1)) && (_root.dd == 2)) {
_root.persoside = 2;
gotoAndStop (2);
}
if ((((_root.dr == 1) && (_root.dl == 1)) && (_root.du == 1)) && (_root.dd == 2)) {
_root.persoside = 3;
gotoAndStop (3);
}
if ((((_root.dr == 1) && (_root.dl == 2)) && (_root.du == 1)) && (_root.dd == 2)) {
_root.persoside = 4;
gotoAndStop (4);
}
if ((((_root.dr == 1) && (_root.dl == 2)) && (_root.du == 1)) && (_root.dd == 1)) {
_root.persoside = 5;
gotoAndStop (5);
}
if ((((_root.dr == 1) && (_root.dl == 2)) && (_root.du == 2)) && (_root.dd == 1)) {
_root.persoside = 6;
gotoAndStop (6);
}
if ((((_root.dr == 1) && (_root.dl == 1)) && (_root.du == 2)) && (_root.dd == 1)) {
_root.persoside = 7;
gotoAndStop (7);
}
if ((((_root.dr == 2) && (_root.dl == 1)) && (_root.du == 2)) && (_root.dd == 1)) {
_root.persoside = 8;
gotoAndStop (8);
}
if ((((_root.dr == 1) && (_root.dl == 1)) && (_root.du == 1)) && (_root.dd == 1)) {
_root.moving = 1;
} else {
_root.moving = 2;
}
};
Symbol 402 MovieClip Frame 1
gotoAndPlay(2 * (random(3) + 1));
Symbol 402 MovieClip Frame 3
stop();
Symbol 402 MovieClip Frame 5
stop();
Symbol 402 MovieClip Frame 7
stop();
Symbol 406 MovieClip Frame 1
gotoAndPlay(2 * (random(4) + 1));
Symbol 406 MovieClip Frame 3
stop();
Symbol 406 MovieClip Frame 5
stop();
Symbol 406 MovieClip Frame 7
stop();
Symbol 406 MovieClip Frame 9
stop();
Symbol 408 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.die == 3) {
_root.die = 4;
gotoAndPlay (2);
}
};
Symbol 408 MovieClip Frame 5
_root.whodies = _root.whodies + 1;
Symbol 408 MovieClip Frame 70
if (_root.lvl == 100) {
_root.got2go = 4;
} else {
_root.persoreset = 2;
}
Symbol 422 MovieClip Frame 1
gotoAndStop(genree);
Symbol 422 MovieClip Frame 7
stop();
Symbol 423 MovieClip Frame 1
aa = 1;
aa2 = 2;
onEnterFrame = function () {
if (this._currentframe < 400) {
gotoAndStop(aa);
aa = aa + speed;
} else if (aa2 == 2) {
aa2 = 1;
resetgenre = 2;
gotoAndPlay((190 - timee) + 405);
}
};
Symbol 424 MovieClip Frame 1
gotoAndStop(side);
Symbol 424 MovieClip Frame 2
stop();
Symbol 425 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.streets);
};
Instance of Symbol 424 MovieClip "car1" in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
carr.carr.genree = random(7) + 1;
carr.speed = _root.car1speed;
carr.timee = _root.car1time;
side = _root.car1side;
}
onClipEvent (enterFrame) {
if (carr.resetgenre == 2) {
carr.resetgenre = 1;
carr.carr.genree = random(7) + 1;
}
}
Instance of Symbol 424 MovieClip "car2" in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
carr.carr.genree = random(7) + 1;
carr.speed = _root.car2speed;
carr.timee = _root.car2time;
side = _root.car2side;
}
onClipEvent (enterFrame) {
if (carr.resetgenre == 2) {
carr.resetgenre = 1;
carr.carr.genree = random(7) + 1;
}
}
Instance of Symbol 424 MovieClip "car3" in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
carr.carr.genree = random(7) + 1;
carr.speed = _root.car3speed;
carr.timee = _root.car3time;
side = _root.car3side;
}
onClipEvent (enterFrame) {
if (carr.resetgenre == 2) {
carr.resetgenre = 1;
carr.carr.genree = random(7) + 1;
}
}
Instance of Symbol 424 MovieClip "car4" in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
carr.carr.genree = random(7) + 1;
carr.speed = _root.car4speed;
carr.timee = _root.car4time;
side = _root.car4side;
}
onClipEvent (enterFrame) {
if (carr.resetgenre == 2) {
carr.resetgenre = 1;
carr.carr.genree = random(7) + 1;
}
}
Instance of Symbol 424 MovieClip "car5" in Symbol 425 MovieClip Frame 1
onClipEvent (load) {
carr.carr.genree = random(7) + 1;
carr.speed = _root.car5speed;
carr.timee = _root.car5time;
side = _root.car5side;
}
onClipEvent (enterFrame) {
if (carr.resetgenre == 2) {
carr.resetgenre = 1;
carr.carr.genree = random(7) + 1;
}
}
Symbol 426 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.shake == 3) {
_root.shake = 1;
gotoAndPlay (2);
}
};
Symbol 428 MovieClip Frame 1
onEnterFrame = function () {
if (_root.temps2 == 2) {
_root.temps2 = 1;
_root.temps = 0;
gotoAndPlay (2);
}
};
Symbol 428 MovieClip Frame 49
_root.temps = _root.temps + 1;
gotoAndPlay (2);
Symbol 437 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.gotkids != _root.gotkidsb) {
_root.gotkidsb = _root.gotkids;
gotoAndPlay (2);
}
};
Symbol 465 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.ptsss2 == 2) {
_root.ptsss2 = 1;
gotoAndPlay (2);
}
};
Symbol 467 MovieClip Frame 1
stopAllSounds();
Symbol 467 MovieClip Frame 3
_root.nbkidsb = _root.nbkids;
Symbol 467 MovieClip Frame 4
stop();