Frame 1
function gotoFrame(ff) {
_root.fframe = ff;
_root.theScreen.play();
}
_root.theScreen.swapDepths(9999);
tips = true;
soundOn = true;
_quality = "HIGH";
Object.prototype.setCookie = function (c, n, v) {
var _local1 = SharedObject.getLocal(c);
_local1.data[n] = v;
_local1.flush();
};
Object.prototype.getCookie = function (c, n) {
var _local1 = SharedObject.getLocal(c);
return(_local1.data[n]);
};
maxScore = _root.getcookie("database", "maxScore");
if (maxScore == null) {
maxScore = 0;
}
alreadyPlayed = _root.getCookie("database", "alreadyPlayed");
if (alreadyPlayed == null) {
alreadyPlayed = false;
} else if (alreadyPlayed) {
tips = false;
}
fscommand ("showmenu", "false");
Stage.scaleMode = "noScale";
_root.gameID_str = "1381";
_root.main_link = "http://www.2DPlay.com/index.php?gameid=" + gameID_str;
_root.freecontent_link = "http://www.2DPlay.com/freecontent.htm";
_root.downloadgame_link = "http://www.2DPlay.com/downloadgame.php?gameid=" + gameID_str;
_root.scores_link = ("http://www.2Dplay.com/highscores.php?gameid=" + gameID_str) + "&hiscore=";
_root.viewscores_link = "http://www.2dplay.com/showscores.php?gameid=" + gameID_str;
stop();
Frame 2
function hex_md5(s) {
return(binl2hex(core_md5(str2binl(s), s.length * chrsz)));
}
function b64_md5(s) {
return(binl2b64(core_md5(str2binl(s), s.length * chrsz)));
}
function str_md5(s) {
return(binl2str(core_md5(str2binl(s), s.length * chrsz)));
}
function hex_hmac_md5(key, data) {
return(binl2hex(core_hmac_md5(key, data)));
}
function b64_hmac_md5(key, data) {
return(binl2b64(core_hmac_md5(key, data)));
}
function str_hmac_md5(key, data) {
return(binl2str(core_hmac_md5(key, data)));
}
function md5_vm_test() {
return(hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72");
}
function core_md5(x, len) {
x[len >> 5] = x[len >> 5] | (128 << (len % 32));
x[(((len + 64) >>> 9) << 4) + 14] = len;
var a = 1732584193;
var _local3 = -271733879;
var _local2 = -1732584194;
var _local1 = 271733878 /* 0x10325476 */;
var i = 0;
while (i < x.length) {
var olda = a;
var oldb = _local3;
var oldc = _local2;
var oldd = _local1;
a = md5_ff(a, _local3, _local2, _local1, x[i + 0], 7, -680876936);
_local1 = md5_ff(_local1, a, _local3, _local2, x[i + 1], 12, -389564586);
_local2 = md5_ff(_local2, _local1, a, _local3, x[i + 2], 17, 606105819);
_local3 = md5_ff(_local3, _local2, _local1, a, x[i + 3], 22, -1044525330);
a = md5_ff(a, _local3, _local2, _local1, x[i + 4], 7, -176418897);
_local1 = md5_ff(_local1, a, _local3, _local2, x[i + 5], 12, 1200080426);
_local2 = md5_ff(_local2, _local1, a, _local3, x[i + 6], 17, -1473231341);
_local3 = md5_ff(_local3, _local2, _local1, a, x[i + 7], 22, -45705983);
a = md5_ff(a, _local3, _local2, _local1, x[i + 8], 7, 1770035416);
_local1 = md5_ff(_local1, a, _local3, _local2, x[i + 9], 12, -1958414417);
_local2 = md5_ff(_local2, _local1, a, _local3, x[i + 10], 17, -42063);
_local3 = md5_ff(_local3, _local2, _local1, a, x[i + 11], 22, -1990404162);
a = md5_ff(a, _local3, _local2, _local1, x[i + 12], 7, 1804603682);
_local1 = md5_ff(_local1, a, _local3, _local2, x[i + 13], 12, -40341101);
_local2 = md5_ff(_local2, _local1, a, _local3, x[i + 14], 17, -1502002290);
_local3 = md5_ff(_local3, _local2, _local1, a, x[i + 15], 22, 1236535329);
a = md5_gg(a, _local3, _local2, _local1, x[i + 1], 5, -165796510);
_local1 = md5_gg(_local1, a, _local3, _local2, x[i + 6], 9, -1069501632);
_local2 = md5_gg(_local2, _local1, a, _local3, x[i + 11], 14, 643717713);
_local3 = md5_gg(_local3, _local2, _local1, a, x[i + 0], 20, -373897302);
a = md5_gg(a, _local3, _local2, _local1, x[i + 5], 5, -701558691);
_local1 = md5_gg(_local1, a, _local3, _local2, x[i + 10], 9, 38016083);
_local2 = md5_gg(_local2, _local1, a, _local3, x[i + 15], 14, -660478335);
_local3 = md5_gg(_local3, _local2, _local1, a, x[i + 4], 20, -405537848);
a = md5_gg(a, _local3, _local2, _local1, x[i + 9], 5, 568446438);
_local1 = md5_gg(_local1, a, _local3, _local2, x[i + 14], 9, -1019803690);
_local2 = md5_gg(_local2, _local1, a, _local3, x[i + 3], 14, -187363961);
_local3 = md5_gg(_local3, _local2, _local1, a, x[i + 8], 20, 1163531501);
a = md5_gg(a, _local3, _local2, _local1, x[i + 13], 5, -1444681467);
_local1 = md5_gg(_local1, a, _local3, _local2, x[i + 2], 9, -51403784);
_local2 = md5_gg(_local2, _local1, a, _local3, x[i + 7], 14, 1735328473);
_local3 = md5_gg(_local3, _local2, _local1, a, x[i + 12], 20, -1926607734);
a = md5_hh(a, _local3, _local2, _local1, x[i + 5], 4, -378558);
_local1 = md5_hh(_local1, a, _local3, _local2, x[i + 8], 11, -2022574463);
_local2 = md5_hh(_local2, _local1, a, _local3, x[i + 11], 16, 1839030562);
_local3 = md5_hh(_local3, _local2, _local1, a, x[i + 14], 23, -35309556);
a = md5_hh(a, _local3, _local2, _local1, x[i + 1], 4, -1530992060);
_local1 = md5_hh(_local1, a, _local3, _local2, x[i + 4], 11, 1272893353);
_local2 = md5_hh(_local2, _local1, a, _local3, x[i + 7], 16, -155497632);
_local3 = md5_hh(_local3, _local2, _local1, a, x[i + 10], 23, -1094730640);
a = md5_hh(a, _local3, _local2, _local1, x[i + 13], 4, 681279174);
_local1 = md5_hh(_local1, a, _local3, _local2, x[i + 0], 11, -358537222);
_local2 = md5_hh(_local2, _local1, a, _local3, x[i + 3], 16, -722521979);
_local3 = md5_hh(_local3, _local2, _local1, a, x[i + 6], 23, 76029189);
a = md5_hh(a, _local3, _local2, _local1, x[i + 9], 4, -640364487);
_local1 = md5_hh(_local1, a, _local3, _local2, x[i + 12], 11, -421815835);
_local2 = md5_hh(_local2, _local1, a, _local3, x[i + 15], 16, 530742520);
_local3 = md5_hh(_local3, _local2, _local1, a, x[i + 2], 23, -995338651);
a = md5_ii(a, _local3, _local2, _local1, x[i + 0], 6, -198630844);
_local1 = md5_ii(_local1, a, _local3, _local2, x[i + 7], 10, 1126891415);
_local2 = md5_ii(_local2, _local1, a, _local3, x[i + 14], 15, -1416354905);
_local3 = md5_ii(_local3, _local2, _local1, a, x[i + 5], 21, -57434055);
a = md5_ii(a, _local3, _local2, _local1, x[i + 12], 6, 1700485571);
_local1 = md5_ii(_local1, a, _local3, _local2, x[i + 3], 10, -1894986606);
_local2 = md5_ii(_local2, _local1, a, _local3, x[i + 10], 15, -1051523);
_local3 = md5_ii(_local3, _local2, _local1, a, x[i + 1], 21, -2054922799);
a = md5_ii(a, _local3, _local2, _local1, x[i + 8], 6, 1873313359);
_local1 = md5_ii(_local1, a, _local3, _local2, x[i + 15], 10, -30611744);
_local2 = md5_ii(_local2, _local1, a, _local3, x[i + 6], 15, -1560198380);
_local3 = md5_ii(_local3, _local2, _local1, a, x[i + 13], 21, 1309151649);
a = md5_ii(a, _local3, _local2, _local1, x[i + 4], 6, -145523070);
_local1 = md5_ii(_local1, a, _local3, _local2, x[i + 11], 10, -1120210379);
_local2 = md5_ii(_local2, _local1, a, _local3, x[i + 2], 15, 718787259);
_local3 = md5_ii(_local3, _local2, _local1, a, x[i + 9], 21, -343485551);
a = safe_add(a, olda);
_local3 = safe_add(_local3, oldb);
_local2 = safe_add(_local2, oldc);
_local1 = safe_add(_local1, oldd);
i = i + 16;
}
return(Array(a, _local3, _local2, _local1));
}
function md5_cmn(q, a, b, x, s, t) {
return(safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b));
}
function md5_ff(a, b, c, d, x, s, t) {
var _local1 = b;
return(md5_cmn((_local1 & c) | ((~_local1) & d), a, _local1, x, s, t));
}
function md5_gg(a, b, c, d, x, s, t) {
return(md5_cmn((b & d) | (c & (~d)), a, b, x, s, t));
}
function md5_hh(a, b, c, d, x, s, t) {
return(md5_cmn((b ^ c) ^ d, a, b, x, s, t));
}
function md5_ii(a, b, c, d, x, s, t) {
return(md5_cmn(c ^ (b | (~d)), a, b, x, s, t));
}
function core_hmac_md5(key, data) {
var _local2 = str2binl(key);
if (_local2.length > 16) {
_local2 = core_md5(_local2, key.length * chrsz);
}
var _local3 = Array(16);
var opad = Array(16);
var _local1 = 0;
while (_local1 < 16) {
_local3[_local1] = _local2[_local1] ^ 909522486;
opad[_local1] = _local2[_local1] ^ 1549556828;
_local1++;
}
var hash = core_md5(_local3.concat(str2binl(data)), 512 + (data.length * chrsz));
return(core_md5(opad.concat(hash), 640));
}
function safe_add(x, y) {
var _local1 = (x & 65535) + (y & 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | (_local1 & 65535));
}
function bit_rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function str2binl(str) {
var _local2 = str;
var _local3 = Array();
var mask = ((1 << chrsz) - 1);
var _local1 = 0;
while (_local1 < (_local2.length * chrsz)) {
_local3[_local1 >> 5] = _local3[_local1 >> 5] | ((_local2.charCodeAt(_local1 / chrsz) & mask) << (_local1 % 32));
_local1 = _local1 + chrsz;
}
return(_local3);
}
function binl2str(bin) {
var _local2 = bin;
var _local3 = "";
var mask = ((1 << chrsz) - 1);
var _local1 = 0;
while (_local1 < (_local2.length * 32)) {
_local3 = _local3 + String.fromCharCode((_local2[_local1 >> 5] >>> (_local1 % 32)) & mask);
_local1 = _local1 + chrsz;
}
return(_local3);
}
function binl2hex(binarray) {
var _local2 = binarray;
var _local3 = (hexcase ? "0123456789ABCDEF" : "0123456789abcdef");
var str = "";
var _local1 = 0;
while (_local1 < (_local2.length * 4)) {
str = str + (_local3.charAt((_local2[_local1 >> 2] >> (((_local1 % 4) * 8) + 4)) & 15) + _local3.charAt((_local2[_local1 >> 2] >> ((_local1 % 4) * 8)) & 15));
_local1++;
}
return(str);
}
function binl2b64(binarray) {
var _local3 = binarray;
var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var str = "";
var _local2 = 0;
while (_local2 < (_local3.length * 4)) {
var triplet = (((((_local3[_local2 >> 2] >> (8 * (_local2 % 4))) & 255) << 16) | (((_local3[(_local2 + 1) >> 2] >> (8 * ((_local2 + 1) % 4))) & 255) << 8)) | ((_local3[(_local2 + 2) >> 2] >> (8 * ((_local2 + 2) % 4))) & 255));
var _local1 = 0;
while (_local1 < 4) {
if (((_local2 * 8) + (_local1 * 6)) > (_local3.length * 32)) {
str = str + b64pad;
} else {
str = str + tab.charAt((triplet >> (6 * (3 - _local1))) & 63);
}
_local1++;
}
_local2 = _local2 + 3;
}
return(str);
}
var hexcase = 0;
var b64pad = "";
var chrsz = 8;
Frame 3
stop();
Instance of Symbol 153 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (2);
}
Instance of Symbol 153 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (8);
}
Instance of Symbol 153 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (18);
}
Instance of Symbol 153 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (28);
}
Instance of Symbol 153 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (29);
}
Instance of Symbol 153 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (39);
}
Instance of Symbol 153 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (41);
}
Instance of Symbol 201 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root._quality == "LOW") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 206 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.soundOn) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 211 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.tips) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Frame 7
function work() {
var _local1 = _root;
showScore = "Score: " + score;
showMaxScore = "Max Score: " + maxScore;
if (!pause) {
if (_local1.score > 0) {
_local1.total_score = _local1.score;
}
pauseScreen.gotoAndStop(1);
ttc = ttcDef + Math.round(score / 35);
inf = inf - decInf;
grav = grav + gravity;
ball._y = ball._y + (grav * timing);
ball._x = ball._x + (ball.xSpeed * timing);
wm = ball._width / 2;
if (ball._x < wm) {
ground_hit.start(0, 1);
ball._x = wm;
ball.xSpeed = ball.xSpeed * -1;
} else if (ball._x > (520 - wm)) {
ball._x = 520 - wm;
ball.xSpeed = ball.xSpeed * -1;
}
old_y = ball._y;
if (ball._y > (337 - wm)) {
ball._y = 337 - wm;
sfx_dist = Math.floor(Math.abs(ball._y - old_y));
trace(sfx_dist);
if (sfx_dist != 0) {
ground_hit.start(0, 1);
}
grav = grav * ((-(inf / 100)) * 0.88);
ball.xSpeed = ball.xSpeed * 0.7;
if (_local1.noHit > 0) {
_local1.noHit--;
} else {
if (_local1.score != 0) {
whistle_sfx.start(0, 1);
}
_local1.bonusTime = 0;
_local1.score = 0;
}
}
shad._x = ball._x;
ht = (400 - ball._y) * 0.1;
shad._xscale = ((0.8 * inf) + ht) * shxScale;
shad._yscale = ((0.8 * inf) + ht) * shyScale;
shad._alpha = 100 - ht;
if (inf < 52) {
inf = 52;
} else if (inf > 100) {
inf = 100;
}
growth = ((inf - ball.hArea._xscale) * tension) + (growth * decay);
ball.hArea._xscale = ball.hArea._xscale + growth;
ball.hArea._yscale = ball.hArea._yscale + growth;
if (score > maxScore) {
maxScore = score;
_local1.setCookie("database", "maxScore", maxScore);
}
if (_local1.tricking) {
trickName._visible = true;
trickName.gotoAndStop(_local1.trick);
} else {
trickName._visible = false;
}
rotation = rotation + ball.xSpeed;
if (rotation > 360) {
rotation = rotation - 360;
} else if (rotation < 0) {
rotation = rotation + 360;
}
simRot = Math.round(rotation / 5);
ballAni._x = ball._x;
ballAni._y = ball._y;
ballAni.gotoAndStop(simRot);
ballAni._xscale = (ballAni._yscale = ball.hArea._xscale * ballSize);
} else if (tipping) {
pauseScreen.gotoAndStop(3);
} else {
pauseScreen.gotoAndStop(2);
}
if ((score > 0) || (pause)) {
spp = -88;
} else if (haveClicked) {
spp = 26;
}
subPopUp._y = subPopUp._y + ((spp - subPopUp._y) * 0.25);
}
function generateBonuses() {
var _local1 = _root;
if (!pause) {
ccount++;
if ((ccount >= ttc) && (_local1.score > 0)) {
rnd = random(100) + 1;
if ((rnd <= (50 + bn)) && (rnd >= 50)) {
_local1.ins++;
bmc = _local1.prizes.attachMovie("bonusMc", "bbonus" + _local1.ins, _local1.ins);
bmc.frameToGo = random(_local1.sample._totalframes - 1) + 2;
}
ccount = 0;
}
}
}
function clicking() {
var _local1 = _root;
if (!pause) {
if (ball.hitTest(_local1._xmouse, _local1._ymouse, true)) {
haveClicked = true;
ball.xSpeed = ((ball._x - _local1._xmouse) * xQuo) * (thisForce / defForce);
grav = (-thisForce) * (1 + (1 - timing));
if (_local1.soundOn) {
nuu = new Sound();
nuu.attachSound("kick");
nuu.start();
}
if (_local1.score == 0) {
inf = 100;
}
_local1.score = _local1.score + plus;
}
}
}
stop();
ground_hit = new Sound();
ground_hit.attachSound("ball_ground.wav");
whistle_sfx = new Sound();
whistle_sfx.attachSound("whistle.wav");
pauseScree.swapDepths(9997);
tipping = false;
bttip = false;
inftip = false;
bonusClick = false;
spp = -88;
_root.alreadyPlayed = true;
_root.setCookie("database", "alreadyPlayed", _root.alreadyPlayed);
haveKicked = false;
pause = false;
rotation = 360;
ball._visible = false;
totTime = 0;
bonusTime = 1;
score = 0;
noHit = 0;
tension = 0.5;
plus = 1;
decay = 0.8;
gravity = 0.95;
defForce = 15;
thisForce = defForce;
xQuo = 0.35;
ins = 0;
trick = 0;
tricking = false;
decInf = 0.05;
inf = 100;
ttcDef = 14;
timing = 1;
bn = 10;
bnt = 100;
totalBonuses = bn.length;
bonusTime = 0;
ballSize = 0.45;
shxScale = shad._xscale / 100;
shyScale = shad._yscale / 100;
_root.onEnterFrame = function () {
work();
generateBonuses();
};
_root.onMouseDown = clicking;
_root.subPopUp.submitScore_btn.onRelease = function () {
var _local1 = _root;
var _local2 = _local1.hex_md5(((("gameid=" + _local1.gameID_str) + "&hiscore=") + _local1.total_score) + "2DPlay.com/");
getURL (String(((_local1.scores_link + _local1.total_score) + "&hash=") + _local2), "_blank");
};
Symbol 6 MovieClip Frame 1
_visible = false;
Symbol 22 MovieClip [bonusMc] Frame 1
stop();
_x = (random(440) + 45);
_y = (random(260) + 50);
_yscale = 88;
_xscale = 88;
_alpha = 0;
gotten = false;
charged = false;
_root.totalBonuses++;
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 1
onClipEvent (enterFrame) {
cc++;
if (cc >= ttw) {
_parent.gotoAndStop(_parent.frameToGo);
}
}
onClipEvent (load) {
ttw = random(100) + 5;
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 2
onClipEvent (enterFrame) {
if ((_parent._alpha < 100) && (aef == false)) {
_parent._alpha = _parent._alpha + 10;
} else {
aef = true;
}
if (_root.score == 0) {
fade = true;
aef = true;
}
cc++;
if ((cc >= theCount) || (fade)) {
_parent._alpha = _parent._alpha - 10;
}
if (_parent._alpha <= 0) {
_parent.removeMovieClip("");
}
}
onClipEvent (mouseDown) {
if (_parent.hitTest(_root._xmouse, _root._ymouse, true) && (_parent.gotten == false)) {
_parent.gotten = true;
cc = theCount;
_root.bonusClicked = true;
aef = true;
if (_root.soundOn) {
nuu = new Sound();
nuu.attachSound("bn");
nuu.start();
}
}
}
onClipEvent (load) {
aef = false;
_parent._alpha;
cc = 0;
theCount = random(70) + 25;
fade = false;
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 2
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.thisForce = _root.defForce;
_root.plus = 1;
_root.timing = 0.3;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 502);
_root.trick = 1;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 8
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.timing = 1;
_root.plus = 1;
_root.thisForce = 7;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 250);
_root.trick = 2;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 18
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.timing = 1;
_root.plus = 1;
_root.thisForce = 20;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 250);
_root.trick = 3;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 28
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.score = _root.score * 2;
}
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 29
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.timing = 1;
_root.thisForce = _root.defForce;
_root.plus = 2;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 250);
_root.trick = 4;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 35
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.timing = 1;
_root.thisForce = _root.defForce;
_root.plus = 3;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 250);
_root.trick = 5;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 39
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.noHit++;
}
}
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 41
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.inf = _root.inf + 10;
}
}
onClipEvent (load) {
_root.inftip = true;
}
Symbol 22 MovieClip [bonusMc] Frame 56
_root.inftip = true;
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 56
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.inf = _root.inf + 25;
}
}
onClipEvent (load) {
_root.inftip = true;
}
Symbol 22 MovieClip [bonusMc] Frame 61
_root.inftip = true;
Instance of Symbol 6 MovieClip in Symbol 22 MovieClip [bonusMc] Frame 61
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.inf = _root.inf + 50;
}
}
onClipEvent (load) {
_root.inftip = true;
}
Symbol 29 MovieClip Frame 1
var gameBytesTotal = 0;
var gameBytesLoaded = 0;
var percent = 0;
Symbol 29 MovieClip Frame 3
gameBytesTotal = _root.getBytesTotal();
gameBytesLoaded = _root.getBytesLoaded();
percent = Math.round((gameBytesLoaded / gameBytesTotal) * 100);
bar.loadbar._xscale = percent;
if (((gameBytesLoaded >= gameBytesTotal) && (gameBytesTotal > 0)) && (_root.logo._currentframe >= _root.logo._totalframes)) {
_root.play();
stop();
} else {
gotoAndPlay ("preload");
}
Symbol 33 Button
on (release) {
getURL (_root.main_link, "_blank");
}
Symbol 103 MovieClip Frame 1
_root.loading._visible = false;
Symbol 103 MovieClip Frame 207
_root.loading._visible = true;
stop();
Symbol 109 MovieClip Frame 1
stop();
Instance of Symbol 6 MovieClip in Symbol 109 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.afu.setVolume(vv);
vv = vv - 12;
}
onClipEvent (load) {
vv = 100;
}
Symbol 109 MovieClip Frame 10
if (_root.stopEm) {
stopAllSounds();
}
Symbol 109 MovieClip Frame 11
_root.setVolume(100);
_root.stopEm = false;
_root.gotoAndStop(_root.fframe);
Symbol 115 Button
on (release) {
_root.gotoFrame(7);
_root.stopEm = true;
}
Symbol 116 Button
on (release) {
_root.gotoFrame(5);
}
Symbol 117 Button
on (release) {
gotoFrame(4);
}
Symbol 118 Button
on (press) {
getURL (_root.main_link, "_blank");
}
Symbol 119 Button
on (press) {
getURL (_root.viewscores_link, "_blank");
}
Symbol 120 Button
on (press) {
getURL (_root.downloadgame_link, "_blank");
}
Symbol 121 Button
on (press) {
getURL (_root.freecontent_link, "_blank");
}
Symbol 140 Button
on (release) {
getURL (_root.main_link, "_blank");
}
Symbol 145 MovieClip Frame 1
if (_root.soundOn) {
nextFrame();
} else {
stop();
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (enterFrame) {
cc++;
if (cc >= ttw) {
_parent.gotoAndStop(_parent.frameToGo);
}
}
onClipEvent (load) {
ttw = random(100) + 5;
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.thisForce = _root.defForce;
_root.plus = 1;
_root.timing = 0.3;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 502);
_root.trick = 1;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.timing = 1;
_root.plus = 1;
_root.thisForce = 7;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 250);
_root.trick = 2;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 18
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.timing = 1;
_root.plus = 1;
_root.thisForce = 20;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 250);
_root.trick = 3;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.score = _root.score * 2;
}
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 29
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.timing = 1;
_root.thisForce = _root.defForce;
_root.plus = 2;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 250);
_root.trick = 4;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.timing = 1;
_root.thisForce = _root.defForce;
_root.plus = 3;
_root.bonusDecrease = 1;
_root.bonusTime = (_root.totTime = 250);
_root.trick = 5;
_root.tricking = true;
_root.bttip = true;
}
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.noHit++;
}
}
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 41
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.inf = _root.inf + 10;
}
}
onClipEvent (load) {
_root.inftip = true;
}
Symbol 153 MovieClip Frame 56
_root.inftip = true;
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 56
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.inf = _root.inf + 25;
}
}
onClipEvent (load) {
_root.inftip = true;
}
Symbol 153 MovieClip Frame 61
_root.inftip = true;
Instance of Symbol 6 MovieClip in Symbol 153 MovieClip Frame 61
onClipEvent (enterFrame) {
if (_parent.gotten && (!_parent.charged)) {
_parent.charged = true;
_root.inf = _root.inf + 50;
}
}
onClipEvent (load) {
_root.inftip = true;
}
Symbol 154 Button
on (release) {
_root.gotoFrame(3);
}
Symbol 180 Button
on (release) {
_root.gotoFrame(3);
}
Symbol 181 Button
on (release) {
if (_root._quality == "LOW") {
_root._quality = "HIGH";
} else if (_root._quality == "HIGH") {
_root._quality = "LOW";
}
}
Symbol 182 Button
on (release) {
if (_root.soundOn) {
_root.soundOn = false;
stopAllSounds();
_root.soundDirector.gotoAndStop(1);
} else {
_root.soundOn = true;
_root.soundDirector.gotoAndStop(2);
}
}
Symbol 183 Button
on (release) {
if (_root.tips) {
_root.tips = false;
} else {
_root.tips = true;
}
}
Symbol 184 Button
on (release) {
getURL (_root.viewscores_link, "_blank");
}
Symbol 185 Button
on (release) {
getURL (_root.main_link, "_blank");
}
Symbol 186 Button
on (release) {
getURL (_root.freecontent_link, "_blank");
}
Symbol 187 Button
on (release) {
getURL (_root.downloadgame_link, "_blank");
}
Symbol 215 Button
on (press) {
getURL (_root.main_link, "_blank");
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 1
stop();
Instance of Symbol 6 MovieClip in Symbol 305 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tips) {
if ((!_root.haveClicked) && (bblank)) {
option = 1;
bblank = false;
bblank2 = true;
counting = 0;
} else if ((((_root.totalBonuses > 5) && (!_root.bonusClicked)) && (bblank)) && (!done1)) {
bblank = false;
bblank2 = true;
option = 2;
done1 = true;
counting = 0;
} else if ((_root.inftip && (bblank)) && (!done2)) {
bblank = false;
bblank2 = true;
option = 3;
done2 = true;
counting = 0;
} else if ((_root.bttip && (bblank)) && (!done3)) {
bblank = false;
bblank2 = true;
option = 4;
done3 = true;
counting = 0;
}
if (_root.pause) {
x = 801;
} else if (bblank2) {
counting++;
if (option == 1) {
frame = 1;
x = 548;
if (_root.haveClicked) {
bblank2 = false;
bblank = true;
}
} else if (option == 2) {
frame = 2;
x = 548;
} else if (option == 3) {
frame = 4;
x = 548;
} else if (option == 4) {
frame = 3;
x = 548;
}
} else {
x = 801;
}
if (counting > 238) {
bblank = true;
bblank2 = false;
}
if (Key.isDown(32)) {
bblank = true;
bblank2 = false;
}
} else {
x = 801;
}
_parent.gotoAndStop(frame);
_parent._x = _parent._x + ((x - _parent._x) * 0.16);
}
onClipEvent (load) {
bblank = true;
bblank2 = false;
done1 = (done2 = (done3 = false));
tuff = false;
taff = false;
teff = false;
a = 1000000 /* 0x0F4240 */;
b = 1000000 /* 0x0F4240 */;
c = 1000000 /* 0x0F4240 */;
counting = 0;
}
Instance of Symbol 312 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = (_root.bonusTime / _root.totTime) * 100;
if ((_root.bonusTime > 0) && (!_root.pause)) {
_root.bonusTime = _root.bonusTime - _root.bonusDecrease;
}
if (_root.bonustime <= 0) {
if (_root.tricking) {
if (_root.trick == 1) {
_root.timing = 1;
} else if (_root.trick == 2) {
_root.thisForce = _root.defForce;
} else if (_root.trick == 3) {
_root.thisForce = _root.defForce;
} else if (_root.trick == 4) {
_root.plus = 1;
} else if (_root.trick == 5) {
_root.plus = 1;
}
_root.tricking = false;
}
_root.bonusTime = 0;
}
}
onClipEvent (load) {
this._xscale = 0;
}
Symbol 325 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 1
if (_root.soundOn) {
nextFrame();
} else {
stop();
}
Symbol 329 Button
on (release) {
if (pause) {
pause = false;
} else {
pause = true;
}
}
Symbol 336 Button
on (release) {
if (_root.pause) {
_root.pause = false;
} else {
_root.pause = true;
}
}
Symbol 337 Button
on (release) {
_root.gotoFrame(3);
_root.stopEm = true;
}
Symbol 338 Button
on (release) {
if (_root.soundOn) {
_root.soundOn = false;
stopAllSounds();
_root.soundDirector.gotoAndStop(1);
} else {
_root.soundOn = true;
_root.soundDirector.gotoAndStop(2);
}
}
Symbol 343 MovieClip Frame 1
stop();
Instance of Symbol 201 MovieClip in Symbol 343 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root._quality == "LOW") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 206 MovieClip in Symbol 343 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.soundOn) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 211 MovieClip in Symbol 343 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tips) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}