Frame 1
function startGame() {
kfpwGameParams = connection.getGameParams();
_global.kfpwGameParams = kfpwGameParams;
_global.moreURL = "http://www.kungfupandaworld.com";
_global.redeemURL = "http://www.kungfupandaworld.com";
_global.victoryCode = "POWERFULKUNGFUPANDA";
_global.oneStarThreshold = 50;
_global.twoStarThreshold = 100;
_global.threeStarThreshold = 200;
getGameConfigValues();
}
function endGame(endGameScore, gameResults) {
getURL (_global.quitURL, "_blank");
connection.requestGameEnd(endGameScore, gameResults);
stopAllSounds();
cleanUp(_root);
cleanUp(_root);
}
function cleanUp(mc) {
for (clip in mc) {
cleanUp(mc[clip]);
mc.removeChild(mc[clip]);
mc[clip] = null;
}
}
function getGameConfigValues() {
var gameConfig = new XML();
gameConfig.ignoreWhite = true;
gameConfig.load("gameConfig.xml");
gameConfig.onLoad = function (success) {
if (success == true) {
var _local4 = gameConfig.firstChild.childNodes.length;
var _local3 = 0;
while (_local3 < _local4) {
var _local2 = gameConfig.firstChild.childNodes[_local3];
if (_local2.nodeName == "moreURL") {
_global.moreURL = _local2.firstChild.nodeValue;
} else if (_local2.nodeName == "redeemURL") {
_global.redeemURL = _local2.firstChild.nodeValue;
} else if (_local2.nodeName == "victoryCode") {
_global.victoryCode = _local2.firstChild.nodeValue;
} else if (_local2.nodeName == "oneStarThreshold") {
_global.oneStarThreshold = _local2.firstChild.nodeValue;
} else if (_local2.nodeName == "twoStarThreshold") {
_global.twoStarThreshold = _local2.firstChild.nodeValue;
} else if (_local2.nodeName == "threeStarThreshold") {
_global.threeStarThreshold = _local2.firstChild.nodeValue;
}
_local3++;
}
} else {
trace("gameConfig.xml could not be found");
}
play();
};
}
function resetGame() {
stopAllSounds();
r.level = 0;
r.gotoAndPlay("menu");
}
MiniGameConnection.startGameFunc = startGame;
connection.setGameName("Fireworks Racing");
var kfpwGameParams;
stop();
startGame();
Frame 2
fr.swapDepths(200010);
_global.r = this;
Frame 3
onEnterFrame = function () {
if (_framesloaded == _totalframes) {
r.music = 1;
r.udamusik = 0;
r.allbmpdone = 0;
r.starttime = new Date();
delete onEnterFrame;
gotoAndPlay ("menu");
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
persen = Math.round((loaded / total) * 100);
}
};
stop();
Frame 11
MovieClip.prototype.initturbo = function () {
var t = this;
t.onEnterFrame = function () {
if (Math.abs(t._x - cart._x) < 40) {
if (t.a.hitTest(cart.z)) {
((r.turbo < r.turbomax) ? ((r.turbo = r.turbo + 1)stat.turbobar.gotoAndPlay(1)popturbo(60, Math.max(100, cart._y - 100))) : null);
r.ang = r.ang + r.nil;
r.ztink.start();
t.removeMovieClip();
}
}
((t._x < ((-m._x) - 60)) ? ((r.perfectrun = 0)t.removeMovieClip()) : null);
};
};
MovieClip.prototype.stopsfx = function () {
r.zrocket1.setVolume(0);
r.zrocket2.setVolume(0);
r.zturbo.stop();
};
MovieClip.prototype.popskor = function (xx, yy, sk) {
stat.attachMovie("popscore", "pop" + r.popd, r.popd, {_x:xx, _y:yy, sk:sk});
r.popd++;
};
MovieClip.prototype.popskor2 = function (xx, yy, sk) {
stat.attachMovie("popscore2", "pop" + r.popd, r.popd, {_x:xx, _y:yy, sk:sk});
r.popd++;
};
MovieClip.prototype.popturbo = function (xx, yy) {
stat.attachMovie("popturbo", "pop" + r.popd, r.popd, {_x:xx, _y:yy, sk:sk});
r.popd++;
};
MovieClip.prototype.popmessage = function (xx, yy, no) {
m.attachMovie("popmessage", "pop" + r.popd, r.popd, {_x:xx, _y:yy, no:no});
r.popd++;
};
MovieClip.prototype.initsign = function () {
var t = this;
t.onEnterFrame = function () {
((t._x < ((-m._x) - 60)) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.initcookie = function () {
var t = this;
t.range = 2.5;
t.speed = 0.2;
t.starty = t._y;
t.ys = t.range;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
((t._y > t.starty) ? ((t.ys = Math.max(t.ys - t.speed, -t.range))) : ((t.ys = Math.min(t.ys + t.speed, t.range))));
if (Math.abs(t._x - cart._x) < 100) {
if (t.a.hitTest(cart.z)) {
r.ang = r.ang + r.nil;
var _local1 = localpos(t, stat);
popskor(_local1.xx, _local1.yy, r.nil);
r.ztink2.start();
t.removeMovieClip();
}
}
((t._x < ((-m._x) - 60)) ? ((r.perfectrun = 0)t.removeMovieClip()) : null);
};
};
MovieClip.prototype.makeflag = function () {
_global.flag = m.attachMovie("flag", "flag" + r.od, r.od, {_x:r.lastslice._x + 140, _y:390});
r.od++;
m.attachMovie("flag", "flag" + r.od, r.od, {_x:r.lastslice._x + 200, _y:395, _rotation:-5});
r.od++;
m.attachMovie("flag", "flag" + r.od, r.od, {_x:r.lastslice._x + 270, _y:390, _rotation:5});
r.od++;
m.under.attachMovie("flag2", "flag" + r.od, r.od, {_x:r.lastslice._x + 160, _y:400, _rotation:3});
r.od++;
m.under.attachMovie("flag2", "flag" + r.od, r.od, {_x:r.lastslice._x + 217, _y:390});
r.od++;
m.under.attachMovie("flag2", "flag" + r.od, r.od, {_x:r.lastslice._x + 292, _y:400, _rotation:-3});
r.od++;
};
MovieClip.prototype.finishlevel = function () {
r.timebonus = r.timer * 10;
r.newang = r.ang + r.timebonus;
(r.lostnolives ? ((r.newang = r.newang + r.lostnolivesbonus)) : null);
(r.unusedturbo ? ((r.newang = r.newang + r.unusedturbobonus)) : null);
(r.perfectrun ? ((r.newang = r.newang + r.perfectbonus)) : null);
stat.attachMovie("finishinfo", "finishinfo", r.popd, {_x:r.screenwid / 2, _y:255});
r.popd++;
};
MovieClip.prototype.initfuel = function () {
var t = this;
t.onEnterFrame = function () {
if (Math.abs(t._x - cart._x) < 40) {
if (t.a.hitTest(cart.z)) {
r.fuel = Math.min(r.fuelmax, r.fuel + r.addfuel);
r.ztink.start();
r.ang = r.ang + r.nil;
t.removeMovieClip();
}
}
((t._x < ((-m._x) - 60)) ? ((r.perfectrun = 0)t.removeMovieClip()) : null);
};
};
MovieClip.prototype.getland = function (xx) {
var _local1 = 530;
while (land.hitTest(xx, _local1, true)) {
_local1 = _local1 - 10;
}
return(_local1);
};
MovieClip.prototype.initblast2 = function () {
var t = this;
t._visible = false;
t.onEnterFrame = function () {
(r.accel ? ((t._visible = true)) : ((t._visible = false)));
};
};
MovieClip.prototype.initpo = function () {
var t = this;
t.ec1 = 0.05;
t.ec2 = 0.9;
t.rotx = t._parent._rotation;
t.xs = 0;
t.onEnterFrame = function () {
t.xs = ((t._parent._rotation - t.rotx) * t.ec1) + (t.xs * t.ec2);
t.rotx = t.rotx + t.xs;
t.gotoAndStop(Math.max(1, Math.min(50, Math.floor(t.rotx))));
};
};
MovieClip.prototype.initlantern = function (id) {
var t = this;
((id == 1) ? ((t.swec1 = 0.2 + (0.01 * Number(t._name)))(t.swec2 = 0.98 + (0.001 * Number(t._name)))) : null);
((id == 2) ? ((t.swec1 = 0.14)(t.swec2 = 0.95)) : null);
((id == 3) ? ((t.swec1 = 0.1)(t.swec2 = 0.9)) : null);
t.swrotx = t._parent._rotation;
t.swxs = 0;
t.onEnterFrame = function () {
t.swxs = ((t._parent._rotation - t.swrotx) * t.swec1) + (t.swxs * t.swec2);
t.swrotx = t.swrotx + t.swxs;
t._rotation = (-t._parent._rotation) - t.swxs;
};
};
MovieClip.prototype.runwheel = function (xs) {
var _local2 = this;
_local2.xs = _local2.xs + xs;
_local2.ys = _local2.ys + _local2.grav;
_local2._x = _local2._x + _local2.xs;
_local2._y = _local2._y + _local2.ys;
r.speednow = _local2.xs;
var _local7 = (r.oneland ? 0.98 : 0.99);
((!r.noaccel) ? ((_local2.xs = Math.min(r.maxspeed, Math.max(r.minspeed, _local2.xs * _local7)))) : null);
var _local5 = localpos(_local2, r);
if (land.hitTest(_local5.xx, _local5.yy, true)) {
var _local3 = _local5.yy;
var _local4 = 0;
var _local6 = 70;
while (land.hitTest(_local5.xx, _local3, true)) {
_local3--;
_local4++;
}
if (_local4 > _local6) {
wheel0.xs = -0.8 * wheel0.xs;
wheel1.xs = -0.8 * wheel1.xs;
r.zcrash.start();
r.noaccel = 30;
} else {
((_local4 < 5) ? (_local4 = 0) : null);
(r.jumpchasm ? ((sk = 10 * (_local6 - _local4))(r.ang = r.ang + sk)popskor2(60, Math.max(100, cart._y - 120), sk)(r.jumpchasm = 0)(r.nocekchasm = 10)) : null);
_local2._y = Math.round(_local3);
_local2.ys = _local2.ys + ((-_local4) / 3);
_local2.landed = true;
if (r.music) {
((!r.nobumpsfx) ? (((_local4 > 10) ? (r.zbump.setVolume(4 * _local4)r.zbump.start()(r.nobumpsfx = 20)) : null)) : null);
}
}
} else {
_local2.landed = false;
}
_local2.ys = Math.min(50, Math.max(-50, _local2.ys));
};
MovieClip.prototype.makeland = function (n) {
var _local2 = ((n < 0) ? -100 : 100);
var _local5 = Math.abs(n);
((_local5 > 1000) ? (_local5 = _local5 - 1000) : null);
((!r.lastslice) ? ((xx = 0)) : ((xx = Math.floor(r.lastslice._x) + r.slicewid)));
var _local1 = landbmp.createEmptyMovieClip("slice" + r.ldep, r.ldep);
var _local3 = r.allbmp[_local5].clone();
_local1.attachBitmap(_local3, 1, "always", true);
((_local2 > 0) ? ((_local1._x = Math.floor(xx - (r.slicewid / 2)))) : ((_local1._xscale = _local2)(_local1._x = Math.floor(xx + (r.slicewid / 2)))));
_local1._y = 70;
r.lastslice = land.attachMovie("slice" + _local5, "slice" + r.ldep, r.ldep, {_x:xx, _y:r.yland, _xscale:_local2, id:n});
r.ldep++;
r.slices1.push(r.lastslice);
r.slices2.push(_local1);
};
MovieClip.prototype.getleveldata = function () {
r.pos = [];
var _local1 = 0;
while (_local1 < r.levelposcode[level].length) {
r.pos = r.pos.concat(r["pos" + [r.levelposcode[level][_local1]]]);
_local1++;
}
};
MovieClip.prototype.getobjectdata = function () {
r.ob = [];
var _local1 = 0;
while (_local1 < r.levelposcode[level].length) {
r.ob = r.ob.concat(r["ob" + [r.levelposcode[level][_local1]]]);
_local1++;
}
};
MovieClip.prototype.snapshot = function (dest, sourc, x1, y1, wid, hei, ska, bx, by) {
((!ska) ? (ska = 1) : null);
var _local1 = new flash.display.BitmapData(wid, hei, true, 16777215);
var _local2 = new flash.geom.Matrix();
_local2.scale(ska, ska);
_local2.translate(-x1, -y1);
_local1.draw(sourc, _local2, null, null, new flash.geom.Rectangle(0, 0, wid, hei), true);
(((bx + by) > 0) ? (_local1.applyFilter(_local1, new flash.geom.Rectangle(0, 0, wid, hei), new flash.geom.Point(0, 0), new flash.filters.BlurFilter(bx, by, 2))) : null);
if (dest instanceof MovieClip) {
dest.attachBitmap(_local1, 1, "auto", true);
} else {
dest.copyPixels(_local1, new flash.geom.Rectangle(0, 0, wid, hei), new flash.geom.Point(0, 0));
}
};
MovieClip.prototype.screensnapshot = function () {
stat._visible = false;
((r.snap != undefined) ? (r.snap.dispose()) : null);
r.snap = new flash.display.BitmapData(r.screenwid, r.screenhei);
snapshot(r.snap, r, 0, 0, r.screenwid, r.screenhei);
stat._visible = true;
};
MovieClip.prototype.make = function (id, xx, yy) {
((id == 3) ? ((it = m.under)) : ((it = m)));
it.attachMovie("o" + id, "o" + r.od, r.od, {_x:xx, _y:yy});
r.od++;
};
Frame 12
MovieClip.prototype.cekhitpix = function (a, b, alphatolerance) {
((alphatolerance == undefined) ? (alphatolerance = 255) : null);
var _local2 = a.getBounds(r);
var _local1 = b.getBounds(r);
if ((Stage.width == r.screenwid) and (Stage.height == r.screenhei)) {
var _local5 = (hdif = 0);
} else {
var _local5 = Math.round((Stage.width - r.screenwid) / 2);
var hdif = Math.round((Stage.height - r.screenhei) / 2);
_local2.xMin = _local2.xMin + _local5;
_local2.xMax = _local2.xMax + _local5;
_local1.xMin = _local1.xMin + _local5;
_local1.xMax = _local1.xMax + _local5;
_local2.yMin = _local2.yMin + hdif;
_local2.yMax = _local2.yMax + hdif;
_local1.yMin = _local1.yMin + hdif;
_local1.yMax = _local1.yMax + hdif;
}
if (_local2.xMax > _local1.xMin) {
if (_local1.xMax > _local2.xMin) {
if (_local2.yMax > _local1.yMin) {
if (_local1.yMax > _local2.yMin) {
var _local3 = {xMin:Math.max(_local2.xMin, _local1.xMin), xMax:Math.min(_local2.xMax, _local1.xMax), yMin:Math.max(_local2.yMin, _local1.yMin), yMax:Math.min(_local2.yMax, _local1.yMax)};
var _local7 = new flash.display.BitmapData(_local3.xMax - _local3.xMin, _local3.yMax - _local3.yMin, false);
var _local4 = a.transform.concatenatedMatrix;
_local4.tx = _local4.tx - _local3.xMin;
_local4.ty = _local4.ty - _local3.yMin;
_local7.draw(a, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, alphatolerance));
_local4 = b.transform.concatenatedMatrix;
_local4.tx = _local4.tx - _local3.xMin;
_local4.ty = _local4.ty - _local3.yMin;
_local7.draw(b, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, alphatolerance), "difference");
var _local6 = _local7.getColorBoundsRect(4294967295, 4278255615);
_local7.dispose();
if (_local6.width) {
_local6.x = _local6.x + (_local3.xMin - _local5);
_local6.y = _local6.y + (_local3.yMin - hdif);
return(_local6);
}
}
}
}
}
return(false);
};
MovieClip.prototype.globalpos = function (mc) {
var _local1 = {x:0, y:0};
mc.localToGlobal(_local1);
return({xx:_local1.x, yy:_local1.y});
};
MovieClip.prototype.localpos = function (mc, m) {
var _local2 = globalpos(mc);
var _local1 = {x:_local2.xx, y:_local2.yy};
m.globalToLocal(_local1);
return({xx:_local1.x, yy:_local1.y});
};
MovieClip.prototype.jiggle = function (beginska) {
var t = this;
((!beginska) ? (beginska = 200) : null);
t._xscale = (t._yscale = beginska);
t.ska = 100;
t.dx = 0;
t.dv = 0.8;
t.dvstep = 0.6;
t.onEnterFrame = function () {
t.dx = (t.dx * t.dvstep) + ((t.ska - t._xscale) * t.dv);
t._xscale = t._xscale + t.dx;
t._yscale = t._xscale;
};
};
MovieClip.prototype.removeit = function (arr) {
arr.removeValue(this);
this.removeMovieClip();
};
MovieClip.prototype.appear = function (speed, delay) {
var t = this.createEmptyMovieClip("appearmc", this.getNextHighestDepth());
((!delay) ? (delay = 1) : null);
((!speed) ? (speed = 15) : null);
t.d = delay;
t.speed = speed;
t._parent._visible = false;
t._parent._alpha = 0;
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
t.yy = t._parent._y;
t._parent._y = t._parent._y + 25;
t._parent._visible = true;
t.onEnterFrame = function () {
t._parent._y = t._parent._y + ((t.yy - t._parent._y) / 2);
t._parent._alpha = t._parent._alpha + t.speed;
if (t._parent._alpha >= 100) {
t._parent._alpha = 100;
delete t.onEnterFrame;
}
};
}
};
};
MovieClip.prototype.disappear = function (speed, ys) {
var t = this.createEmptyMovieClip("disappearmc", this.getNextHighestDepth());
((!speed) ? (speed = 20) : null);
((ys == undefined) ? (ys = -2) : null);
t.speed = speed;
t.ys = ys;
t.onEnterFrame = function () {
t._parent._y = t._parent._y + t.ys;
t._parent._alpha = t._parent._alpha - t.speed;
if (t._parent._alpha <= 0) {
delete t.onEnterFrame;
t._parent.removeMovieClip();
}
};
t.stop();
};
MovieClip.prototype.appearbright = function (speed, clr) {
var t = this.createEmptyMovieClip("appearmc", this.getNextHighestDepth());
((!speed) ? (speed = 15) : null);
t.yy = t._parent._y - 25;
t.c = new Color(t._parent);
((!clr) ? (clr = 16777215) : null);
t.clr = clr;
t.c.setTint(t.clr, t.br);
t.br = 100;
t.brless = t.br / speed;
t.blur = 12;
t.blurless = t.blur / speed;
t.onEnterFrame = function () {
t._parent._y = t._parent._y + ((t.yy - t._parent._y) / 2);
t.blur = t.blur - t.blurless;
t._parent.filters = [new flash.filters.BlurFilter(t.blur, t.blur, 3)];
t.br = t.br - t.brless;
t.c.resetColor();
t.c.setTint(t.clr, t.br);
if (t.br <= 0) {
t._parent.filters = null;
c.resetColor();
delete t.onEnterFrame;
}
};
};
MovieClip.prototype.disappearbright = function (speed, clr) {
var t = this.createEmptyMovieClip("disappearmc", this.getNextHighestDepth());
((!speed) ? (speed = 8) : null);
t.c = new Color(t._parent);
t.br = 10;
t.bradd = 100 / speed;
((!clr) ? (clr = 16777215) : null);
t.clr = clr;
t.c.setTint(t.clr, t.br);
t.blur = 1;
t.bluradd = 12 / speed;
t.onEnterFrame = function () {
t.blur = t.blur + t.bluradd;
t._parent.filters = [new flash.filters.BlurFilter(t.blur, t.blur, 3)];
t.br = t.br + t.bradd;
t.c.resetColor();
t.c.setTint(t.clr, t.br);
if (t.br >= 100) {
t.onEnterFrame = function () {
t._parent._alpha = t._parent._alpha - 10;
if (t._parent._alpha <= 0) {
t._parent.filters = null;
c.resetColor();
delete t.onEnterFrame;
}
};
}
};
};
Array.prototype.removeElement = function (i) {
if (i == null) {
i = 0;
}
var _local4 = this[i];
var _local2 = i;
while (_local2 < (this.length - 1)) {
this[_local2] = this[_local2 + 1];
_local2++;
}
this.pop();
return(_local4);
};
Array.prototype.removeValue = function (a) {
var _local2 = 0;
while (_local2 < this.length) {
if (a == this[_local2]) {
this.removeElement(_local2);
}
_local2++;
}
};
Array.prototype.randomize = function () {
return(this.sort(function (a, b) {
return(((Math.floor(Math.random() * 2) == 0) ? 1 : -1));
}));
};
Array.prototype.copy = Array.prototype.slice;
Object.prototype.clon = function () {
if (this instanceof Array) {
var _local2 = [];
var _local3 = 0;
while (_local3 < this.length) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clon()) : (this[_local3]));
_local3++;
}
} else if ((this instanceof XML) || (this instanceof MovieClip)) {
var _local2 = null;
trace("Warning! Object.clon can not be used on MovieClip or XML objects");
} else {
var _local2 = {};
for (var _local3 in this) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clon()) : (this[_local3]));
}
}
return(_local2);
};
ASSetPropFlags(Object.prototype, ["clon"], 1);
Array.prototype.contain = function (val) {
var _local3 = this.length;
var _local2 = 0;
while (_local2 < _local3) {
if (this[_local2] == val) {
return(true);
}
_local2++;
}
return(false);
};
MovieClip.prototype.fadescreen = function (speed) {
if (!speed) {
speed = 5;
}
r.createEmptyMovieClip("dark", 100001);
var d = r.dark;
d.speed = speed;
d.lineStyle(1, 0, 100);
d.beginFill(16777215, 100);
d.moveTo(-5000, -5000);
d.lineTo(5000, -5000);
d.lineTo(5000, 5000);
d.lineTo(-5000, 5000);
d.endFill();
d.onEnterFrame = function () {
d._alpha = d._alpha - d.speed;
if (d._alpha <= 0) {
d.removeMovieClip();
d.stop();
}
};
};
MovieClip.prototype.getrandom = function (aray) {
if (r.randomlisting.length > 0) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < r.randomlisting.length) {
if (r.randomlisting[_local1] == aray) {
_local3 = 1;
break;
}
_local1++;
}
if (!_local3) {
r.randomlisting.push(aray);
}
} else {
r.randomlisting = [];
r.randomlisting.push(aray);
}
if (r[aray + "getrandom"].length <= 0) {
r[aray + "getrandom"] = [];
r[aray + "getrandom"] = r[aray].clon();
r[aray + "getrandom"].randomize();
if (r[aray + "getrandom"].length > 1) {
if (r[aray + "lastpop"] == r[aray + "getrandom"][r[aray + "getrandom"].length - 1]) {
r[aray + "getrandom"].pop();
}
}
}
var _local4 = r[aray + "getrandom"].pop();
r[aray + "lastpop"] = _local4;
return(_local4);
};
MovieClip.prototype.resetrandom = function () {
if (r.randomlisting.length > 0) {
var _local1 = 0;
while (_local1 < r.randomlisting.length) {
r[r.randomlisting[_local1] + "getrandom"] = [];
r[r.randomlisting[_local1] + "lastpop"] = undefined;
_local1++;
}
}
};
MovieClip.prototype.tint = function (delay, colr) {
var t = this.createEmptyMovieClip("tintmc", this.getNextHighestDepth());
t.d = delay;
((!t.d) ? ((t.d = 10)) : null);
t.colr = colr;
((!t.colr) ? ((t.colr = 16737792)) : null);
t.c = new Color(t._parent);
t.a = (t.b = 1);
t._parent.filters = [new flash.filters.GlowFilter(t.colr, 1, 7, 7, 1.5, 1, false, false)];
t.onEnterFrame = function () {
t.d--;
t.a--;
if (!t.a) {
t.a = 2;
t.b = !t.b;
if (t.b) {
t.c.setTint(t.colr, 100);
} else {
t.c.setTint(16777215, 100);
}
} else {
t.c.resetColor();
}
if (!t.d) {
t.c.resetColor();
t._parent.filters = null;
t.removeMovieClip();
}
};
};
MovieClip.prototype.rad = function (qdeg) {
return(qdeg * (Math.PI/180));
};
MovieClip.prototype.deg = function (qrad) {
return(qrad * 57.2957795130823);
};
Number.prototype.limit = function (floor, ceil) {
return(Math.min(ceil, Math.max(floor, this)));
};
Number.prototype.isEven = function () {
return(!(this % 2));
};
Number.prototype.isMultipleOf = function (BaseNum) {
return(!(this % BaseNum));
};
Number.prototype.between = function (lo, hi) {
return((this > lo) && (this < hi));
};
Color.prototype.setBrightness = function (value) {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
var trans = this.getTransform();
var percent = (Math.abs(value) / 100);
var brightnessColor = ((value > 0) ? 255 : 0);
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((brightnessColor - rb) * percent);
gb = gb + ((brightnessColor - gb) * percent);
bb = bb + ((brightnessColor - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.setTint = function (col, percent) {
if (isNaN(col) || (isNaN(percent))) {
return(undefined);
}
col = ((col <= 0) ? 0 : (((col >= 16777215) ? 16777215 : (Math.round(col)))));
percent = ((percent <= 0) ? 0 : (((percent >= 100) ? 1 : (percent / 100))));
var trans = this.getTransform();
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((((col & 16711680) >> 16) - rb) * percent);
gb = gb + ((((col & 65280) >> 8) - gb) * percent);
bb = bb + (((col & 255) - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.resetColor = function () {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
};
Sound.prototype.fade = function (fadeType, fadeDuration) {
this.fadeDuration = (fadeDuration * 1000) / 100;
this.fadeType = fadeType;
this.currentVolume = this.getVolume();
this.intID = setInterval(function (thisObj) {
thisObj.doFade(thisObj.fadeType);
}, this.fadeDuration, this);
this.doFade = function (fadeType) {
if (fadeType == "out") {
this.setVolume(this.currentVolume--);
if (this.getVolume() <= 0) {
clearInterval(this.intID);
}
} else if (fadeType == "in") {
this.setVolume(this.currentVolume++);
if (this.getVolume() >= 100) {
clearInterval(this.intID);
}
}
};
};
MovieClip.prototype.wait = function (delay) {
var t = this.createEmptyMovieClip("wdl", 55555);
t.delay = delay;
t.onEnterFrame = function () {
t.delay--;
if (t.delay < 0) {
delete t.onEnterFrame;
t._parent.play();
t.removeMovieClip();
}
};
t._parent.stop();
};
MovieClip.prototype.savecookie = function (vari, value) {
var _local1 = SharedObject.getLocal("lazcookie", "/");
_local1.data[vari] = value;
_local1.flush();
};
MovieClip.prototype.loadcookie = function (vari) {
var _local1 = SharedObject.getLocal("lazcookie", "/");
if (_local1.data[vari] != null) {
return(_local1.data[vari]);
}
return(false);
};
Frame 13
pos1 = [-5, -38, -38, -4, -2, 1, 2, 3, 4, 1001, 26, 27, 28, 29, 34, 22, 23, 24, 17, 18, 19, 20, 24, 25, 7, 8, 9, 10, 11, -30, 1, -1005, 23, 24, 38, 34, 50, 2, 4, 5, 6, 7];
ob1 = [{id:1, xx:1239, yy:240}, {id:1, xx:1306, yy:262}, {id:1, xx:1366, yy:301}, {id:1, xx:2491, yy:324}, {id:1, xx:2581, yy:324}, {id:2, xx:3560, yy:484}, {id:1, xx:4166, yy:434}, {id:1, xx:4196, yy:488}, {id:1, xx:4227, yy:434}, {id:1, xx:5206, yy:383}, {id:1, xx:5295, yy:383}, {id:1, xx:6060, yy:262}, {id:1, xx:6103, yy:208}, {id:1, xx:7276, yy:442}, {id:1, xx:7350, yy:432}, {id:1, xx:7410, yy:389}, {id:2, xx:8799, yy:404}, {id:1, xx:9514, yy:331}, {id:1, xx:9544, yy:384}, {id:1, xx:9575, yy:331}, {id:1, xx:10500, yy:128}, {id:1, xx:10569, yy:162}, {id:1, xx:10629, yy:204}, {id:2, xx:12090, yy:355}, {id:1, xx:12964, yy:439}, {id:1, xx:12994, yy:386}, {id:1, xx:13024, yy:439}, {id:1, xx:13853, yy:173}, {id:1, xx:13920, yy:145}, {id:1, xx:13988, yy:125}, {id:1, xx:15074, yy:323}, {id:1, xx:15142, yy:323}, {id:2, xx:16814, yy:404}, {id:1, xx:17819, yy:349}, {id:1, xx:17849, yy:403}, {id:1, xx:17880, yy:349}, {id:1, xx:19169, yy:270}, {id:1, xx:19237, yy:242}, {id:1, xx:19311, yy:233}];
pos2 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 1010, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 36, 37, 38, 39, 1043, 44, 45, 46, 47, 48, 5, 6, 7, 49, 50, 1, 1, 26, 27, 28, 29, 1030, 12, 13, 14, 15, -34, 23, 24, -1005, 38, 34, 35, 38, 34, 22, 23, 24, 52, -46, 46, 47, 48, 5, 6, 7, 1, 1, 1];
ob2 = [{id:1, xx:1658, yy:311}, {id:1, xx:1738, yy:266}, {id:1, xx:1828, yy:254}, {id:1, xx:2483, yy:290}, {id:1, xx:2575, yy:290}, {id:1, xx:3970, yy:373}, {id:1, xx:4000, yy:426}, {id:1, xx:4030, yy:373}, {id:2, xx:5300, yy:229}, {id:3, xx:6072, yy:95}, {id:1, xx:6290, yy:166}, {id:1, xx:6380, yy:188}, {id:1, xx:6460, yy:228}, {id:1, xx:7289, yy:374}, {id:1, xx:7319, yy:321}, {id:1, xx:7350, yy:374}, {id:1, xx:8544, yy:301}, {id:1, xx:8574, yy:354}, {id:1, xx:8605, yy:301}, {id:3, xx:9139, yy:133}, {id:2, xx:9259, yy:301}, {id:1, xx:11034, yy:276}, {id:1, xx:11124, yy:303}, {id:1, xx:11214, yy:313}, {id:1, xx:11914, yy:366}, {id:1, xx:11944, yy:419}, {id:1, xx:11975, yy:366}, {id:2, xx:13413, yy:514}, {id:1, xx:14708, yy:393}, {id:1, xx:14800, yy:393}, {id:1, xx:15918, yy:343}, {id:1, xx:16010, yy:363}, {id:2, xx:17437, yy:244}, {id:3, xx:17707, yy:49}, {id:1, xx:19008, yy:366}, {id:1, xx:19038, yy:419}, {id:1, xx:19069, yy:366}, {id:1, xx:20259, yy:278}, {id:1, xx:20349, yy:306}, {id:1, xx:20439, yy:311}, {id:2, xx:21786, yy:344}, {id:1, xx:22542, yy:323}, {id:1, xx:22634, yy:323}, {id:1, xx:24013, yy:372}, {id:1, xx:24043, yy:318}, {id:1, xx:24074, yy:372}, {id:4, xx:24200, yy:215}, {id:2, xx:25510, yy:186}, {id:3, xx:25901, yy:97}, {id:1, xx:26339, yy:181}, {id:1, xx:26429, yy:213}, {id:1, xx:26509, yy:253}, {id:1, xx:27113, yy:461}, {id:1, xx:27143, yy:514}, {id:1, xx:27173, yy:461}, {id:2, xx:28724, yy:406}, {id:3, xx:29260, yy:199}, {id:1, xx:29287, yy:343}, {id:1, xx:29379, yy:343}, {id:1, xx:30418, yy:355}, {id:1, xx:30448, yy:301}, {id:1, xx:30478, yy:355}, {id:1, xx:32043, yy:336}, {id:1, xx:32133, yy:318}, {id:1, xx:32213, yy:293}, {id:2, xx:32883, yy:391}, {id:1, xx:34156, yy:193}, {id:1, xx:34248, yy:193}, {id:3, xx:34250, yy:49}, {id:1, xx:35487, yy:361}, {id:1, xx:35517, yy:414}, {id:1, xx:35548, yy:361}, {id:1, xx:36903, yy:303}, {id:1, xx:36993, yy:296}, {id:1, xx:37073, yy:281}];
pos3 = [1, 1, 11, 29, 30, 29, 30, 53, 14, 15, 22, 25, 1026, 27, 28, 29, 57, -34, -38, -35, 35, 52, -46, 46, 47, 48, 5, 6, 1007, 25, 34, 22, 38, 26, -26, 30, 31, 32, 33, 1, -50, -49, 1, -1, 5, 6, 7, 1010, 11, 19, 20, 21, 16, -37, -36, -16, 35, 36, 37, 30, 31, 32, -65, 24, 25, 36, 37, 1038, 8, 9, -7, -6, 49, 50, -50, 50, -50, -49, 1, -41, 43, 44, 45, 46, 47, 48, 5, 1];
ob3 = [{id:1, xx:2348, yy:98}, {id:1, xx:2438, yy:110}, {id:1, xx:2518, yy:150}, {id:1, xx:3361, yy:193}, {id:1, xx:3453, yy:203}, {id:3, xx:3597, yy:75}, {id:1, xx:4640, yy:415}, {id:1, xx:4670, yy:468}, {id:1, xx:4701, yy:415}, {id:2, xx:5558, yy:294}, {id:1, xx:7008, yy:420}, {id:1, xx:7038, yy:367}, {id:2, xx:8918, yy:355}, {id:3, xx:9136, yy:195}, {id:1, xx:9715, yy:295}, {id:1, xx:9745, yy:348}, {id:1, xx:9776, yy:295}, {id:1, xx:11127, yy:196}, {id:1, xx:11219, yy:196}, {id:1, xx:11674, yy:142}, {id:1, xx:11764, yy:157}, {id:1, xx:11839, yy:202}, {id:1, xx:12508, yy:355}, {id:1, xx:12538, yy:408}, {id:1, xx:12568, yy:355}, {id:2, xx:13350, yy:366}, {id:1, xx:15599, yy:384}, {id:1, xx:15669, yy:372}, {id:2, xx:16768, yy:430}, {id:3, xx:17658, yy:48}, {id:1, xx:17795, yy:98}, {id:1, xx:17880, yy:121}, {id:1, xx:17960, yy:158}, {id:1, xx:18711, yy:514}, {id:1, xx:18741, yy:461}, {id:1, xx:18771, yy:514}, {id:1, xx:18906, yy:348}, {id:1, xx:18936, yy:402}, {id:1, xx:18966, yy:348}, {id:1, xx:20210, yy:347}, {id:1, xx:20292, yy:347}, {id:2, xx:20953, yy:366}, {id:1, xx:21640, yy:351}, {id:1, xx:21712, yy:351}, {id:1, xx:22643, yy:204}, {id:1, xx:22728, yy:236}, {id:1, xx:22808, yy:271}, {id:2, xx:24073, yy:250}, {id:3, xx:24816, yy:74}, {id:1, xx:24918, yy:114}, {id:1, xx:25003, yy:139}, {id:1, xx:25083, yy:182}, {id:1, xx:25660, yy:373}, {id:1, xx:25690, yy:426}, {id:1, xx:25720, yy:373}, {id:4, xx:25851, yy:337}, {id:1, xx:26820, yy:389}, {id:1, xx:26892, yy:389}, {id:3, xx:27079, yy:210}, {id:1, xx:27728, yy:281}, {id:1, xx:27759, yy:335}, {id:1, xx:27789, yy:281}, {id:2, xx:28926, yy:408}, {id:1, xx:29428, yy:181}, {id:1, xx:29508, yy:134}, {id:1, xx:29593, yy:104}, {id:3, xx:29724, yy:48}, {id:1, xx:30748, yy:482}, {id:1, xx:30779, yy:428}, {id:1, xx:30809, yy:482}, {id:1, xx:31807, yy:409}, {id:1, xx:31899, yy:409}, {id:2, xx:32893, yy:415}, {id:1, xx:34548, yy:488}, {id:1, xx:34578, yy:434}, {id:1, xx:34608, yy:488}, {id:2, xx:35270, yy:375}, {id:1, xx:36251, yy:371}, {id:1, xx:36251, yy:310}, {id:1, xx:37257, yy:300}, {id:1, xx:37257, yy:358}, {id:1, xx:38247, yy:363}, {id:1, xx:38247, yy:305}, {id:1, xx:39040, yy:324}, {id:1, xx:39132, yy:324}, {id:2, xx:40054, yy:454}, {id:1, xx:40585, yy:163}, {id:1, xx:40668, yy:153}, {id:1, xx:40750, yy:150}, {id:1, xx:42448, yy:422}, {id:1, xx:42478, yy:368}, {id:1, xx:42508, yy:422}];
pos4 = [-1, -5, 10, 11, 46, -52, -38, -1038, 17, 18, 19, 20, 21, 22, 2, 4, 1005, 6, 7, 2, 48, 49, 50, -1, -16, 16, -29, -28, -1027, -26, -38, -22, -34, -25, -1, 1, 1026, -23, 38, 39, 40, -40, -1039, 38, 30, 31, 32, 33, 34, 35, 36, 37, 17, 18, 19, 20, 21, 22, 54, -19, -18, -17, 5, 49, 50, -35, -55, -56, 33, 34, 35, 1, 6, 7, 1];
ob4 = [{id:1, xx:1358, yy:174}, {id:1, xx:1438, yy:139}, {id:1, xx:1528, yy:117}, {id:1, xx:2284, yy:229}, {id:1, xx:2351, yy:231}, {id:1, xx:4683, yy:173}, {id:1, xx:4750, yy:175}, {id:3, xx:5133, yy:132}, {id:2, xx:5340, yy:225}, {id:1, xx:6160, yy:367}, {id:1, xx:6190, yy:420}, {id:1, xx:6220, yy:367}, {id:1, xx:7320, yy:413}, {id:1, xx:7393, yy:410}, {id:1, xx:7467, yy:402}, {id:2, xx:8560, yy:340}, {id:1, xx:9176, yy:361}, {id:1, xx:9243, yy:363}, {id:1, xx:9954, yy:478}, {id:1, xx:9984, yy:424}, {id:1, xx:10015, yy:478}, {id:1, xx:10720, yy:331}, {id:1, xx:10782, yy:333}, {id:3, xx:11318, yy:188}, {id:1, xx:12210, yy:280}, {id:1, xx:12240, yy:333}, {id:1, xx:12271, yy:280}, {id:2, xx:13185, yy:211}, {id:1, xx:14724, yy:340}, {id:1, xx:14798, yy:336}, {id:1, xx:14871, yy:328}, {id:1, xx:16591, yy:130}, {id:1, xx:16649, yy:157}, {id:1, xx:16698, yy:203}, {id:2, xx:17432, yy:353}, {id:1, xx:18842, yy:346}, {id:1, xx:18916, yy:348}, {id:3, xx:19156, yy:200}, {id:1, xx:20046, yy:402}, {id:1, xx:20046, yy:455}, {id:1, xx:20453, yy:450}, {id:1, xx:20453, yy:397}, {id:2, xx:21759, yy:335}, {id:3, xx:22111, yy:54}, {id:1, xx:22274, yy:96}, {id:1, xx:22347, yy:113}, {id:1, xx:22421, yy:139}, {id:4, xx:23353, yy:396}, {id:1, xx:24378, yy:409}, {id:1, xx:24408, yy:463}, {id:1, xx:24439, yy:409}, {id:2, xx:25510, yy:403}, {id:1, xx:26774, yy:96}, {id:1, xx:26847, yy:103}, {id:1, xx:26921, yy:119}, {id:3, xx:27359, yy:65}, {id:1, xx:28113, yy:434}, {id:1, xx:28143, yy:381}, {id:1, xx:28173, yy:434}, {id:2, xx:29069, yy:243}, {id:1, xx:29903, yy:97}, {id:1, xx:29977, yy:113}, {id:1, xx:30045, yy:145}, {id:2, xx:31001, yy:348}, {id:3, xx:32069, yy:183}, {id:1, xx:32648, yy:373}, {id:1, xx:32648, yy:316}, {id:1, xx:33687, yy:316}, {id:1, xx:33717, yy:369}, {id:1, xx:33748, yy:316}, {id:1, xx:33862, yy:300}, {id:1, xx:33892, yy:246}, {id:1, xx:33923, yy:300}, {id:1, xx:35384, yy:333}, {id:1, xx:35458, yy:333}, {id:1, xx:35531, yy:333}];
pos5 = [1, 2, 4, 5, 8, 9, 1010, 5, -16, 16, 17, -58, 16, 17, 18, 59, 22, 26, 1027, 28, 29, 39, -60, 44, 45, 59, 50, 39, 40, 41, 1006, 7, 49, -49, -41, -60, 41, -1037, -36, -25, 61, -32, -31, -30, 1, -5, 62, 63, 46, -52, -38, -1038, -1, -16, 16, -29, -28, -27, -26, 6, 2, 48, -33, -64, 35, 2, 4, 1005, 17, 18, 19, 20, 21, 64, -64, 33, -48, -2, -1, 6, -1];
ob5 = [{id:1, xx:1585, yy:338}, {id:1, xx:1665, yy:338}, {id:1, xx:2438, yy:426}, {id:1, xx:2518, yy:421}, {id:1, xx:2593, yy:398}, {id:1, xx:2658, yy:358}, {id:1, xx:3325, yy:336}, {id:1, xx:3412, yy:338}, {id:3, xx:3557, yy:203}, {id:1, xx:4212, yy:253}, {id:1, xx:4242, yy:306}, {id:1, xx:4273, yy:253}, {id:1, xx:5688, yy:338}, {id:1, xx:5770, yy:323}, {id:1, xx:5848, yy:295}, {id:2, xx:6360, yy:350}, {id:3, xx:7028, yy:64}, {id:1, xx:7229, yy:90}, {id:1, xx:7304, yy:125}, {id:1, xx:7378, yy:164}, {id:1, xx:8544, yy:399}, {id:1, xx:8631, yy:402}, {id:2, xx:9637, yy:257}, {id:3, xx:9802, yy:45}, {id:1, xx:10965, yy:432}, {id:1, xx:10995, yy:378}, {id:1, xx:11026, yy:432}, {id:1, xx:11864, yy:242}, {id:1, xx:11951, yy:245}, {id:1, xx:12733, yy:338}, {id:1, xx:12733, yy:283}, {id:2, xx:13168, yy:335}, {id:3, xx:13332, yy:208}, {id:1, xx:14013, yy:397}, {id:1, xx:14043, yy:451}, {id:1, xx:14073, yy:397}, {id:1, xx:15652, yy:342}, {id:1, xx:15739, yy:345}, {id:1, xx:16250, yy:267}, {id:1, xx:16250, yy:323}, {id:3, xx:16743, yy:198}, {id:1, xx:17465, yy:384}, {id:1, xx:17495, yy:438}, {id:1, xx:17526, yy:384}, {id:2, xx:18103, yy:358}, {id:1, xx:18929, yy:373}, {id:1, xx:18999, yy:366}, {id:3, xx:19239, yy:200}, {id:1, xx:19611, yy:133}, {id:1, xx:19668, yy:170}, {id:1, xx:19720, yy:218}, {id:4, xx:20355, yy:503}, {id:1, xx:20981, yy:195}, {id:1, xx:21048, yy:150}, {id:1, xx:21123, yy:119}, {id:2, xx:21936, yy:333}, {id:3, xx:22376, yy:205}, {id:1, xx:23195, yy:362}, {id:1, xx:23277, yy:357}, {id:1, xx:23359, yy:336}, {id:1, xx:23436, yy:301}, {id:1, xx:24606, yy:144}, {id:1, xx:24671, yy:179}, {id:2, xx:24883, yy:338}, {id:3, xx:25864, yy:186}, {id:1, xx:26716, yy:271}, {id:1, xx:26746, yy:325}, {id:1, xx:26776, yy:271}, {id:1, xx:27808, yy:97}, {id:1, xx:27876, yy:127}, {id:1, xx:27936, yy:173}, {id:2, xx:28728, yy:398}, {id:1, xx:29146, yy:361}, {id:1, xx:29216, yy:354}, {id:3, xx:29498, yy:143}, {id:1, xx:31148, yy:258}, {id:1, xx:31148, yy:313}, {id:1, xx:31826, yy:352}, {id:1, xx:31826, yy:296}, {id:1, xx:33182, yy:463}, {id:1, xx:33234, yy:448}, {id:2, xx:33891, yy:371}, {id:3, xx:35134, yy:133}, {id:1, xx:35412, yy:108}, {id:1, xx:35480, yy:125}, {id:1, xx:35537, yy:154}, {id:1, xx:36186, yy:362}, {id:1, xx:36216, yy:415}, {id:1, xx:36246, yy:362}, {id:1, xx:37308, yy:364}, {id:1, xx:37338, yy:311}, {id:1, xx:37369, yy:364}, {id:1, xx:38613, yy:286}, {id:1, xx:38681, yy:265}, {id:1, xx:38748, yy:246}];
pos6 = [1, 26, -23, 7, 57, 33, 34, 16, 39, 40, 71, 38, 1001, 30, 31, 32, 35, 36, 37, -71, -40, -39, -16, 33, -48, -2, 6, 1001, 1, -22, -64, 64, 35, 38, 34, 22, 1023, 24, 52, 47, 48, -68, -25, -24, -23, -22, -21, 27, 28, 29, 1030, 12, 13, 14, 15, 35, -48, -2, -35, -66, 16, 36, 1037, 5, -16, -64, 35, 36, 37, 30, 31, 32, 66, -34, -38, -24, -23, 34, 35, -1, -38];
ob6 = [{id:1, xx:973, yy:255}, {id:1, xx:1045, yy:226}, {id:1, xx:1115, yy:198}, {id:3, xx:1563, yy:215}, {id:1, xx:2325, yy:356}, {id:1, xx:2355, yy:410}, {id:1, xx:2386, yy:356}, {id:1, xx:3338, yy:465}, {id:1, xx:3368, yy:412}, {id:1, xx:3398, yy:465}, {id:1, xx:4536, yy:430}, {id:1, xx:4536, yy:373}, {id:1, xx:5033, yy:392}, {id:1, xx:5033, yy:448}, {id:2, xx:5678, yy:340}, {id:3, xx:6623, yy:54}, {id:1, xx:6828, yy:100}, {id:1, xx:6900, yy:122}, {id:1, xx:6965, yy:154}, {id:1, xx:7700, yy:483}, {id:1, xx:7773, yy:461}, {id:1, xx:7843, yy:430}, {id:1, xx:7908, yy:392}, {id:1, xx:7970, yy:341}, {id:2, xx:8565, yy:375}, {id:1, xx:9443, yy:292}, {id:1, xx:9473, yy:346}, {id:1, xx:9503, yy:292}, {id:1, xx:9928, yy:436}, {id:1, xx:9958, yy:382}, {id:1, xx:9988, yy:436}, {id:3, xx:10668, yy:208}, {id:1, xx:11178, yy:249}, {id:1, xx:11259, yy:271}, {id:1, xx:11340, yy:274}, {id:1, xx:11421, yy:249}, {id:1, xx:12020, yy:381}, {id:1, xx:12020, yy:328}, {id:2, xx:13035, yy:294}, {id:1, xx:13852, yy:328}, {id:1, xx:13925, yy:327}, {id:1, xx:15250, yy:300}, {id:1, xx:15250, yy:353}, {id:1, xx:15791, yy:313}, {id:1, xx:15821, yy:367}, {id:1, xx:15852, yy:313}, {id:2, xx:17723, yy:385}, {id:1, xx:18850, yy:161}, {id:1, xx:18919, yy:136}, {id:3, xx:19059, yy:96}, {id:1, xx:20503, yy:302}, {id:1, xx:20533, yy:356}, {id:1, xx:20564, yy:302}, {id:1, xx:21552, yy:388}, {id:1, xx:21620, yy:383}, {id:2, xx:21909, yy:363}, {id:3, xx:22151, yy:150}, {id:1, xx:22821, yy:398}, {id:1, xx:22851, yy:452}, {id:1, xx:22881, yy:398}, {id:4, xx:24138, yy:321}, {id:1, xx:24529, yy:153}, {id:1, xx:24598, yy:190}, {id:1, xx:24668, yy:223}, {id:1, xx:25656, yy:208}, {id:1, xx:25727, yy:216}, {id:3, xx:26064, yy:93}, {id:1, xx:27141, yy:440}, {id:1, xx:27171, yy:493}, {id:1, xx:27201, yy:440}, {id:1, xx:27333, yy:404}, {id:1, xx:27363, yy:351}, {id:1, xx:27394, yy:404}, {id:1, xx:28451, yy:340}, {id:1, xx:28516, yy:315}, {id:1, xx:28583, yy:290}, {id:3, xx:28756, yy:198}, {id:1, xx:29160, yy:304}, {id:1, xx:29160, yy:359}, {id:1, xx:29846, yy:468}, {id:1, xx:29876, yy:414}, {id:1, xx:29906, yy:468}, {id:2, xx:30555, yy:373}, {id:1, xx:31481, yy:337}, {id:1, xx:31546, yy:342}, {id:1, xx:32191, yy:345}, {id:1, xx:32191, yy:288}, {id:1, xx:32816, yy:296}, {id:1, xx:32816, yy:353}, {id:1, xx:33756, yy:398}, {id:1, xx:33826, yy:398}, {id:2, xx:34423, yy:315}, {id:3, xx:34641, yy:51}, {id:1, xx:34838, yy:103}, {id:1, xx:34906, yy:125}, {id:1, xx:34970, yy:159}, {id:1, xx:35691, yy:453}, {id:1, xx:35721, yy:506}, {id:1, xx:35752, yy:453}, {id:1, xx:37222, yy:243}, {id:1, xx:37270, yy:291}, {id:1, xx:37332, yy:328}, {id:1, xx:38851, yy:414}, {id:1, xx:38924, yy:397}, {id:1, xx:38986, yy:355}];
pos7 = [-1, 10, -38, -1038, -4, -2, -35, 22, 6, 7, 2, 48, -33, 16, 26, 27, 1028, 19, 20, 21, 66, 16, -35, 35, -48, -2, -35, 67, -21, -20, -1019, -18, -17, -16, 16, 34, 22, 23, 24, 25, 49, 50, 2, 48, -16, 67, 70, 22, 49, -49, -1007, -6, -41, -60, 41, 30, 31, 32, -21, 24, 25, 7, 8, 9, 1010, 11, 12, 13, 14, 15, 66, 67, -66, -62, 1, 2, 3, 4, 1];
ob7 = [{id:1, xx:974, yy:366}, {id:1, xx:1046, yy:366}, {id:3, xx:2748, yy:199}, {id:1, xx:3139, yy:311}, {id:1, xx:3169, yy:365}, {id:1, xx:3199, yy:311}, {id:1, xx:4134, yy:201}, {id:1, xx:4199, yy:221}, {id:1, xx:4260, yy:250}, {id:2, xx:4634, yy:353}, {id:3, xx:4751, yy:197}, {id:1, xx:5488, yy:417}, {id:1, xx:5488, yy:471}, {id:1, xx:6150, yy:281}, {id:1, xx:6180, yy:228}, {id:1, xx:6211, yy:281}, {id:1, xx:7390, yy:302}, {id:1, xx:7457, yy:322}, {id:1, xx:7513, yy:366}, {id:2, xx:8763, yy:265}, {id:3, xx:8883, yy:65}, {id:1, xx:9625, yy:475}, {id:1, xx:9655, yy:422}, {id:1, xx:9686, yy:475}, {id:1, xx:11218, yy:295}, {id:1, xx:11248, yy:348}, {id:1, xx:11278, yy:295}, {id:1, xx:12508, yy:319}, {id:1, xx:12577, yy:296}, {id:1, xx:12648, yy:273}, {id:1, xx:13163, yy:305}, {id:1, xx:13163, yy:358}, {id:1, xx:13789, yy:371}, {id:1, xx:13819, yy:424}, {id:1, xx:13849, yy:371}, {id:1, xx:14453, yy:156}, {id:1, xx:14516, yy:126}, {id:1, xx:14586, yy:110}, {id:2, xx:15281, yy:190}, {id:3, xx:16168, yy:213}, {id:1, xx:16700, yy:251}, {id:1, xx:16730, yy:305}, {id:1, xx:16761, yy:251}, {id:1, xx:18343, yy:335}, {id:1, xx:18415, yy:338}, {id:2, xx:19307, yy:409}, {id:1, xx:20248, yy:338}, {id:3, xx:20746, yy:198}, {id:1, xx:21473, yy:413}, {id:1, xx:21473, yy:471}, {id:4, xx:22174, yy:293}, {id:1, xx:22841, yy:382}, {id:1, xx:22871, yy:435}, {id:1, xx:22901, yy:382}, {id:1, xx:24246, yy:335}, {id:2, xx:24725, yy:343}, {id:1, xx:25338, yy:214}, {id:1, xx:25411, yy:196}, {id:1, xx:25488, yy:192}, {id:1, xx:26446, yy:461}, {id:1, xx:26476, yy:407}, {id:1, xx:26506, yy:461}, {id:3, xx:27695, yy:48}, {id:1, xx:27871, yy:116}, {id:1, xx:27939, yy:145}, {id:1, xx:28003, yy:182}, {id:1, xx:28786, yy:542}, {id:1, xx:28816, yy:488}, {id:1, xx:28846, yy:542}, {id:1, xx:28911, yy:425}, {id:1, xx:28941, yy:478}, {id:1, xx:28971, yy:425}, {id:2, xx:29831, yy:421}, {id:1, xx:30530, yy:356}, {id:1, xx:30597, yy:356}, {id:1, xx:32352, yy:181}, {id:1, xx:32420, yy:149}, {id:1, xx:32495, yy:128}, {id:2, xx:33155, yy:225}, {id:3, xx:33581, yy:93}, {id:1, xx:34623, yy:514}, {id:1, xx:34653, yy:460}, {id:1, xx:34684, yy:514}, {id:1, xx:35274, yy:480}, {id:1, xx:35274, yy:428}, {id:1, xx:35747, yy:416}, {id:1, xx:35747, yy:467}, {id:1, xx:36301, yy:504}, {id:1, xx:36301, yy:453}, {id:1, xx:37126, yy:330}, {id:1, xx:37186, yy:330}];
pos8 = [1, 5, 17, 18, 19, 20, 21, 22, -33, -64, -66, 35, -38, 8, 1009, 5, -16, 22, -6, 2, 48, -33, 16, 62, 66, -32, -31, -1030, 5, -41, 60, 60, 41, -25, -22, -34, -16, 33, -48, -2, -1038, 5, -35, 35, 2, 48, 25, 26, 27, 28, 29, -35, 33, 34, 67, 66, -21, -20, -1019, -18, -17, -16, 67, -34, -38, -35, -67, -64, -66, 22, 23, 1024, 5, -68, -1, 62, 66, -67, 67, -49, 5, 11, 69, 67, 70, -69, 69, -70, 67, 22, 5];
ob8 = [{id:1, xx:1891, yy:105}, {id:1, xx:1955, yy:123}, {id:1, xx:2017, yy:151}, {id:3, xx:2381, yy:65}, {id:1, xx:3123, yy:373}, {id:1, xx:3153, yy:427}, {id:1, xx:3183, yy:373}, {id:1, xx:4100, yy:298}, {id:1, xx:4130, yy:245}, {id:1, xx:4161, yy:298}, {id:1, xx:4724, yy:338}, {id:1, xx:4724, yy:285}, {id:1, xx:5315, yy:418}, {id:1, xx:5345, yy:471}, {id:1, xx:5376, yy:418}, {id:2, xx:6112, yy:346}, {id:3, xx:7643, yy:208}, {id:1, xx:8135, yy:279}, {id:1, xx:8165, yy:333}, {id:1, xx:8196, yy:279}, {id:1, xx:9031, yy:189}, {id:1, xx:9106, yy:203}, {id:1, xx:9175, yy:224}, {id:3, xx:9348, yy:223}, {id:2, xx:9985, yy:449}, {id:1, xx:10650, yy:307}, {id:1, xx:10680, yy:253}, {id:1, xx:10710, yy:307}, {id:1, xx:11698, yy:421}, {id:1, xx:11698, yy:367}, {id:1, xx:12238, yy:428}, {id:1, xx:12296, yy:465}, {id:1, xx:12363, yy:482}, {id:2, xx:13070, yy:213}, {id:1, xx:14015, yy:338}, {id:1, xx:14086, yy:338}, {id:3, xx:14251, yy:197}, {id:1, xx:14990, yy:473}, {id:1, xx:14990, yy:421}, {id:1, xx:15470, yy:421}, {id:1, xx:15470, yy:473}, {id:1, xx:16575, yy:124}, {id:1, xx:16640, yy:145}, {id:1, xx:16688, yy:189}, {id:2, xx:17215, yy:422}, {id:3, xx:17751, yy:197}, {id:1, xx:18255, yy:260}, {id:1, xx:18285, yy:313}, {id:1, xx:18316, yy:260}, {id:1, xx:18987, yy:326}, {id:1, xx:19047, yy:351}, {id:1, xx:20361, yy:323}, {id:1, xx:20434, yy:323}, {id:3, xx:20749, yy:197}, {id:2, xx:21237, yy:310}, {id:1, xx:22456, yy:404}, {id:1, xx:22486, yy:458}, {id:1, xx:22516, yy:404}, {id:1, xx:23806, yy:293}, {id:1, xx:23876, yy:301}, {id:1, xx:23943, yy:318}, {id:4, xx:24596, yy:313}, {id:3, xx:24819, yy:48}, {id:1, xx:25613, yy:301}, {id:1, xx:25694, yy:329}, {id:1, xx:25774, yy:328}, {id:1, xx:25855, yy:306}, {id:1, xx:25935, yy:263}, {id:1, xx:27232, yy:427}, {id:1, xx:27232, yy:378}, {id:1, xx:27801, yy:405}, {id:1, xx:27831, yy:458}, {id:1, xx:27862, yy:405}, {id:2, xx:28640, yy:189}, {id:1, xx:29463, yy:103}, {id:1, xx:29531, yy:128}, {id:1, xx:29576, yy:181}, {id:1, xx:30658, yy:270}, {id:1, xx:30688, yy:323}, {id:1, xx:30719, yy:270}, {id:1, xx:31203, yy:408}, {id:1, xx:31943, yy:348}, {id:1, xx:32014, yy:348}, {id:3, xx:32241, yy:197}, {id:1, xx:32626, yy:299}, {id:1, xx:32656, yy:353}, {id:1, xx:32686, yy:299}, {id:1, xx:33269, yy:336}, {id:1, xx:33269, yy:385}, {id:1, xx:33717, yy:345}, {id:1, xx:33717, yy:296}, {id:2, xx:34277, yy:452}, {id:1, xx:34721, yy:265}, {id:1, xx:34784, yy:225}, {id:1, xx:34843, yy:193}, {id:3, xx:36121, yy:208}, {id:1, xx:36511, yy:292}, {id:1, xx:36541, yy:346}, {id:1, xx:36571, yy:292}, {id:1, xx:37706, yy:388}, {id:1, xx:37706, yy:436}, {id:1, xx:38249, yy:493}, {id:1, xx:38249, yy:444}, {id:1, xx:38741, yy:401}, {id:1, xx:38741, yy:352}, {id:1, xx:39243, yy:375}, {id:1, xx:39243, yy:423}, {id:2, xx:39978, yy:336}, {id:3, xx:40756, yy:49}, {id:1, xx:41136, yy:243}, {id:1, xx:41208, yy:280}, {id:1, xx:41283, yy:281}, {id:1, xx:41886, yy:351}, {id:1, xx:41916, yy:404}, {id:1, xx:41946, yy:351}, {id:1, xx:42336, yy:261}, {id:1, xx:42336, yy:314}, {id:1, xx:43181, yy:225}, {id:1, xx:43181, yy:268}, {id:1, xx:43576, yy:313}, {id:1, xx:43606, yy:260}, {id:1, xx:43636, yy:313}, {id:1, xx:44231, yy:373}];
pos99 = [1, 1];
ob99 = [];
levelposcode = [""];
levelposcode.push([1, 99], [2, 99], [3, 99], [4, 99], [5, 99], [6, 99], [7, 99], [8, 99]);
Frame 22
call("pro2");
fadescreen();
stop();
Frame 29
call("pro");
call("pro2");
fadescreen(8);
if (!r.allbmpdone) {
d = 15;
onEnterFrame = function () {
d--;
((!d) ? (delete onEnterFramegotoAndPlay ("loadbmp")) : null);
};
}
stop();
Frame 35
call("pro2");
call("pro");
call("posdata");
wid = 500;
hei = 500;
allbmp = [];
var bevel1 = (new flash.filters.BevelFilter(80, 90, 11455038, 1, 0, 0, 1, 100, 1, 1, "inner", false));
var bevel2 = (new flash.filters.BevelFilter(10, 90, 15989670, 1, 0, 0, 1, 50, 1, 1, "inner", false));
var blur = (new flash.filters.BlurFilter(0, 2, 3));
counter = 1;
Frame 36
var it = place.attachMovie("slice" + counter, "a", 10, {_x:0, _y:500});
if (it._width > 0) {
it.filters = [bevel1, bevel2, blur];
var pt = place.attachMovie("pattern", "b", 11);
pt.blendMode = 9;
pt._alpha = 25;
var it2 = it.duplicateMovieClip("it2", 13);
pt.setMask(it2);
it2._y = it2._y + 2;
dep++;
allbmp[counter] = new flash.display.BitmapData(wid, hei, true);
snapshot(allbmp[counter], place, (-wid) / 2, 0, wid, hei, 1, 0, 2);
}
Frame 37
((it._width > 0) ? (counter++gotoAndPlay(_currentframe - 1)) : ((r.allbmpdone = 1)stop()));
Frame 45
_global.m = this.map;
_global.stat = this.stat;
_global.cart = m.cart;
_global.rockets = m.rockets;
_global.wheel0 = m.wheel0;
_global.wheel1 = m.wheel1;
_global.land = m.land;
_global.landbmp = m.landbmp;
lastslice = null;
land._visible = false;
delete onEnterFrame;
call("pro");
call("pro2");
call("posdata");
fadescreen();
if (!level) {
level = 1;
retry = (ang = 0);
}
if (!retry) {
onesec = 30;
leveltime = [80, 120, 120, 120, 120, 140, 160, 180];
timer = (leveltime[level - 1] + 1) * onesec;
timepenalty = 10;
checkpoint = 0;
turbo = (turbomax = 2);
perfectrun = (lostnolives = (unusedturbo = 1));
} else {
perfectrun = (lostnolives = 0);
}
perfectbonus = 25000;
lostnolivesbonus = 12000;
unusedturbobonus = 8000;
levelmax = 4;
cartno = Math.min(5, level);
fuel = (fuelmax = 100);
addfuel = 35;
turbomaxspeed = 33;
turboaccelspeed = 4;
turbotime = 80;
nil = 300;
slicewid = 500;
maxspeed = (normalmaxspeed = 22);
minspeed = (normalminspeed = 7);
accelspeed = (normalaccelspeed = 0.5);
yland = 570;
ymin = 40;
ymax = 360;
screenwid = 960;
screenhei = 560;
ldep = 100;
od = 1000;
popd = 50000;
slices1 = [];
slices2 = [];
finish = (accel = (xpassed = (noaccel = (udaflag = (tracknow = (stopdiv = (udafireworks = (turbomode = (jumpchasm = (nocekchasm = (timebonus = 0)))))))))));
nobumpsfx = 20;
endsliceflagcount = 2;
getleveldata();
getobjectdata();
tracklength = ((pos.length - endsliceflagcount) - 1) * 500;
slicenow = (obnow = (trackstart = 0));
if (retry) {
retry = 0;
if (checkpoint > 0) {
var count = 0;
var i = 0;
while (i < pos.length) {
slicenow++;
((Math.abs(pos[i]) > 1000) ? (count++) : null);
if (count == checkpoint) {
checkpoint--;
slicenow--;
break;
}
i++;
}
pos.splice(0, slicenow - 1);
trackstart = (slicenow - 1) * slicewid;
while (ob[0].xx < trackstart) {
ob.shift();
}
var i = 0;
while (i < ob.length) {
ob[i].xx = ob[i].xx - trackstart;
i++;
}
}
}
makeland(pos.shift());
slicenow++;
makeland(pos.shift());
slicenow++;
cart._x = 120;
cart._y = (wheel0._y = (wheel1._y = getland(cart._x)));
((level == 1) ? (stat.attachMovie("hint", "hint" + r.popd, r.popd, {_x:r.screenwid / 2, _y:120, no:no})r.popd++) : null);
if (!r.udamusik) {
r.udamusik = 1;
stopAllSounds();
r.createEmptyMovieClip("sfx", 60001);
allsfx = ["zpop", "zfireworks", "zcrash", "zcrash", "zbonus", "ztink", "ztink2"];
var i = 0;
while (i < allsfx.length) {
r[allsfx[i]] = new Sound(sfx);
r[allsfx[i]].attachSound(allsfx[i]);
i++;
}
r.createEmptyMovieClip("sfx2", 60002);
r.zloop = new Sound(sfx2);
r.zloop.attachSound("zloop");
r.zloop.start(0, 99999);
r.zloop.setVolume(0);
r.zloop.fade("in", 0.2);
r.createEmptyMovieClip("sfx3", 60003);
r.zrocket1 = new Sound(sfx3);
r.zrocket1.attachSound("zrocket1");
r.zrocket1.start(0, 99999);
r.createEmptyMovieClip("sfx4", 60004);
r.zrocket2 = new Sound(sfx4);
r.zrocket2.attachSound("zrocket2");
r.zrocket2.start(0, 99999);
r.zrocket2.setVolume(0);
r.createEmptyMovieClip("sfx5", 60005);
r.zbump = new Sound(sfx5);
r.zbump.attachSound("zbump");
r.createEmptyMovieClip("sfx6", 60006);
r.zturbo = new Sound(sfx6);
r.zturbo.attachSound("zturbo");
}
(r.music ? (r.zrocket1.setVolume(100)) : null);
stat.attachMovie("levelinfo", "levelinfo", 100, {_x:480, _y:280});
cl = new Color(m);
brmax = 30;
br = 0;
onEnterFrame = function () {
m._x = Math.round(Math.min(xpassed, 120 - cart._x));
if (!udaflag) {
((pos.length == endsliceflagcount) ? (makeflag()(udaflag = 1)) : null);
} else if (cart._x > flag._x) {
((!stopdiv) ? ((stopdiv = wheel0.xs)(stopx = m._x)delete stat.timer.onEnterFrame) : null);
m._x = Math.round(stopx + stopdiv);
stopdiv = stopdiv * 0.95;
(((cart._x > flag._x) and (!r.udafireworks)) ? (m.attachMovie("fireworks", "fireworks", r.od)r.od++(r.udafireworks = 1)) : null);
(((cart._x > (flag._x + 400)) and (!r.finish)) ? (finishlevel()(r.finish = 1)) : null);
}
xnow = -m._x;
xpassed = Math.min(xpassed, m._x);
tracknow = trackstart - m._x;
((r.lastslice._x < ((-m._x) + 750)) ? (makeland(pos.shift())slicenow++) : null);
((r.slices1[0]._x < ((-m._x) - 250)) ? ((it = r.slices1.shift())((Math.abs(it.id) > 1000) ? (checkpoint++) : null)it.removeMovieClip()(it = r.slices2.shift())it.removeMovieClip()) : null);
((r.ob[0].xx < (tracknow + 1000)) ? ((it = r.ob.shift())make(it.id, it.xx, r.yland - it.yy)) : null);
((r.noaccel > 0) ? (r.noaccel--) : null);
((r.turbomode > 0) ? (r.turbomode--((!r.turbomode) ? ((r.maxspeed = r.normalmaxspeed)(r.accelspeed = r.normalaccelspeed)) : null)) : null);
if (r.turbomode) {
((br < brmax) ? ((br = Math.min(brmax, br + 5))cl.setBrightness(br)) : null);
} else {
((br > 0) ? ((br = Math.max(0, br - 5))cl.setBrightness(br)) : null);
}
((r.nobumpsfx > 0) ? (r.nobumpsfx--) : null);
((r.nocekchasm > 0) ? (r.nocekchasm--) : null);
};
stop();
Instance of Symbol 400 MovieClip in Frame 45
onClipEvent (load) {
letterkeys = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
numberkeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
numpadkeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "+", "Enter", "-", ".", "/"];
functionkeys = ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12"];
otherkeys = ["Space", "Page Up", "Page Down", "End", "Home", "Left", "Up", "Right", "Down"];
keypressed = "";
}
onClipEvent (keyDown) {
k = Key.getCode();
if ((k >= 65) and (k <= 90)) {
keyp = letterkeys[k - 65];
}
if ((k >= 48) and (k <= 57)) {
keyp = numberkeys[k - 48];
}
if ((k >= 96) and (k <= 111)) {
keyp = numpadkeys[k - 96];
}
if ((k >= 112) and (k <= 123)) {
keyp = functionkeys[k - 112];
}
if ((k >= 32) and (k <= 40)) {
keyp = otherkeys[k - 32];
}
if (k == 8) {
keyp = "BackSpace";
}
if (k == 9) {
keyp = "Tab";
}
if (k == 12) {
keyp = "Clear";
}
if (k == 13) {
keyp = "Enter";
}
if (k == 16) {
keyp = "Shift";
}
if (k == 17) {
keyp = "Control";
}
if (k == 18) {
keyp = "Alt";
}
if (k == 20) {
keyp = "Caps Lock";
}
if (k == 27) {
keyp = "Esc";
}
if (k == 45) {
keyp = "Insert";
}
if (k == 46) {
keyp = "Delete";
}
if (k == 47) {
keyp = "help";
}
if (k == 144) {
keyp = "Num Lock";
}
if (k == 186) {
keyp = ";:";
}
if (k == 187) {
keyp = "=+";
}
if (k == 189) {
keyp = "-_";
}
if (k == 191) {
keyp = "/?";
}
if (k == 192) {
keyp = "'@";
}
if (k == 219) {
keyp = "[{";
}
if (k == 220) {
keyp = "\\|";
}
if (k == 221) {
keyp = "]}";
}
keypressed = keypressed + keyp;
if ((substring(keypressed, keypressed.length - 3, 4)) == "NNNN") {
r.level++;
r.checkpoint = (r.slicenow = (r.retry = 0));
r.gotoAndPlay("next");
keypressed = "";
} else if ((substring(keypressed, keypressed.length - 2, 3)) == "000") {
r.retry = 1;
r.gotoAndPlay("next");
}
}
Frame 46
star1end._visible = r.ang >= (_global.oneStarThreshold * 1000);
star2end._visible = r.ang >= (_global.twoStarThreshold * 1000);
star3end._visible = r.ang >= (_global.threeStarThreshold * 1000);
oneStarEnd_txt = _global.oneStarThreshold + "k";
twoStarEnd_txt = _global.twoStarThreshold + "k";
threeStarEnd_txt = _global.threeStarThreshold + "k";
delete onEnterFrame;
fadescreen();
stopsfx();
stop();
Frame 52
star1win._visible = r.ang >= (_global.oneStarThreshold * 1000);
star2win._visible = r.ang >= (_global.twoStarThreshold * 1000);
star3win._visible = r.ang >= (_global.threeStarThreshold * 1000);
oneStarWin_txt = _global.oneStarThreshold + "k";
twoStarWin_txt = _global.twoStarThreshold + "k";
threeStarWin_txt = _global.threeStarThreshold + "k";
delete onEnterFrame;
fadescreen();
stopsfx();
stop();
Frame 58
stopsfx();
((r.level <= r.levelmax) ? (gotoAndPlay ("start")) : (gotoAndPlay ("win")));
Symbol 1 MovieClip [fadeout] Frame 1
vs = 5;
vol = r.zloop.getVolume();
if (vol > 0) {
onEnterFrame = function () {
vol = vol - vs;
if (vs > 0.5) {
vs = 0.95 * vs;
}
r.zloop.setVolume(vol);
if (vol <= 0) {
r.zloop.stop();
delete onEnterFrame;
}
};
}
Symbol 15 MovieClip Frame 1
_alpha = 0;
onEnterFrame = function () {
_alpha = Math.min(100, _alpha + 10);
n = r.persen;
if (n <= 50) {
ro1 = (n / 50) * 180;
ring.r1._rotation = ro1;
ring.r2._rotation = 180;
} else {
ring.r1._rotation = 180;
ro2 = ((n - 50) / 50) * 180;
ring.r2._rotation = 180 + ro2;
}
};
stop();
Symbol 18 MovieClip Frame 1
_alpha = 0;
onEnterFrame = function () {
_alpha = Math.min(100, _alpha + 10);
};
Symbol 30 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 1
onEnterFrame = function () {
_alpha = (20 + random(80));
};
Symbol 37 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation + 8);
};
Symbol 42 MovieClip [o2] Frame 1
initfuel();
Symbol 48 MovieClip Frame 1
txt = "LEVEL " + r.level;
Symbol 50 MovieClip [levelinfo] Frame 1
d = 40;
onEnterFrame = function () {
d--;
if (!d) {
onEnterFrame = function () {
_y = (_y - 2);
_alpha = (_alpha - 15);
((_alpha <= 0) ? (this.removeMovieClip()) : null);
};
}
};
stop();
Symbol 62 Button
on (release) {
_parent._parent.play();
}
Symbol 95 MovieClip Frame 1
txt = "LEVEL " + r.level;
arr1 = [0, "Your Score:", "Time Bonus:"];
arr2 = [0, r.ang, r.timebonus];
(r.lostnolives ? (arr1.push("No Missed Jumps:")arr2.push(r.lostnolivesbonus)) : (stop()));
(r.unusedturbo ? (arr1.push("Unused Turbo:")arr2.push(r.unusedturbobonus)) : (stop()));
(r.perfectrun ? (arr1.push("Perfect Bonus:")arr2.push(r.perfectbonus)) : (stop()));
var i = 1;
while (i < arr1.length) {
this["txt" + i] = arr1[i];
this["a" + i] = arr2[i];
i++;
}
a8 = r.newang;
star1level._visible = a8 > _global.oneStarThreshold;
star2level._visible = a8 > _global.twoStarThreshold;
star3level._visible = a8 > _global.threeStarThreshold;
gotoAndStop(arr1.length - 2);
Symbol 96 MovieClip Frame 10
stop();
Symbol 99 MovieClip [finishinfo] Frame 1
yy = _y;
_y = (yy + 15);
onEnterFrame = function () {
_y = (_y + ((yy - _y) / 5));
};
stop();
Symbol 99 MovieClip [finishinfo] Frame 10
r.level++;
r.ang = r.newang;
r.gotoAndPlay("next");
this.removeMovieClip();
Symbol 101 MovieClip [slice2] Frame 1
initslice(2);
Symbol 103 MovieClip [slice1] Frame 1
initslice(1);
Symbol 105 MovieClip [slice3] Frame 1
initslice(3);
Symbol 107 MovieClip [slice4] Frame 1
initslice(4);
Symbol 109 MovieClip [slice5] Frame 1
initslice(5);
Symbol 111 MovieClip [slice6] Frame 1
initslice(6);
Symbol 113 MovieClip [slice7] Frame 1
initslice(7);
Symbol 115 MovieClip [slice8] Frame 1
initslice(8);
Symbol 117 MovieClip [slice9] Frame 1
initslice(9);
Symbol 119 MovieClip [slice10] Frame 1
initslice(10);
Symbol 121 MovieClip [slice11] Frame 1
initslice(11);
Symbol 123 MovieClip [slice12] Frame 1
initslice(12);
Symbol 125 MovieClip [slice14] Frame 1
initslice(14);
Symbol 127 MovieClip [slice13] Frame 1
initslice(13);
Symbol 129 MovieClip [slice15] Frame 1
initslice(15);
Symbol 131 MovieClip [slice16] Frame 1
initslice(16);
Symbol 133 MovieClip [slice17] Frame 1
initslice(17);
Symbol 135 MovieClip [slice18] Frame 1
initslice(18);
Symbol 137 MovieClip [slice19] Frame 1
initslice(19);
Symbol 139 MovieClip [slice20] Frame 1
initslice(20);
Symbol 141 MovieClip [slice21] Frame 1
initslice(21);
Symbol 143 MovieClip [slice22] Frame 1
initslice(22);
Symbol 145 MovieClip [slice23] Frame 1
initslice(23);
Symbol 147 MovieClip [slice24] Frame 1
initslice(24);
Symbol 149 MovieClip [slice26] Frame 1
initslice(26);
Symbol 151 MovieClip [slice25] Frame 1
initslice(25);
Symbol 153 MovieClip [slice27] Frame 1
initslice(27);
Symbol 155 MovieClip [slice28] Frame 1
initslice(28);
Symbol 157 MovieClip [slice29] Frame 1
initslice(29);
Symbol 159 MovieClip [slice30] Frame 1
initslice(30);
Symbol 161 MovieClip [slice31] Frame 1
initslice(31);
Symbol 163 MovieClip [slice32] Frame 1
initslice(32);
Symbol 165 MovieClip [slice34] Frame 1
initslice(34);
Symbol 167 MovieClip [slice33] Frame 1
initslice(33);
Symbol 169 MovieClip [slice35] Frame 1
initslice(35);
Symbol 171 MovieClip [slice36] Frame 1
initslice(36);
Symbol 173 MovieClip [slice37] Frame 1
initslice(37);
Symbol 175 MovieClip [slice38] Frame 1
initslice(38);
Symbol 177 MovieClip [slice39] Frame 1
initslice(39);
Symbol 179 MovieClip [slice40] Frame 1
initslice(40);
Symbol 181 MovieClip [slice41] Frame 1
initslice(41);
Symbol 183 MovieClip [slice42] Frame 1
initslice(42);
Symbol 185 MovieClip [slice43] Frame 1
initslice(43);
Symbol 187 MovieClip [slice44] Frame 1
initslice(44);
Symbol 189 MovieClip [slice46] Frame 1
initslice(46);
Symbol 191 MovieClip [slice45] Frame 1
initslice(45);
Symbol 193 MovieClip [slice47] Frame 1
initslice(47);
Symbol 195 MovieClip [slice48] Frame 1
initslice(48);
Symbol 197 MovieClip [slice49] Frame 1
initslice(49);
Symbol 199 MovieClip [slice50] Frame 1
initslice(50);
Symbol 218 MovieClip Frame 1
((!uda) ? ((uda = 1)gotoAndPlay(1 + random(_totalframes))) : null);
Symbol 218 MovieClip Frame 17
gotoAndPlay (1);
Symbol 230 MovieClip [o1] Frame 1
initcookie();
Symbol 232 MovieClip Frame 1
sk = _parent.sk;
Symbol 233 MovieClip [popscore] Frame 1
jiggle();
Symbol 233 MovieClip [popscore] Frame 32
disappear();
Symbol 235 MovieClip [slice51] Frame 1
initslice(51);
Symbol 237 MovieClip [slice52] Frame 1
initslice(52);
Symbol 239 MovieClip [slice53] Frame 1
initslice(53);
Symbol 241 MovieClip [slice54] Frame 1
initslice(54);
Symbol 243 MovieClip [slice55] Frame 1
initslice(55);
Symbol 245 MovieClip [slice56] Frame 1
initslice(56);
Symbol 247 MovieClip [slice57] Frame 1
initslice(57);
Symbol 249 MovieClip [slice58] Frame 1
initslice(58);
Symbol 251 MovieClip [slice59] Frame 1
initslice(59);
Symbol 253 MovieClip [slice60] Frame 1
initslice(60);
Symbol 255 MovieClip [slice61] Frame 1
initslice(61);
Symbol 257 MovieClip [slice62] Frame 1
initslice(62);
Symbol 259 MovieClip [slice63] Frame 1
initslice(63);
Symbol 261 MovieClip [slice64] Frame 1
initslice(64);
Symbol 263 MovieClip [slice65] Frame 1
initslice(65);
Symbol 266 MovieClip Frame 10
stop();
Symbol 269 MovieClip Frame 10
stop();
Symbol 272 MovieClip Frame 10
_alpha = (60 + random(40));
stop();
Symbol 274 MovieClip Frame 1
xs = _parent.radius + (0.1 * random(4));
div = 0.84;
grav = 0.02 + (0.001 * random(20));
d = random(20);
alpfull = 100;
_alpha = ((alp = 60 + random(40)));
onEnterFrame = function () {
a._x = a._x + xs;
xs = xs * div;
_y = (_y + ys);
ys = ys + grav;
d--;
if (d < 0) {
alp = alp - 6;
alpfull = alpfull - 2;
_alpha = (alp + random(alpfull - alp));
if (_alpha < -30) {
_parent.total--;
_visible = false;
delete onEnterFrame;
this.removeMovieClip();
}
}
};
Symbol 275 MovieClip [fireworks1] Frame 1
radius = 6 + (2 * random(5));
n = 100;
total = 24;
ro = 360 / total;
var i = 1;
while (i < total) {
a.duplicateMovieClip("a" + i, n, {_rotation:i * ro});
n++;
i++;
}
r.zfireworks.start();
onEnterFrame = function () {
if (!total) {
this.removeMovieClip();
}
};
stop();
Symbol 276 MovieClip Frame 1
xs = (_parent.radius + (0.1 * random(20))) - (0.1 * random(40));
div = 0.75 + (0.01 * random(10));
grav = 0.02 + (0.001 * random(20));
d = random(20);
alpfull = 100;
_alpha = ((alp = 60 + random(40)));
onEnterFrame = function () {
a._x = a._x + xs;
xs = xs * div;
_y = (_y + ys);
ys = ys + grav;
d--;
if (d < 0) {
alp = alp - 6;
alpfull = alpfull - 2;
_alpha = (alp + random(alpfull - alp));
if (_alpha < 0) {
_parent.total--;
_visible = false;
delete onEnterFrame;
this.removeMovieClip();
}
}
};
Symbol 277 MovieClip [fireworks2] Frame 1
radius = 6 + (2 * random(5));
n = 100;
total1 = 24;
ro = 360 / total1;
var i = 1;
while (i < total1) {
a.duplicateMovieClip("a" + i, n, {_rotation:i * ro});
n++;
i++;
}
total2 = 24;
ro = 360 / total2;
var i = 1;
while (i < total2) {
b.duplicateMovieClip("b" + i, n, {_rotation:5 + (i * ro)});
n++;
i++;
}
total = total1 + total2;
r.zfireworks.start();
onEnterFrame = function () {
if (!total) {
this.removeMovieClip();
}
};
stop();
Symbol 278 MovieClip [fireworks] Frame 1
delay = 100;
d = 1;
de = 1;
n = 100;
count = 0;
flip = 1;
onEnterFrame = function () {
d--;
if (!d) {
if (count < 1) {
d = 10;
ftipe = "fireworks1";
} else {
d = 15 + random(15);
if (flip == 1) {
ftipe = "fireworks1";
flip = 2;
} else {
ftipe = "fireworks2";
flip = 1;
}
}
m.attachMovie(ftipe, "fireworks" + n, n, {_x:flag._x + random(800), _y:30 + random(120)});
n++;
count++;
}
delay--;
if (!delay) {
this.removeMovieClip();
}
};
stop();
Symbol 280 MovieClip [slice66] Frame 1
initslice(66);
Symbol 282 MovieClip [slice67] Frame 1
initslice(67);
Symbol 284 MovieClip [slice68] Frame 1
initslice(68);
Symbol 286 MovieClip [slice69] Frame 1
initslice(69);
Symbol 288 MovieClip [slice70] Frame 1
initslice(70);
Symbol 290 MovieClip [slice71] Frame 1
initslice(71);
Symbol 299 MovieClip [o3] Frame 1
initsign();
Symbol 304 MovieClip [o4] Frame 1
initturbo();
Symbol 307 MovieClip [flash] Frame 1
xs = -100 - random(200);
a._xscale = 80 + random(80);
a._yscale = 100 + random(200);
a._alpha = 30 + random(80);
onEnterFrame = function () {
_x = (_x + xs);
((_x < 0) ? (this.removeMovieClip()) : null);
};
Symbol 314 MovieClip Frame 1
sk = "+" + _parent.sk;
((sk > 600) ? (stop()) : null);
(((sk <= 600) and (sk > 500)) ? (gotoAndStop (2)) : null);
(((sk <= 500) and (sk > 400)) ? (gotoAndStop (3)) : null);
(((sk <= 400) and (sk > 300)) ? (gotoAndStop (4)) : null);
((sk <= 300) ? (gotoAndStop (5)) : null);
Symbol 315 MovieClip [popscore2] Frame 1
a.jiggle();
Symbol 315 MovieClip [popscore2] Frame 32
disappear();
Symbol 329 MovieClip Frame 1
stop();
Symbol 330 MovieClip [hint] Frame 1
_visible = false;
no = 1;
hintmax = 2;
d = 60;
onEnterFrame = function () {
d--;
if (!d) {
_visible = true;
a.jiggle(200);
d = 250;
r.zpop.start();
onEnterFrame = function () {
d--;
if (d < 0) {
no++;
if (no > hintmax) {
this.removeMovieClip();
} else {
d = 250;
a.gotoAndStop(no);
a._xscale = (a._yscale = 200);
r.zpop.start();
}
}
if (d < 200) {
((no == 1) ? ((((wheel0.ys < -15) and (!r.turbomode)) ? ((d = -1)) : null)) : null);
((no == 2) ? ((r.turbomode ? ((d = -1)) : null)) : null);
}
};
}
};
stop();
Symbol 334 MovieClip [popturbo] Frame 1
a.jiggle();
Symbol 334 MovieClip [popturbo] Frame 32
disappear();
Symbol 338 Button
on (release) {
r.gotoAndPlay("ins");
}
Symbol 346 Button
on (release) {
getURL (_global.redeemURL, "_blank");
}
Symbol 366 Button
on (release) {
r.gotoAndPlay("start");
}
Symbol 369 MovieClip Frame 1
onEnterFrame = function () {
(r.allbmpdone ? (delete onEnterFramegotoAndStop (2)) : null);
};
stop();
Symbol 369 MovieClip Frame 2
jiggle();
Symbol 395 MovieClip Frame 1
gotoAndStop(r.level);
Symbol 396 MovieClip Frame 1
duplicateMovieClip ("pic", "pic2", 2);
allwid = [0, 1124, 1000, 1000, 1000, 1000, 1000, 1000, 1000];
wid = allwid[r.level];
pic2._x = wid;
startx = _x;
oldx = m._x;
onEnterFrame = function () {
xs = (m._x - oldx) / 2;
oldx = m._x;
nx = _x + xs;
((nx < (startx - wid)) ? ((nx = nx + wid)) : null);
_x = nx;
};
Symbol 397 Button
on (keyPress "<Space>") {
if (((r.turbo > 0) and (!r.noaccel)) and (!r.turbomode)) {
r.turbo--;
stat.turbobar.gotoAndPlay(1);
r.turbomode = r.turbotime;
wheel0.ys = -30;
wheel1.ys = -30.4;
r.accelspeed = r.turboaccelspeed;
r.maxspeed = r.turbomaxspeed;
r.unusedturbo = 0;
r.zturbo.start();
}
}
on (keyPress "<Up>") {
((r.oneland and (!r.noaccel)) ? ((wheel0.ys = -17)(wheel1.ys = -17.6)) : null);
}
Symbol 398 MovieClip Frame 1
wspacing = 22;
xx = 120;
wheel0.xs = (wheel0.ys = (wheel1.xs = (wheel1.ys = (angle = 0))));
wheel0.grav = (wheel1.grav = 1.4);
onEnterFrame = function () {
r.accel = (xs = 0);
r.zrocket2.setVolume(0);
(r.music ? (r.zrocket1.setVolume(100)) : (r.zrocket1.setVolume(0)));
((Key.isDown(39) or r.turbomode) ? ((((!r.noaccel) and ((r.fuel > 0) or r.turbomode)) ? ((r.accel = 1)(xs = r.accelspeed)(r.fuel = Math.max(0, r.fuel - 0.15))(r.music ? (r.zrocket2.setVolume(100)) : null)) : null)) : null);
wheel0.runwheel(xs);
wheel1.runwheel(xs);
cart._x = (wheel1._x + wheel0._x) / 2;
cart._y = (wheel1._y + wheel0._y) / 2;
angle = Math.max(-0.8, Math.min(0.8, Math.atan2(wheel1._y - wheel0._y, wheel1._x - wheel0._x)));
cart._rotation = deg(angle);
r.bothland = wheel0.landed and wheel1.landed;
r.oneland = wheel0.landed or wheel1.landed;
if ((r.bothland and (!r.accel)) and ((angle < -0.1) or (angle > 0.1))) {
wheel0.xs = wheel0.xs + (angle / 2);
wheel1.xs = wheel1.xs + (angle / 2);
}
var _local2 = Math.cos(angle) * wspacing;
var _local1 = Math.sin(angle) * wspacing;
wheel0._x = cart._x - _local2;
wheel0._y = cart._y - _local1;
wheel1._x = cart._x + _local2;
wheel1._y = cart._y + _local1;
rockets._x = cart._x;
rockets._y = cart._y;
rockets._rotation = cart._rotation;
if (!r.oneland) {
if ((!r.nocekchasm) and (!r.jumpchasm)) {
((!m.land.hitTest(140, 550, true)) ? ((r.jumpchasm = 1)) : null);
}
}
if (cart._y > 530) {
r.noaccel = 999;
r.minspeed = 0;
wheel0.xs = wheel0.xs * 0.8;
wheel1.xs = wheel1.xs * 0.8;
if (cart._y > 800) {
r.timer = r.timer - (r.timepenalty * r.onesec);
if (r.timer <= (2 * r.onesec)) {
(r.gotoAndPlay("end"));// not popped
} else {
(r.retry = 1);
(r.gotoAndPlay("next"));// not popped
}
}
} else if (r.finish) {
if (cart._x > (((-m._x) + r.screenwid) + 100)) {
wheel0.xs = (wheel1.xs = 0);
r.zrocket1.fade("out", 1);
r.zrocket2.fade("out", 1);
cart._visible = (wheel0._visible = (wheel1._visible = false));
delete onEnterFrame;
}
}
};
Symbol 402 MovieClip Frame 1
initland();
Symbol 404 MovieClip Frame 1
_visible = false;
Symbol 410 MovieClip Frame 1
initlantern(2);
Symbol 412 MovieClip Frame 1
initlantern(1);
Symbol 423 MovieClip Frame 1
((!uda) ? ((uda = 1)initpo()) : null);
Symbol 444 MovieClip Frame 1
initblast2();
Symbol 463 MovieClip Frame 1
initlantern(2);
Symbol 466 MovieClip Frame 1
initlantern(1);
Symbol 495 MovieClip Frame 1
gotoAndStop(r.cartno);
Symbol 502 MovieClip Frame 1
gotoAndStop(r.cartno);
Symbol 508 MovieClip Frame 1
duplicateMovieClip ("pic", "pic2", 2);
wid = pic._width;
pic2._x = wid;
startx = _x;
oldx = m._x;
onEnterFrame = function () {
(r.accel ? ((xs = (m._x - oldx) * 3)) : ((xs = (m._x - oldx) * 2)));
oldx = m._x;
nx = _x + xs;
((nx < (startx - wid)) ? ((nx = nx + wid)) : null);
_x = nx;
};
Symbol 509 MovieClip Frame 1
n = 100;
onEnterFrame = function () {
if (r.turbomode) {
this.attachMovie("flash", "flash" + n, n, {_x:1000, _y:5 + random(550)});
n++;
this.attachMovie("flash", "flash" + n, n, {_x:1000, _y:5 + random(550)});
n++;
this.attachMovie("flash", "flash" + n, n, {_x:1000, _y:5 + random(550)});
n++;
this.attachMovie("flash", "flash" + n, n, {_x:1000, _y:5 + random(550)});
n++;
}
};
Symbol 515 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 1
accel = 0.8;
convert = 0.5;
xs = 0;
onEnterFrame = function () {
xs = (xs * accel) + ((r.fuel - b._xscale) * convert);
b._xscale = Math.min(100, Math.max(1, b._xscale + xs));
};
stop();
Symbol 525 Button
on (release) {
r.music = 0;
r.zloop.setVolume(0);
r.ztink.setVolume(0);
r.zrocket1.setVolume(0);
r.zrocket2.setVolume(0);
gotoAndStop (2);
}
Symbol 529 Button
on (release) {
r.music = 1;
r.zloop.setVolume(100);
r.ztink.setVolume(100);
r.zrocket1.setVolume(100);
r.zrocket2.setVolume(100);
gotoAndStop (1);
}
Symbol 530 MovieClip Frame 1
if (r.music) {
stop();
} else {
gotoAndStop (2);
}
Symbol 547 MovieClip Frame 1
wid = 250;
onEnterFrame = function () {
persen = Math.min(100, (r.tracknow / r.tracklength) * 100);
tic._x = (persen / 100) * wid;
dbar._xscale = persen;
};
stop();
Symbol 553 MovieClip [timer] Frame 1
onEnterFrame = function () {
r.timer = Math.max(0, r.timer - 1);
sec = Math.floor(r.timer / r.onesec);
min = Math.floor(sec / 60);
sec = sec - (min * 60);
((min < 10) ? ((tmin = "0" + min)) : ((tmin = min)));
((sec < 10) ? ((tsec = "0" + sec)) : ((tsec = sec)));
t.txt = (tmin + ":") + tsec;
r.timetxt = t.txt;
if (r.timer) {
} else {
delete onEnterFrame;
(r.gotoAndPlay("end"));// not popped
}
};
stop();
Symbol 558 MovieClip Frame 1
if (r.turbo > 0) {
gotoAndStop((r.turbomax + 2) - r.turbo);
} else {
gotoAndPlay(r.turbomax + 2);
}
Symbol 566 Button
on (release) {
r.retry = 1;
r.checkpoint = (r.ang = 0);
r.timer = (r.leveltime[r.level - 1] + 1) * r.onesec;
r.turbo = r.turbomax;
r.gotoAndPlay("next");
}
Symbol 574 Button
on (release) {
r.level = 0;
r.gotoAndPlay("start");
}
Symbol 577 Button
on (release) {
r.endtime = new Date();
getURL (_global.moreURL, "_blank");
}