Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("855e4718", this, 10301, true);
_root.kongregateServices.connect();
ScoreAPI = new LocalConnection();
function itemHandler1(obj, item) {
getURL ("http://chris-jeff.com", "_blank");
}
function itemHandler2(obj, item) {
getURL ("http://chris-jeff.com", "_blank");
}
function itemHandler8(obj, item) {
}
function itemHandler3(obj, item) {
global.setVolume(100);
}
function itemHandler4(obj, item) {
global.setVolume(0);
}
function itemHandler5(obj, item) {
_quality = "high";
}
function itemHandler6(obj, item) {
_quality = "medium";
}
function itemHandler7(obj, item) {
_quality = "low";
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
aaa_cmi = new ContextMenuItem("Visit My Developer website", itemHandler1);
bbb_cmi = new ContextMenuItem("Created by Chris Jeffrey (Slasher145)", itemHandler2);
zzz_cmi = new ContextMenuItem("In-game Art by Dirge", itemHandler8);
ccc_cmi = new ContextMenuItem("Music On", itemHandler3);
ddd_cmi = new ContextMenuItem("Music Off", itemHandler4);
eee_cmi = new ContextMenuItem("High Quality", itemHandler5);
fff_cmi = new ContextMenuItem("Mid Quality", itemHandler6);
ggg_cmi = new ContextMenuItem("Low Quality", itemHandler7);
ccc_cmi.separatorBefore = true;
eee_cmi.separatorBefore = true;
root_cm.customItems.push(aaa_cmi, bbb_cmi, zzz_cmi, ccc_cmi, ddd_cmi, eee_cmi, fff_cmi, ggg_cmi);
_root.menu = root_cm;
mochi.as2.MochiAd.showPreGameAd({id:"807cc31cdb4f3e7d", res:"640x480", background:16777161, color:1793189, outline:0, no_bg:true});
mochi.as2.MochiServices.connect("807cc31cdb4f3e7d");
Frame 2
function trophies5() {
Nonoba.api.NonobaAPI.AwardAchievement("5trophies", function (response, count) {
switch (response) {
case Nonoba.api.NonobaAPI.SUCCESS :
trace("The achievement was successfully awarded.");
trace(("It has been awarded " + count) + " times.");
break;
case Nonoba.api.NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in.");
break;
case Nonoba.api.NonobaAPI.ERROR :
trace("An error occurred.");
}
});
}
function trophies15() {
Nonoba.api.NonobaAPI.AwardAchievement("15trophies", function (response, count) {
switch (response) {
case Nonoba.api.NonobaAPI.SUCCESS :
trace("The achievement was successfully awarded.");
trace(("It has been awarded " + count) + " times.");
break;
case Nonoba.api.NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in.");
break;
case Nonoba.api.NonobaAPI.ERROR :
trace("An error occurred.");
}
});
}
function gems5() {
Nonoba.api.NonobaAPI.AwardAchievement("5gems", function (response, count) {
switch (response) {
case Nonoba.api.NonobaAPI.SUCCESS :
trace("The achievement was successfully awarded.");
trace(("It has been awarded " + count) + " times.");
break;
case Nonoba.api.NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in.");
break;
case Nonoba.api.NonobaAPI.ERROR :
trace("An error occurred.");
}
});
}
function gems15() {
Nonoba.api.NonobaAPI.AwardAchievement("15gems", function (response, count) {
switch (response) {
case Nonoba.api.NonobaAPI.SUCCESS :
trace("The achievement was successfully awarded.");
trace(("It has been awarded " + count) + " times.");
break;
case Nonoba.api.NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in.");
break;
case Nonoba.api.NonobaAPI.ERROR :
trace("An error occurred.");
}
});
}
function keys5() {
Nonoba.api.NonobaAPI.AwardAchievement("5keys", function (response, count) {
switch (response) {
case Nonoba.api.NonobaAPI.SUCCESS :
trace("The achievement was successfully awarded.");
trace(("It has been awarded " + count) + " times.");
break;
case Nonoba.api.NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in.");
break;
case Nonoba.api.NonobaAPI.ERROR :
trace("An error occurred.");
}
});
}
function keys10() {
Nonoba.api.NonobaAPI.AwardAchievement("10keys", function (response, count) {
switch (response) {
case Nonoba.api.NonobaAPI.SUCCESS :
trace("The achievement was successfully awarded.");
trace(("It has been awarded " + count) + " times.");
break;
case Nonoba.api.NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in.");
break;
case Nonoba.api.NonobaAPI.ERROR :
trace("An error occurred.");
}
});
}
function save() {
savefile.data.lvl2 = _root.lvl2;
savefile.data.lvl3 = _root.lvl3;
savefile.data.lvl4 = _root.lvl4;
savefile.data.lvl5 = _root.lvl5;
savefile.data.lvl6 = _root.lvl6;
savefile.data.lvl7 = _root.lvl7;
savefile.data.lvl8 = _root.lvl8;
savefile.data.lvl9 = _root.lvl9;
savefile.data.lvl10 = _root.lvl10;
savefile.data.lvl11 = _root.lvl11;
savefile.data.lvl12 = _root.lvl12;
savefile.data.lvl13 = _root.lvl13;
savefile.data.lvl14 = _root.lvl14;
savefile.data.lvl15 = _root.lvl15;
savefile.data.master1 = _root.master1;
savefile.data.master2 = _root.master2;
savefile.data.master3 = _root.master3;
savefile.data.master4 = _root.master4;
savefile.data.master5 = _root.master5;
savefile.data.master6 = _root.master6;
savefile.data.master7 = _root.master7;
savefile.data.master8 = _root.master8;
savefile.data.master9 = _root.master9;
savefile.data.master10 = _root.master10;
savefile.data.lvl1best = _root.lvl1best;
savefile.data.lvl2best = _root.lvl2best;
savefile.data.lvl3best = _root.lvl3best;
savefile.data.lvl4best = _root.lvl4best;
savefile.data.lvl5best = _root.lvl5best;
savefile.data.lvl6best = _root.lvl6best;
savefile.data.lvl7best = _root.lvl7best;
savefile.data.lvl8best = _root.lvl8best;
savefile.data.lvl9best = _root.lvl9best;
savefile.data.lvl10best = _root.lvl10best;
savefile.data.lvl11best = _root.lvl11best;
savefile.data.lvl12best = _root.lvl12best;
savefile.data.lvl13best = _root.lvl13best;
savefile.data.lvl14best = _root.lvl14best;
savefile.data.lvl15best = _root.lvl15best;
savefile.data.master1best = _root.master1best;
savefile.data.master2best = _root.master2best;
savefile.data.master3best = _root.master3best;
savefile.data.master4best = _root.master4best;
savefile.data.master5best = _root.master5best;
savefile.data.master6best = _root.master6best;
savefile.data.master7best = _root.master7best;
savefile.data.master8best = _root.master8best;
savefile.data.master9best = _root.master9best;
savefile.data.master10best = _root.master10best;
savefile.data.totaltrophies = _root.totaltrophies;
savefile.data.totalgems = _root.totalgems;
savefile.data.totalkeys = _root.totalkeys;
savefile.data.lvl1trophy = _root.lvl1trophy;
savefile.data.lvl1gem = _root.lvl1gem;
savefile.data.lvl2trophy = _root.lvl2trophy;
savefile.data.lvl2gem = _root.lvl2gem;
savefile.data.lvl3trophy = _root.lvl3trophy;
savefile.data.lvl3gem = _root.lvl3gem;
savefile.data.lvl4trophy = _root.lvl4trophy;
savefile.data.lvl4gem = _root.lvl4gem;
savefile.data.lvl5trophy = _root.lvl5trophy;
savefile.data.lvl5gem = _root.lvl5gem;
savefile.data.lvl6trophy = _root.lvl6trophy;
savefile.data.lvl6gem = _root.lvl6gem;
savefile.data.lvl7trophy = _root.lvl7trophy;
savefile.data.lvl7gem = _root.lvl7gem;
savefile.data.lvl8trophy = _root.lvl8trophy;
savefile.data.lvl8gem = _root.lvl8gem;
savefile.data.lvl9trophy = _root.lvl9trophy;
savefile.data.lvl9gem = _root.lvl9gem;
savefile.data.lvl10trophy = _root.lvl10trophy;
savefile.data.lvl10gem = _root.lvl10gem;
savefile.data.lvl11trophy = _root.lvl11trophy;
savefile.data.lvl11gem = _root.lvl11gem;
savefile.data.lvl12trophy = _root.lvl12trophy;
savefile.data.lvl12gem = _root.lvl12gem;
savefile.data.lvl13trophy = _root.lvl13trophy;
savefile.data.lvl13gem = _root.lvl13gem;
savefile.data.lvl14trophy = _root.lvl14trophy;
savefile.data.lvl14gem = _root.lvl14gem;
savefile.data.lvl15trophy = _root.lvl15trophy;
savefile.data.lvl15gem = _root.lvl15gem;
savefile.data.master1key = _root.master1key;
savefile.data.master2key = _root.master2key;
savefile.data.master3key = _root.master3key;
savefile.data.master4key = _root.master4key;
savefile.data.master5key = _root.master5key;
savefile.data.master6key = _root.master6key;
savefile.data.master7key = _root.master7key;
savefile.data.master8key = _root.master8key;
savefile.data.master9key = _root.master9key;
savefile.data.master10key = _root.master10key;
savefile.flush();
}
_root.tabEnabled = false;
_root.tabChildren = false;
this._lockroot = true;
var savefile = SharedObject.getLocal("Scramball");
var lvl1 = true;
var lvl2 = false;
var lvl3 = false;
var lvl4 = false;
var lvl5 = false;
var lvl6 = false;
var lvl7 = false;
var lvl8 = false;
var lvl9 = false;
var lvl10 = false;
var lvl11 = false;
var lvl12 = false;
var lvl13 = false;
var lvl14 = false;
var lvl15 = false;
var master1 = false;
var master2 = false;
var master3 = false;
var master4 = false;
var master5 = false;
var master6 = false;
var master7 = false;
var master8 = false;
var master9 = false;
var master10 = false;
var lvl1best = 0;
var lvl2best = 0;
var lvl3best = 0;
var lvl4best = 0;
var lvl5best = 0;
var lvl6best = 0;
var lvl7best = 0;
var lvl8best = 0;
var lvl9best = 0;
var lvl10best = 0;
var lvl11best = 0;
var lvl12best = 0;
var lvl13best = 0;
var lvl14best = 0;
var lvl15best = 0;
var master1best = 0;
var master2best = 0;
var master3best = 0;
var master4best = 0;
var master5best = 0;
var master6best = 0;
var master7best = 0;
var master8best = 0;
var master9best = 0;
var master10best = 0;
var totaltrophies = 0;
var totalgems = 0;
var totalkeys = 0;
var lvl1trophy = false;
var lvl1gem = false;
var lvl2trophy = false;
var lvl2gem = false;
var lvl3trophy = false;
var lvl3gem = false;
var lvl4trophy = false;
var lvl4gem = false;
var lvl5trophy = false;
var lvl5gem = false;
var lvl6trophy = false;
var lvl6gem = false;
var lvl7trophy = false;
var lvl7gem = false;
var lvl8trophy = false;
var lvl8gem = false;
var lvl9trophy = false;
var lvl9gem = false;
var lvl10trophy = false;
var lvl10gem = false;
var lvl11trophy = false;
var lvl11gem = false;
var lvl12trophy = false;
var lvl12gem = false;
var lvl13trophy = false;
var lvl13gem = false;
var lvl14trophy = false;
var lvl14gem = false;
var lvl15trophy = false;
var lvl15gem = false;
var master1key = false;
var master2key = false;
var master3key = false;
var master4key = false;
var master5key = false;
var master6key = false;
var master7key = false;
var master8key = false;
var master9key = false;
var master10key = false;
var lvl1trophytime = 10;
var lvl1gemtime = 4.2;
var lvl2trophytime = 9.5;
var lvl2gemtime = 5.5;
var lvl3trophytime = 9;
var lvl3gemtime = 5.5;
var lvl4trophytime = 9;
var lvl4gemtime = 6;
var lvl5trophytime = 9;
var lvl5gemtime = 7.5;
var lvl6trophytime = 6.8;
var lvl6gemtime = 6;
var lvl7trophytime = 7.6;
var lvl7gemtime = 6.8;
var lvl8trophytime = 6;
var lvl8gemtime = 5.2;
var lvl9trophytime = 9;
var lvl9gemtime = 6.8;
var lvl10trophytime = 8.8;
var lvl10gemtime = 7.3;
var lvl11trophytime = 6;
var lvl11gemtime = 5.7;
var lvl12trophytime = 3.8;
var lvl12gemtime = 3.3;
var lvl13trophytime = 5;
var lvl13gemtime = 3.7;
var lvl14trophytime = 8;
var lvl14gemtime = 7.2;
var lvl15trophytime = 9.3;
var lvl15gemtime = 8;
var master1keytime = 17.5;
var master2keytime = 16.5;
var master3keytime = 11;
var master4keytime = 17;
var master5keytime = 8.5;
var master6keytime = 3.8;
var master7keytime = 5;
var master8keytime = 5.5;
var master9keytime = 5.1;
var master10keytime = 5.5;
global = new Sound();
function playmp3() {
sound.loadSound(songURL, true);
}
function cleartime() {
clearInterval(countdown);
clearInterval(myIntervalID);
}
var songURL = 0;
var sound = new Sound();
sound.onSoundComplete = function () {
sound.start(0, 99);
};
var songURL = "http://www.newgrounds.com/audio/download/171605";
playmp3();
stop();
Instance of Symbol 63 MovieClip in Frame 2
on (release) {
getURL ("http://www.kongregate.com/?gamereferral=scramball2", "_blank");
}
Frame 3
var savefile = SharedObject.getLocal("Scramball");
_root.lvl2 = savefile.data.lvl2;
_root.lvl3 = savefile.data.lvl3;
_root.lvl4 = savefile.data.lvl4;
_root.lvl5 = savefile.data.lvl5;
_root.lvl6 = savefile.data.lvl6;
_root.lvl7 = savefile.data.lvl7;
_root.lvl8 = savefile.data.lvl8;
_root.lvl9 = savefile.data.lvl9;
_root.lvl10 = savefile.data.lvl10;
_root.lvl11 = savefile.data.lvl11;
_root.lvl12 = savefile.data.lvl12;
_root.lvl13 = savefile.data.lvl13;
_root.lvl14 = savefile.data.lvl14;
_root.lvl15 = savefile.data.lvl15;
_root.master1 = savefile.data.master1;
_root.master2 = savefile.data.master2;
_root.master3 = savefile.data.master3;
_root.master4 = savefile.data.master4;
_root.master5 = savefile.data.master5;
_root.master6 = savefile.data.master6;
_root.master7 = savefile.data.master7;
_root.master8 = savefile.data.master8;
_root.master9 = savefile.data.master9;
_root.master10 = savefile.data.master10;
_root.lvl1best = savefile.data.lvl1best;
_root.lvl2best = savefile.data.lvl2best;
_root.lvl3best = savefile.data.lvl3best;
_root.lvl4best = savefile.data.lvl4best;
_root.lvl5best = savefile.data.lvl5best;
_root.lvl6best = savefile.data.lvl6best;
_root.lvl7best = savefile.data.lvl7best;
_root.lvl8best = savefile.data.lvl8best;
_root.lvl9best = savefile.data.lvl9best;
_root.lvl10best = savefile.data.lvl10best;
_root.lvl11best = savefile.data.lvl11best;
_root.lvl12best = savefile.data.lvl12best;
_root.lvl13best = savefile.data.lvl13best;
_root.lvl14best = savefile.data.lvl14best;
_root.lvl15best = savefile.data.lvl15best;
_root.master1best = savefile.data.master1best;
_root.master2best = savefile.data.master2best;
_root.master3best = savefile.data.master3best;
_root.master4best = savefile.data.master4best;
_root.master5best = savefile.data.master5best;
_root.master6best = savefile.data.master6best;
_root.master7best = savefile.data.master7best;
_root.master8best = savefile.data.master8best;
_root.master9best = savefile.data.master9best;
_root.master10best = savefile.data.master10best;
_root.totaltrophies = savefile.data.totaltrophies;
_root.totalgems = savefile.data.totalgems;
_root.totalkeys = savefile.data.totalkeys;
_root.lvl1trophy = savefile.data.lvl1trophy;
_root.lvl1gem = savefile.data.lvl1gem;
_root.lvl2trophy = savefile.data.lvl2trophy;
_root.lvl2gem = savefile.data.lvl2gem;
_root.lvl3trophy = savefile.data.lvl3trophy;
_root.lvl3gem = savefile.data.lvl3gem;
_root.lvl4trophy = savefile.data.lvl4trophy;
_root.lvl4gem = savefile.data.lvl4gem;
_root.lvl5trophy = savefile.data.lvl5trophy;
_root.lvl5gem = savefile.data.lvl5gem;
_root.lvl6trophy = savefile.data.lvl6trophy;
_root.lvl6gem = savefile.data.lvl6gem;
_root.lvl7trophy = savefile.data.lvl7trophy;
_root.lvl7gem = savefile.data.lvl7gem;
_root.lvl8trophy = savefile.data.lvl8trophy;
_root.lvl8gem = savefile.data.lvl8gem;
_root.lvl9trophy = savefile.data.lvl9trophy;
_root.lvl9gem = savefile.data.lvl9gem;
_root.lvl10trophy = savefile.data.lvl10trophy;
_root.lvl10gem = savefile.data.lvl10gem;
_root.lvl11trophy = savefile.data.lvl11trophy;
_root.lvl11gem = savefile.data.lvl11gem;
_root.lvl12trophy = savefile.data.lvl12trophy;
_root.lvl12gem = savefile.data.lvl12gem;
_root.lvl13trophy = savefile.data.lvl13trophy;
_root.lvl13gem = savefile.data.lvl13gem;
_root.lvl14trophy = savefile.data.lvl14trophy;
_root.lvl14gem = savefile.data.lvl14gem;
_root.lvl15trophy = savefile.data.lvl15trophy;
_root.lvl15gem = savefile.data.lvl15gem;
_root.master1key = savefile.data.master1key;
_root.master2key = savefile.data.master2key;
_root.master3key = savefile.data.master3key;
_root.master4key = savefile.data.master4key;
_root.master5key = savefile.data.master5key;
_root.master6key = savefile.data.master6key;
_root.master7key = savefile.data.master7key;
_root.master8key = savefile.data.master8key;
_root.master9key = savefile.data.master9key;
_root.master10key = savefile.data.master10key;
if (savefile.data.lvl1best == undefined) {
_root.lvl1best = 0;
}
if (savefile.data.lvl2best == undefined) {
_root.lvl2best = 0;
}
if (savefile.data.lvl3best == undefined) {
_root.lvl3best = 0;
}
if (savefile.data.lvl4best == undefined) {
_root.lvl4best = 0;
}
if (savefile.data.lvl5best == undefined) {
_root.lvl5best = 0;
}
if (savefile.data.lvl6best == undefined) {
_root.lvl6best = 0;
}
if (savefile.data.lvl7best == undefined) {
_root.lvl7best = 0;
}
if (savefile.data.lvl8best == undefined) {
_root.lvl8best = 0;
}
if (savefile.data.lvl9best == undefined) {
_root.lvl9best = 0;
}
if (savefile.data.lvl10best == undefined) {
_root.lvl10best = 0;
}
if (savefile.data.lvl11best == undefined) {
_root.lvl11best = 0;
}
if (savefile.data.lvl12best == undefined) {
_root.lvl12best = 0;
}
if (savefile.data.lvl13best == undefined) {
_root.lvl13best = 0;
}
if (savefile.data.lvl14best == undefined) {
_root.lvl14best = 0;
}
if (savefile.data.lvl15best == undefined) {
_root.lvl15best = 0;
}
if (savefile.data.master1best == undefined) {
_root.master1best = 0;
}
if (savefile.data.master2best == undefined) {
_root.master2best = 0;
}
if (savefile.data.master3best == undefined) {
_root.master3best = 0;
}
if (savefile.data.master4best == undefined) {
_root.master4best = 0;
}
if (savefile.data.master5best == undefined) {
_root.master5best = 0;
}
if (savefile.data.master6best == undefined) {
_root.master6best = 0;
}
if (savefile.data.master7best == undefined) {
_root.master7best = 0;
}
if (savefile.data.master8best == undefined) {
_root.master8best = 0;
}
if (savefile.data.master9best == undefined) {
_root.master9best = 0;
}
if (savefile.data.master10best == undefined) {
_root.master10best = 0;
}
if (savefile.data.totaltrophies == undefined) {
_root.totaltrophies = 0;
}
if (savefile.data.totalgems == undefined) {
_root.totalgems = 0;
}
if (savefile.data.totalkeys == undefined) {
_root.totalkeys = 0;
}
if (savefile.data.lvl1trophy == undefined) {
_root.lvl1trophy = false;
}
if (savefile.data.lvl1gem == undefined) {
_root.lvl1gem = false;
}
if (savefile.data.lvl2trophy == undefined) {
_root.lvl2trophy = false;
}
if (savefile.data.lvl2gem == undefined) {
_root.lvl2gem = false;
}
if (savefile.data.lvl3trophy == undefined) {
_root.lvl3trophy = false;
}
if (savefile.data.lvl3gem == undefined) {
_root.lvl3gem = false;
}
if (savefile.data.lvl4trophy == undefined) {
_root.lvl4trophy = false;
}
if (savefile.data.lvl4gem == undefined) {
_root.lvl4gem = false;
}
if (savefile.data.lvl5trophy == undefined) {
_root.lvl5trophy = false;
}
if (savefile.data.lvl5gem == undefined) {
_root.lvl5gem = false;
}
if (savefile.data.lvl6trophy == undefined) {
_root.lvl6trophy = false;
}
if (savefile.data.lvl6gem == undefined) {
_root.lvl6gem = false;
}
if (savefile.data.lvl7trophy == undefined) {
_root.lvl7trophy = false;
}
if (savefile.data.lvl7gem == undefined) {
_root.lvl7gem = false;
}
if (savefile.data.lvl8trophy == undefined) {
_root.lvl8trophy = false;
}
if (savefile.data.lvl8gem == undefined) {
_root.lvl8gem = false;
}
if (savefile.data.lvl9trophy == undefined) {
_root.lvl9trophy = false;
}
if (savefile.data.lvl9gem == undefined) {
_root.lvl9gem = false;
}
if (savefile.data.lvl10trophy == undefined) {
_root.lvl10trophy = false;
}
if (savefile.data.lvl10gem == undefined) {
_root.lvl10gem = false;
}
if (savefile.data.lvl11trophy == undefined) {
_root.lvl11trophy = false;
}
if (savefile.data.lvl11gem == undefined) {
_root.lvl11gem = false;
}
if (savefile.data.lvl12trophy == undefined) {
_root.lvl12trophy = false;
}
if (savefile.data.lvl12gem == undefined) {
_root.lvl12gem = false;
}
if (savefile.data.lvl13trophy == undefined) {
_root.lvl13trophy = false;
}
if (savefile.data.lvl13gem == undefined) {
_root.lvl13gem = false;
}
if (savefile.data.lvl14trophy == undefined) {
_root.lvl14trophy = false;
}
if (savefile.data.lvl14gem == undefined) {
_root.lvl14gem = false;
}
if (savefile.data.lvl15trophy == undefined) {
_root.lvl15trophy = false;
}
if (savefile.data.lvl15gem == undefined) {
_root.lvl15gem = false;
}
if (savefile.data.master1key == undefined) {
_root.master1key = false;
}
if (savefile.data.master2key == undefined) {
_root.master2key = false;
}
if (savefile.data.master3key == undefined) {
_root.master3key = false;
}
if (savefile.data.master4key == undefined) {
_root.master4key = false;
}
if (savefile.data.master5key == undefined) {
_root.master5key = false;
}
if (savefile.data.master10key == undefined) {
_root.master10key = false;
}
if (savefile.data.master6key == undefined) {
_root.master6key = false;
}
if (savefile.data.master7key == undefined) {
_root.master7key = false;
}
if (savefile.data.master8key == undefined) {
_root.master8key = false;
}
if (savefile.data.master9key == undefined) {
_root.master9key = false;
}
save();
var score = 0;
stop();
Frame 4
stop();
_root.tabEnabled = false;
_root.tabChildren = false;
this._lockroot = true;
Frame 5
function starttimer() {
function countdown() {
time1 = time1 + 0.1;
time = int(time1 * 10) / 10;
if ((time % 1) == 0) {
time = time + ".0";
}
timer.text = time;
}
time1 = 0;
myIntervalID = setInterval(countdown, 100);
}
stop();
_root.kongregateStats.submit("Total trophies", _root.totaltrophies);
_root.kongregateStats.submit("Total gems", _root.totalgems);
_root.kongregateStats.submit("Total master keys", _root.totalkeys);
Frame 7
_root.infotable3._alpha = 0;
_root.kongregateStats.submit("Total trophies", _root.totaltrophies);
_root.kongregateStats.submit("Total gems", _root.totalgems);
_root.kongregateStats.submit("Total master keys", _root.totalkeys);
Instance of Symbol 216 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.master1 == true) {
_root.master1but.gotoAndStop(2);
}
if (_root.master2 == true) {
_root.master2but.gotoAndStop(2);
}
if (_root.master3 == true) {
_root.master3but.gotoAndStop(2);
}
if (_root.master4 == true) {
_root.master4but.gotoAndStop(2);
}
if (_root.master5 == true) {
_root.master5but.gotoAndStop(2);
}
if (_root.master6 == true) {
_root.master6but.gotoAndStop(2);
}
if (_root.master7 == true) {
_root.master7but.gotoAndStop(2);
}
if (_root.master8 == true) {
_root.master8but.gotoAndStop(2);
}
if (_root.master9 == true) {
_root.master9but.gotoAndStop(2);
}
if (_root.master10 == true) {
_root.master10but.gotoAndStop(2);
}
}
Instance of Symbol 216 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.totalgems >= 2) {
_root.master1 = true;
}
if (_root.totalgems >= 4) {
_root.master2 = true;
}
if (_root.totalgems >= 6) {
_root.master3 = true;
}
if (_root.totalgems >= 8) {
_root.master4 = true;
}
if (_root.totalgems >= 10) {
_root.master5 = true;
}
if (_root.totalgems >= 11) {
_root.master6 = true;
}
if (_root.totalgems >= 12) {
_root.master7 = true;
}
if (_root.totalgems >= 13) {
_root.master8 = true;
}
if (_root.totalgems >= 14) {
_root.master9 = true;
}
if (_root.totalgems >= 15) {
_root.master10 = true;
}
}
Instance of Symbol 289 MovieClip "infotable3" in Frame 7
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 216 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.totaltrophies >= 5) {
trophies5();
}
if (_root.totaltrophies >= 15) {
trophies15();
}
if (_root.totalgems >= 5) {
gems5();
}
if (_root.totalgems >= 15) {
gems15();
}
if (_root.totalkeys >= 5) {
keys5();
}
if (_root.totalkeys >= 10) {
keys10();
}
}
Frame 9
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
save();
_root.infotable._alpha = 0;
_root.infotable2._alpha = 0;
_root.kongregateStats.submit("Total trophies", _root.totaltrophies);
_root.kongregateStats.submit("Total gems", _root.totalgems);
_root.kongregateStats.submit("Total master keys", _root.totalkeys);
Instance of Symbol 216 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.lvl1 == true) {
_root.lvl1but.gotoAndStop(2);
}
if (_root.lvl2 == true) {
_root.lvl2but.gotoAndStop(2);
}
if (_root.lvl3 == true) {
_root.lvl3but.gotoAndStop(2);
}
if (_root.lvl4 == true) {
_root.lvl4but.gotoAndStop(2);
}
if (_root.lvl5 == true) {
_root.lvl5but.gotoAndStop(2);
}
if (_root.lvl6 == true) {
_root.lvl6but.gotoAndStop(2);
}
if (_root.lvl7 == true) {
_root.lvl7but.gotoAndStop(2);
}
if (_root.lvl8 == true) {
_root.lvl8but.gotoAndStop(2);
}
if (_root.lvl9 == true) {
_root.lvl9but.gotoAndStop(2);
}
if (_root.lvl10 == true) {
_root.lvl10but.gotoAndStop(2);
}
if (_root.lvl11 == true) {
_root.lvl11but.gotoAndStop(2);
}
if (_root.lvl12 == true) {
_root.lvl12but.gotoAndStop(2);
}
if (_root.lvl13 == true) {
_root.lvl13but.gotoAndStop(2);
}
if (_root.lvl14 == true) {
_root.lvl14but.gotoAndStop(2);
}
if (_root.lvl15 == true) {
_root.lvl15but.gotoAndStop(2);
}
}
Instance of Symbol 467 MovieClip "infotable" in Frame 9
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 472 MovieClip "infotable2" in Frame 9
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Frame 10
var totalscore = (((totaltrophies * 150) + (totalgems * 300)) + (totalkeys * 500));
NonobaAPI.SubmitScore("totalscore1", totalscore, function (response) {
switch (response) {
case NonobaAPI.SUCCESS :
trace("The score was submitted successfully");
break;
case NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in");
break;
case NonobaAPI.ERROR :
trace("An error occurred.");
}
});
_root.HPScoreService.postScore(totalscore, "");
Instance of Symbol 216 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root.lvl1trophy == true) {
_root.trophy1.gotoAndStop(2);
}
if (_root.lvl1gem == true) {
_root.gem1.gotoAndStop(2);
}
if (_root.lvl2trophy == true) {
_root.trophy2.gotoAndStop(2);
}
if (_root.lvl2gem == true) {
_root.gem2.gotoAndStop(2);
}
if (_root.lvl3trophy == true) {
_root.trophy3.gotoAndStop(2);
}
if (_root.lvl3gem == true) {
_root.gem3.gotoAndStop(2);
}
if (_root.lvl4trophy == true) {
_root.trophy4.gotoAndStop(2);
}
if (_root.lvl4gem == true) {
_root.gem4.gotoAndStop(2);
}
if (_root.lvl5trophy == true) {
_root.trophy5.gotoAndStop(2);
}
if (_root.lvl5gem == true) {
_root.gem5.gotoAndStop(2);
}
if (_root.lvl6trophy == true) {
_root.trophy6.gotoAndStop(2);
}
if (_root.lvl6gem == true) {
_root.gem6.gotoAndStop(2);
}
if (_root.lvl7trophy == true) {
_root.trophy7.gotoAndStop(2);
}
if (_root.lvl7gem == true) {
_root.gem7.gotoAndStop(2);
}
if (_root.lvl8trophy == true) {
_root.trophy8.gotoAndStop(2);
}
if (_root.lvl8gem == true) {
_root.gem8.gotoAndStop(2);
}
if (_root.lvl9trophy == true) {
_root.trophy9.gotoAndStop(2);
}
if (_root.lvl9gem == true) {
_root.gem9.gotoAndStop(2);
}
if (_root.lvl10trophy == true) {
_root.trophy10.gotoAndStop(2);
}
if (_root.lvl10gem == true) {
_root.gem10.gotoAndStop(2);
}
if (_root.lvl11trophy == true) {
_root.trophy11.gotoAndStop(2);
}
if (_root.lvl11gem == true) {
_root.gem11.gotoAndStop(2);
}
if (_root.lvl12trophy == true) {
_root.trophy12.gotoAndStop(2);
}
if (_root.lvl12gem == true) {
_root.gem12.gotoAndStop(2);
}
if (_root.lvl13trophy == true) {
_root.trophy13.gotoAndStop(2);
}
if (_root.lvl13gem == true) {
_root.gem13.gotoAndStop(2);
}
if (_root.lvl14trophy == true) {
_root.trophy14.gotoAndStop(2);
}
if (_root.lvl14gem == true) {
_root.gem14.gotoAndStop(2);
}
if (_root.lvl15trophy == true) {
_root.trophy15.gotoAndStop(2);
}
if (_root.lvl15gem == true) {
_root.gem15.gotoAndStop(2);
}
}
Frame 11
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot1");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 11
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 12
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl1best) {
_root.lvl1best = _root.time;
}
if (_root.lvl1best == 0) {
_root.lvl1best = _root.time;
}
if (_root.lvl1trophy == false) {
if (_root.time <= _root.lvl1trophytime) {
var lvl1trophy = true;
_root.totaltrophies = _root.totaltrophies + 1;
var lvl2 = true;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl1gem == false) {
if (_root.time <= _root.lvl1gemtime) {
var lvl1gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 13
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl2 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level2");
}
}
};
Key.addListener(myListener);
Frame 14
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 14
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot2");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 14
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 15
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl2best) {
_root.lvl2best = _root.time;
}
if (_root.lvl2best == 0) {
_root.lvl2best = _root.time;
}
if (_root.lvl2trophy == false) {
if (_root.time <= _root.lvl2trophytime) {
_root.lvl2trophy = true;
_root.totaltrophies = _root.totaltrophies + 1;
var lvl3 = true;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl2gem == false) {
if (_root.time <= _root.lvl2gemtime) {
_root.lvl2gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 16
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl3 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level3");
}
}
};
Key.addListener(myListener);
save();
Frame 17
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot3");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 17
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 18
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl3best) {
_root.lvl3best = _root.time;
}
if (_root.lvl3best == 0) {
_root.lvl3best = _root.time;
}
if (_root.lvl3trophy == false) {
if (_root.time <= _root.lvl3trophytime) {
_root.lvl3trophy = true;
var lvl4 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl3gem == false) {
if (_root.time <= _root.lvl3gemtime) {
_root.lvl3gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 19
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl4 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level4");
}
}
};
Key.addListener(myListener);
Frame 20
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot4");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 20
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 21
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl4best) {
_root.lvl4best = _root.time;
}
if (_root.lvl4best == 0) {
_root.lvl4best = _root.time;
}
if (_root.lvl4trophy == false) {
if (_root.time <= _root.lvl4trophytime) {
_root.lvl4trophy = true;
var lvl5 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl4gem == false) {
if (_root.time <= _root.lvl4gemtime) {
_root.lvl4gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 22
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl5 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level5");
}
}
};
Key.addListener(myListener);
Frame 23
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 23
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot5");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 23
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 24
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl5best) {
_root.lvl5best = _root.time;
}
if (_root.lvl5best == 0) {
_root.lvl5best = _root.time;
}
if (_root.lvl5trophy == false) {
if (_root.time <= _root.lvl5trophytime) {
_root.lvl5trophy = true;
var lvl6 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl5gem == false) {
if (_root.time <= _root.lvl5gemtime) {
_root.lvl5gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 25
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl6 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level6");
}
}
};
Key.addListener(myListener);
Frame 26
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 26
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot6");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 26
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 27
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl6best) {
_root.lvl6best = _root.time;
}
if (_root.lvl6best == 0) {
_root.lvl6best = _root.time;
}
if (_root.lvl6trophy == false) {
if (_root.time <= _root.lvl6trophytime) {
_root.lvl6trophy = true;
var lvl7 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl6gem == false) {
if (_root.time <= _root.lvl6gemtime) {
_root.lvl6gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 28
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl7 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level7");
}
}
};
Key.addListener(myListener);
Frame 29
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 29
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot7");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 29
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 30
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl7best) {
_root.lvl7best = _root.time;
}
if (_root.lvl7best == 0) {
_root.lvl7best = _root.time;
}
if (_root.lvl7trophy == false) {
if (_root.time <= _root.lvl7trophytime) {
_root.lvl7trophy = true;
var lvl8 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl7gem == false) {
if (_root.time <= _root.lvl7gemtime) {
_root.lvl7gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 31
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl8 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level8");
}
}
};
Key.addListener(myListener);
Frame 32
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 32
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot8");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 32
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 33
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl8best) {
_root.lvl8best = _root.time;
}
if (_root.lvl8best == 0) {
_root.lvl8best = _root.time;
}
if (_root.lvl8trophy == false) {
if (_root.time <= _root.lvl8trophytime) {
_root.lvl8trophy = true;
var lvl9 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl8gem == false) {
if (_root.time <= _root.lvl8gemtime) {
_root.lvl8gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 34
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl9 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level9");
}
}
};
Key.addListener(myListener);
Frame 35
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot9");
}
}
Instance of Symbol 736 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.controls = 1;
}
}
Instance of Symbol 736 MovieClip in Frame 35
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.controls = 0;
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 35
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 36
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl9best) {
_root.lvl9best = _root.time;
}
if (_root.lvl9best == 0) {
_root.lvl9best = _root.time;
}
if (_root.lvl9trophy == false) {
if (_root.time <= _root.lvl9trophytime) {
_root.lvl9trophy = true;
var lvl10 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl9gem == false) {
if (_root.time <= _root.lvl9gemtime) {
_root.lvl9gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 37
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl10 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level10");
}
}
};
Key.addListener(myListener);
Frame 38
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot10");
}
}
Instance of Symbol 736 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.controls = 1;
}
}
Instance of Symbol 736 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.controls = 0;
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 38
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 39
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl10best) {
_root.lvl10best = _root.time;
}
if (_root.lvl10best == 0) {
_root.lvl10best = _root.time;
}
if (_root.lvl10trophy == false) {
if (_root.time <= _root.lvl10trophytime) {
_root.lvl10trophy = true;
var lvl11 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl10gem == false) {
if (_root.time <= _root.lvl10gemtime) {
_root.lvl10gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 40
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl11 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level11");
}
}
};
Key.addListener(myListener);
Frame 41
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot11");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 41
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 42
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl11best) {
_root.lvl11best = _root.time;
}
if (_root.lvl11best == 0) {
_root.lvl11best = _root.time;
}
if (_root.lvl11trophy == false) {
if (_root.time <= _root.lvl11trophytime) {
_root.lvl11trophy = true;
var lvl12 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl11gem == false) {
if (_root.time <= _root.lvl11gemtime) {
_root.lvl11gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 43
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl12 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level12");
}
}
};
Key.addListener(myListener);
Frame 44
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 44
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot12");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 44
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 45
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl12best) {
_root.lvl12best = _root.time;
}
if (_root.lvl12best == 0) {
_root.lvl12best = _root.time;
}
if (_root.lvl12trophy == false) {
if (_root.time <= _root.lvl12trophytime) {
_root.lvl12trophy = true;
var lvl13 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl12gem == false) {
if (_root.time <= _root.lvl12gemtime) {
_root.lvl12gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 46
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl13 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level13");
}
}
};
Key.addListener(myListener);
Frame 47
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 47
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot13");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 47
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 48
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl13best) {
_root.lvl13best = _root.time;
}
if (_root.lvl13best == 0) {
_root.lvl13best = _root.time;
}
if (_root.lvl13trophy == false) {
if (_root.time <= _root.lvl13trophytime) {
_root.lvl13trophy = true;
var lvl14 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl13gem == false) {
if (_root.time <= _root.lvl13gemtime) {
_root.lvl13gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 49
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl14 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level14");
}
}
};
Key.addListener(myListener);
Frame 50
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 50
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot14");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 50
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 51
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl14best) {
_root.lvl14best = _root.time;
}
if (_root.lvl14best == 0) {
_root.lvl14best = _root.time;
}
if (_root.lvl14trophy == false) {
if (_root.time <= _root.lvl14trophytime) {
_root.lvl14trophy = true;
var lvl15 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl14gem == false) {
if (_root.time <= _root.lvl14gemtime) {
_root.lvl14gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 52
save();
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
if (lvl15 == true) {
clearInterval(countdown);
clearInterval(myIntervalID);
_root.time = 0;
Key.removeListener(_root.myListener);
_root.gotoAndStop("level15");
}
}
};
Key.addListener(myListener);
Frame 53
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 53
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("pot15");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 53
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 54
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.lvl15best) {
_root.lvl15best = _root.time;
}
if (_root.lvl15best == 0) {
_root.lvl15best = _root.time;
}
if (_root.lvl15trophy == false) {
if (_root.time <= _root.lvl15trophytime) {
_root.lvl15trophy = true;
var lvl16 = true;
_root.totaltrophies = _root.totaltrophies + 1;
_root.trophyunlocked.gotoAndPlay(1);
}
}
if (_root.lvl15gem == false) {
if (_root.time <= _root.lvl15gemtime) {
_root.lvl15gem = true;
_root.totalgems = _root.totalgems + 1;
_root.gemunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 55
save();
Frame 56
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm1");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 56
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Instance of Symbol 838 MovieClip "orb1" in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.wall1.gotoAndStop(2);
_root.wall.wall2.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 838 MovieClip "orb2" in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.wall5.gotoAndStop(2);
_root.wall.wall3.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 838 MovieClip "orb3" in Frame 56
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.wall6.gotoAndStop(2);
_root.wall.wall2.gotoAndStop(3);
this.gotoAndStop(2);
}
}
Frame 57
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master1best) {
_root.master1best = _root.time;
}
if (_root.master1best == 0) {
_root.master1best = _root.time;
}
if (_root.master1key == false) {
if (_root.time <= _root.master1keytime) {
_root.master1key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 58
save();
Frame 59
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm2");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 59
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 60
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master2best) {
_root.master2best = _root.time;
}
if (_root.master2best == 0) {
_root.master2best = _root.time;
}
if (_root.master2key == false) {
if (_root.time <= _root.master2keytime) {
_root.master2key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 61
save();
Frame 62
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm3");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 62
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Instance of Symbol 838 MovieClip "orb1" in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.wall2.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 838 MovieClip "orb3" in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.wall3.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 838 MovieClip "orb2" in Frame 62
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.wall1.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Frame 63
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master3best) {
_root.master3best = _root.time;
}
if (_root.master3best == 0) {
_root.master3best = _root.time;
}
if (_root.master3key == false) {
if (_root.time <= _root.master3keytime) {
_root.master3key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 64
save();
Frame 65
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm4");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 65
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Instance of Symbol 838 MovieClip "orb1" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.wall1.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Instance of Symbol 838 MovieClip "orb2" in Frame 65
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.wall2.gotoAndStop(2);
this.gotoAndStop(2);
}
}
Frame 66
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master4best) {
_root.master4best = _root.time;
}
if (_root.master4best == 0) {
_root.master4best = _root.time;
}
if (_root.master4key == false) {
if (_root.time <= _root.master4keytime) {
_root.master4key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 67
save();
Frame 68
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 68
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm5");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 68
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 69
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master5best) {
_root.master5best = _root.time;
}
if (_root.master5best == 0) {
_root.master5best = _root.time;
}
if (_root.master5key == false) {
if (_root.time <= _root.master5keytime) {
_root.master5key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 70
save();
Frame 71
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 71
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm6");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 71
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 72
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master6best) {
_root.master6best = _root.time;
}
if (_root.master6best == 0) {
_root.master6best = _root.time;
}
if (_root.master6key == false) {
if (_root.time <= _root.master6keytime) {
_root.master6key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 73
save();
Frame 74
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 74
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm7");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 74
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 75
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master7best) {
_root.master7best = _root.time;
}
if (_root.master7best == 0) {
_root.master7best = _root.time;
}
if (_root.master7key == false) {
if (_root.time <= _root.master7keytime) {
_root.master7key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 76
save();
Frame 77
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 77
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm8");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 77
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 78
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master8best) {
_root.master8best = _root.time;
}
if (_root.master8best == 0) {
_root.master8best = _root.time;
}
if (_root.master8key == false) {
if (_root.time <= _root.master8keytime) {
_root.master8key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 79
save();
Frame 80
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 80
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm9");
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 80
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 81
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master9best) {
_root.master9best = _root.time;
}
if (_root.master9best == 0) {
_root.master9best = _root.time;
}
if (_root.master9key == false) {
if (_root.time <= _root.master9keytime) {
_root.master9key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 82
save();
Frame 83
var controls = 0;
stop();
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
Instance of Symbol 557 MovieClip "End" in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.gotoAndStop("potm10");
}
}
Instance of Symbol 989 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.ball.yspeed = 0;
_root.ball.xspeed = 0;
}
}
Instance of Symbol 989 MovieClip in Frame 83
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.ball.yspeed = 0;
_root.ball.xspeed = 0;
}
}
Instance of Symbol 139 MovieClip "ball" in Frame 83
onClipEvent (load) {
power = 0.4;
yspeed = 0;
xspeed = 0;
friction = 0.99;
radius = 10;
}
onClipEvent (enterFrame) {
if (_root.controls == 0) {
if (Key.isDown(40)) {
yspeed = yspeed + power;
}
if (Key.isDown(38)) {
yspeed = yspeed - power;
}
if (Key.isDown(39)) {
xspeed = xspeed + power;
}
if (Key.isDown(37)) {
xspeed = xspeed - power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
} else if (_root.controls == 1) {
if (Key.isDown(40)) {
yspeed = yspeed - power;
}
if (Key.isDown(38)) {
yspeed = yspeed + power;
}
if (Key.isDown(39)) {
xspeed = xspeed - power;
}
if (Key.isDown(37)) {
xspeed = xspeed + power;
}
if (this.texture._x > 53) {
this.texture._x = this.texture._x - 63;
}
if (this.texture._x < -53) {
this.texture._x = this.texture._x + 63;
}
if (this.texture._y > 53) {
this.texture._y = this.texture._y - 63;
}
if (this.texture._y < -53) {
this.texture._y = this.texture._y + 63;
}
}
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._y = this._y + yspeed;
this._x = this._x + xspeed;
this.texture._y = this.texture._y + yspeed;
this.texture._x = this.texture._x + xspeed;
if (_root.wall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y - 2;
}
if (_root.wall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.6;
this._y = this._y + 2;
}
if (_root.wall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x + 2;
}
if (_root.wall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.6;
this._x = this._x - 2;
}
if (_root.bouncewall.hitTest(_x, _y + radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y - 2;
}
if (_root.bouncewall.hitTest(_x, _y - radius, true)) {
yspeed = (-yspeed) * 0.99;
this._y = this._y + 2;
}
if (_root.bouncewall.hitTest(_x - radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x + 2;
}
if (_root.bouncewall.hitTest(_x + radius, _y, true)) {
xspeed = (-xspeed) * 0.99;
this._x = this._x - 2;
}
}
Frame 84
clearInterval(countdown);
clearInterval(myIntervalID);
stop();
if (_root.time <= _root.master10best) {
_root.master10best = _root.time;
}
if (_root.master10best == 0) {
_root.master10best = _root.time;
}
if (_root.master10key == false) {
if (_root.time <= _root.master10keytime) {
_root.master10key = true;
_root.totalkeys = _root.totalkeys + 1;
_root.keyunlocked.gotoAndPlay(1);
}
}
Key.removeListener(_root.myListener);
Frame 85
save();
Frame 86
var o = {n:[3, 15, 14, 5, 2, 1, 0, 4, 13, 10, 0, 0, 3, 6, 7, 3], f:function (i, s) {
if (s.length == 16) {
return(s);
}
return(this.f(i + 1, s + this.n[i].toString(16)));
}};
var boardID = o.f(0, "");
mochi.as2.MochiScores.showLeaderboard({boardID:boardID, score:totalscore});
Frame 87
stop();
_root.gotoAndStop("statistics");
Symbol 5 MovieClip [fps] Frame 1
fps = 30;
var timeinit = new Date();
var lasttime = timeinit.getMilliseconds();
onEnterFrame = function () {
var _local1 = new Date();
timepassed = (((_local1.getMilliseconds() - lasttime) >= 0) ? (_local1.getMilliseconds() - lasttime) : (1000 + (_local1.getMilliseconds() - lasttime)));
fps = Math.round(10000 / timepassed) / 10;
lasttime = _local1.getMilliseconds();
};
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 78
gotoAndStop (1);
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 78
gotoAndStop (1);
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 78
gotoAndStop (1);
Symbol 998 MovieClip [__Packages.Nonoba.api.NonobaAPI] Frame 0
class Nonoba.api.NonobaAPI
{
static var api;
function NonobaAPI () {
throw new Error("ERROR!: You cannot create an instance of the NonobaAPI class!");
}
static function GetShopItemKeys(callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR, null);
}
return(undefined);
}
if (api && (api.ShowShop)) {
api.GetShopItemKeys(callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.GetShopItemKeys(callback);
});
}
}
static function HasShopItem(item, callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR, false, null);
}
return(undefined);
}
if (api && (api.ShowShop)) {
api.HasShopItem(item, callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.HasShopItem(item, callback);
});
}
}
static function ShowShop(item, callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR);
}
return(undefined);
}
if (api && (api.ShowShop)) {
api.ShowShop(item, callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.ShowShop(item, callback);
});
}
}
static function Login(callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR);
}
return(undefined);
}
if (api && (api.Login)) {
api.Login(callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.Login(callback);
});
}
}
static function SubmitScore(key, score, callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR);
}
return(undefined);
}
if (api && (api.SubmitScore)) {
api.SubmitScore(key, score, callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.SubmitScore(key, score, callback);
});
}
}
static function AwardAchievement(key, callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR, 0);
}
return(undefined);
}
if (api && (api.AwardAchievement)) {
api.AwardAchievement(key, callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.AwardAchievement(key, callback);
});
}
}
static function SetUserData(key, value, callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR);
}
return(undefined);
}
if (api && (api.SetUserData)) {
api.SetUserData(key, value, callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.SetUserData(key, value, callback);
});
}
}
static function GetUserData(key, callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR, "");
}
return(undefined);
}
if (api && (api.GetUserData)) {
api.GetUserData(key, callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.GetUserData(key, callback);
});
}
}
static function GetUsername(callback) {
if (!isInited) {
Init();
}
if (failed) {
if (callback) {
callback(ERROR, "");
}
return(undefined);
}
if (api && (api.GetUsername)) {
api.GetUsername(callback);
} else {
cachedRequests.push(function () {
Nonoba.api.NonobaAPI.GetUsername(callback);
});
}
}
static function Init(container) {
function emptyCache() {
var _local1 = 0;
while (_local1 < Nonoba.api.NonobaAPI.cachedRequests.length) {
Nonoba.api.NonobaAPI.cachedRequests[_local1]();
_local1++;
}
Nonoba.api.NonobaAPI.cachedRequests = [];
}
if (isInited) {
throw new Error("NonobaAPI can not be re-initialized!");
}
isInited = true;
var _local3 = _root.nonoba$apicodeas2;
if (!_local3) {
failed = true;
emptyCache();
}
System.security.allowDomain("*");
container = container || _root;
api = container.createEmptyMovieClip("___NonobaAPI__loader", container.getNextHighestDepth());
var _local5 = new MovieClipLoader();
_local5.addListener({onLoadComplete:function () {
var loadTimer = setInterval(mx.utils.Delegate.create(Nonoba.api.NonobaAPI, function () {
if (!(Nonoba.api.NonobaAPI.api.SubmitScore === undefined)) {
clearInterval(loadTimer);
emptyCache();
}
}), 500);
}, onLoadError:function () {
Nonoba.api.NonobaAPI.failed = true;
emptyCache();
}});
_local5.loadClip(_local3, api);
}
static var SUCCESS = "SUCCESS";
static var NOT_LOGGED_IN = "user not logged in";
static var ERROR = "error";
static var isInited = false;
static var loading = false;
static var cachedRequests = [];
static var failed = false;
}
Symbol 999 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 1000 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("3.0 as2");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 1001 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.0");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local3 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servicesURL != undefined) {
_servicesURL = urlOptions().servicesURL;
}
allowDomains(_servicesURL);
_clip = clip.createEmptyMovieClip(_local3, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip((((_servicesURL + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static var _servicesURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
}
Symbol 1002 MovieClip [__Packages.mochi.as2.MochiScores] Frame 0
class mochi.as2.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if ((options.clip == null) || (options.clip == undefined)) {
options.clip = mochi.as2.MochiServices.clip;
}
if ((options.clip != mochi.as2.MochiServices.__get__clip()) || (mochi.as2.MochiServices.__get__childClip()._target == undefined)) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'");
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(_local1) != _local1) {
trace(("WARNING: Submitted score '" + options.score) + "' will be truncated");
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.as2.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.as2.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
mochi.as2.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.as2.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is 'Not a Number'");
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
trace(("ERROR: Submitted score '" + String(score)) + "' will be rejected, score is an infinite");
} else {
if (Math.floor(score) != score) {
trace(("WARNING: Submitted score '" + String(score)) + "' will be truncated");
}
score = Number(score);
}
mochi.as2.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.as2.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 1003 MovieClip [__Packages.mochi.as2.MochiDigits] Frame 0
class mochi.as2.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 35 Button
on (release) {
getURL ("http://www.kongregate.com/?gamereferral=scramball2", "_blank");
}
Symbol 36 Button
on (release) {
getURL ("http://kongregate.com/", "_blank");
}
Symbol 63 MovieClip Frame 180
_parent.gotoAndStop(3);
Symbol 66 Button
on (release) {
getURL ("http://www.chris-jeff.com", "_blank");
}
Symbol 81 MovieClip Frame 90
_parent.gotoAndStop(4);
Symbol 87 MovieClip Frame 109
_parent.gotoAndStop(5);
Symbol 90 MovieClip Frame 109
_parent.gotoAndStop(5);
Symbol 93 MovieClip Frame 109
_parent.gotoAndStop(5);
Symbol 102 Button
on (release) {
this.gotoAndStop("levelselect");
}
Symbol 107 Button
on (release) {
this.gotoAndStop("help");
}
Symbol 112 Button
on (release) {
getURL ("http://www.kongregate.com/?gamereferral=scramball2", "_blank");
}
Symbol 118 Button
on (release) {
getURL ("http://www.kongregate.com/?gamereferral=scramball2", "_blank");
}
Symbol 121 Button
on (release) {
getURL ("http://www.chris-jeff.com", "_blank");
}
Symbol 129 Button
on (release) {
this.gotoAndStop("menu");
}
Symbol 144 Button
on (release) {
this.nextFrame();
}
Symbol 159 Button
on (release) {
this.prevFrame();
}
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
stop();
Symbol 177 MovieClip Frame 3
stop();
Symbol 177 MovieClip Frame 4
stop();
Symbol 177 MovieClip Frame 5
stop();
Symbol 177 MovieClip Frame 6
stop();
Symbol 183 Button
on (release) {
this.gotoAndStop("levelselect");
}
Symbol 212 Button
on (rollOver) {
if (_root.master1key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master1key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master1best;
_root.infotable3.mastertime = "17.5";
_root.infotable3.gemneeded = "2";
_root.infotable3.levelholder = "master1";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 213 Button
on (release) {
_parent.gotoAndStop("master1");
}
on (rollOver) {
if (_root.master1key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master1key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master1best;
_root.infotable3.mastertime = "17.5";
_root.infotable3.gemneeded = "2";
_root.infotable3.levelholder = "master1";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 214 MovieClip Frame 1
stop();
Symbol 221 Button
on (rollOver) {
if (_root.master2key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master2key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master2best;
_root.infotable3.mastertime = "16.5";
_root.infotable3.gemneeded = "4";
_root.infotable3.levelholder = "master2";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 222 Button
on (release) {
_parent.gotoAndStop("master2");
}
on (rollOver) {
if (_root.master2key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master2key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master2best;
_root.infotable3.mastertime = "16.5";
_root.infotable3.gemneeded = "4";
_root.infotable3.levelholder = "master2";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 223 MovieClip Frame 1
stop();
Symbol 228 Button
on (rollOver) {
if (_root.master3key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master3key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master3best;
_root.infotable3.mastertime = "11.0";
_root.infotable3.gemneeded = "6";
_root.infotable3.levelholder = "master3";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 229 Button
on (release) {
_parent.gotoAndStop("master3");
}
on (rollOver) {
if (_root.master3key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master3key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master3best;
_root.infotable3.mastertime = "11.0";
_root.infotable3.gemneeded = "6";
_root.infotable3.levelholder = "master3";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 235 Button
on (rollOver) {
if (_root.master4key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master4key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master4best;
_root.infotable3.mastertime = "17.0";
_root.infotable3.gemneeded = "8";
_root.infotable3.levelholder = "master4";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 236 Button
on (release) {
_parent.gotoAndStop("master4");
}
on (rollOver) {
if (_root.master4key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master4key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master4best;
_root.infotable3.mastertime = "17.0";
_root.infotable3.gemneeded = "8";
_root.infotable3.levelholder = "master4";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 237 MovieClip Frame 1
stop();
Symbol 242 Button
on (rollOver) {
if (_root.master5key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master5key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master5best;
_root.infotable3.mastertime = "8.5";
_root.infotable3.gemneeded = "10";
_root.infotable3.levelholder = "master5";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 243 Button
on (release) {
_parent.gotoAndStop("master5");
}
on (rollOver) {
if (_root.master5key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master5key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master5best;
_root.infotable3.mastertime = "8.5";
_root.infotable3.gemneeded = "10";
_root.infotable3.levelholder = "master5";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 244 MovieClip Frame 1
stop();
Symbol 249 Button
on (rollOver) {
if (_root.master6key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master6key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master6best;
_root.infotable3.mastertime = "3.8";
_root.infotable3.gemneeded = "11";
_root.infotable3.levelholder = "master6";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 250 Button
on (release) {
_parent.gotoAndStop("master6");
}
on (rollOver) {
if (_root.master6key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master6key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master6best;
_root.infotable3.mastertime = "3.8";
_root.infotable3.gemneeded = "11";
_root.infotable3.levelholder = "master6";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 256 Button
on (rollOver) {
if (_root.master7key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master7key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master7best;
_root.infotable3.mastertime = "5.0";
_root.infotable3.gemneeded = "12";
_root.infotable3.levelholder = "master7";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 257 Button
on (release) {
_parent.gotoAndStop("master7");
}
on (rollOver) {
if (_root.master7key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master7key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master7best;
_root.infotable3.mastertime = "5.0";
_root.infotable3.gemneeded = "12";
_root.infotable3.levelholder = "master7";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 258 MovieClip Frame 1
stop();
Symbol 263 Button
on (rollOver) {
if (_root.master8key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master8key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master8best;
_root.infotable3.mastertime = "5.5";
_root.infotable3.gemneeded = "13";
_root.infotable3.levelholder = "master8";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 264 Button
on (release) {
_parent.gotoAndStop("master8");
}
on (rollOver) {
if (_root.master8key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master8key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master8best;
_root.infotable3.mastertime = "5.5";
_root.infotable3.gemneeded = "13";
_root.infotable3.levelholder = "master8";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 265 MovieClip Frame 1
stop();
Symbol 270 Button
on (rollOver) {
if (_root.master9key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master9key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master9best;
_root.infotable3.mastertime = "5.1";
_root.infotable3.gemneeded = "14";
_root.infotable3.levelholder = "master9";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 271 Button
on (release) {
_parent.gotoAndStop("master9");
}
on (rollOver) {
if (_root.master9key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master9key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master9best;
_root.infotable3.mastertime = "5.1";
_root.infotable3.gemneeded = "14";
_root.infotable3.levelholder = "master9";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 272 MovieClip Frame 1
stop();
Symbol 277 Button
on (rollOver) {
if (_root.master10key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master10key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master10best;
_root.infotable3.mastertime = "5.5";
_root.infotable3.gemneeded = "15";
_root.infotable3.levelholder = "master10";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
Symbol 278 Button
on (release) {
_parent.gotoAndStop("master10");
}
on (rollOver) {
if (_root.master10key == true) {
_root.infotable3.masterrewardedi.gotoAndStop(2);
}
if (_root.master10key == false) {
_root.infotable3.masterrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable3._alpha = 100;
_root.infotable3.besttimeholder = _root.master10best;
_root.infotable3.mastertime = "5.5";
_root.infotable3.gemneeded = "15";
_root.infotable3.levelholder = "master10";
}
on (rollOut) {
_root.infotable3._alpha = 0;
}
on (press) {
_root.infotable3._alpha = 0;
}
Symbol 279 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 1
stop();
Symbol 285 MovieClip Frame 2
stop();
Symbol 303 Button
on (release) {
var songURL = "http://www.newgrounds.com/audio/download/197636";
playmp3();
}
Symbol 305 Button
on (release) {
var songURL = "http://www.newgrounds.com/audio/download/186146";
playmp3();
}
Symbol 307 Button
on (release) {
var songURL = "http://www.newgrounds.com/audio/download/171605";
playmp3();
}
Symbol 310 Button
on (release) {
var songURL = "http://www.newgrounds.com/audio/download/214024";
playmp3();
}
Symbol 313 Button
on (release) {
var songURL = "http://www.newgrounds.com/audio/download/174170";
playmp3();
}
Symbol 338 Button
on (release) {
_parent.gotoAndStop("level1");
}
on (rollOver) {
if (_root.lvl1trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl1trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl1gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl1gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable._alpha = 100;
_root.infotable.besttimeholder = _root.lvl1best;
_root.infotable.trophytime = "10";
_root.infotable.gemtime = "4.2";
_root.infotable.levelholder = "level1";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 339 MovieClip Frame 1
stop();
Symbol 346 Button
on (release) {
_parent.gotoAndStop("level2");
}
on (rollOver) {
if (_root.lvl2trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl2trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl2gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl2gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable.besttimeholder = _root.lvl2best;
_root.infotable._alpha = 100;
_root.infotable.trophytime = "9.5";
_root.infotable.gemtime = "5.5";
_root.infotable.levelholder = "level2";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 347 MovieClip Frame 1
stop();
Symbol 354 Button
on (release) {
_parent.gotoAndStop("level3");
}
on (rollOver) {
if (_root.lvl3trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl3trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl3gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl3gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable.besttimeholder = _root.lvl3best;
_root.infotable._alpha = 100;
_root.infotable.trophytime = "9.0";
_root.infotable.gemtime = "5.5";
_root.infotable.levelholder = "level3";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 355 MovieClip Frame 1
stop();
Symbol 362 Button
on (release) {
_parent.gotoAndStop("level4");
}
on (rollOver) {
if (_root.lvl4trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl4trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl4gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl4gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable.besttimeholder = _root.lvl4best;
_root.infotable._alpha = 100;
_root.infotable.trophytime = "9.0";
_root.infotable.gemtime = "6.0";
_root.infotable.levelholder = "level4";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 368 Button
on (release) {
_parent.gotoAndStop("level5");
}
on (rollOver) {
if (_root.lvl5trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl5trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl5gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl5gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable.besttimeholder = _root.lvl5best;
_root.infotable._alpha = 100;
_root.infotable.trophytime = "9.0";
_root.infotable.gemtime = "7.5";
_root.infotable.levelholder = "level5";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 369 MovieClip Frame 1
stop();
Symbol 375 Button
on (release) {
this.gotoAndStop("statistics");
}
Symbol 403 Button
on (release) {
_parent.gotoAndStop("level6");
}
on (rollOver) {
if (_root.lvl6trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl6trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl6gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl6gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable._alpha = 100;
_root.infotable.besttimeholder = _root.lvl6best;
_root.infotable.trophytime = "6.8";
_root.infotable.gemtime = "6.0";
_root.infotable.levelholder = "level6";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 404 MovieClip Frame 1
stop();
Symbol 409 Button
on (release) {
_parent.gotoAndStop("level7");
}
on (rollOver) {
if (_root.lvl7trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl7trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl7gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl7gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable._alpha = 100;
_root.infotable.besttimeholder = _root.lvl7best;
_root.infotable.trophytime = "7.6";
_root.infotable.gemtime = "6.8";
_root.infotable.levelholder = "level7";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 410 MovieClip Frame 1
stop();
Symbol 415 Button
on (release) {
_parent.gotoAndStop("level9");
}
on (rollOver) {
if (_root.lvl9trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl9trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl9gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl9gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable._alpha = 100;
_root.infotable.besttimeholder = _root.lvl9best;
_root.infotable.trophytime = "9.0";
_root.infotable.gemtime = "6.8";
_root.infotable.levelholder = "level9";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 416 MovieClip Frame 1
stop();
Symbol 421 Button
on (release) {
_parent.gotoAndStop("level8");
}
on (rollOver) {
if (_root.lvl8trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl8trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl8gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl8gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable._alpha = 100;
_root.infotable.besttimeholder = _root.lvl8best;
_root.infotable.trophytime = "6.0";
_root.infotable.gemtime = "5.2";
_root.infotable.levelholder = "level8";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 422 MovieClip Frame 1
stop();
Symbol 427 Button
on (release) {
_parent.gotoAndStop("level10");
}
on (rollOver) {
if (_root.lvl10trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl10trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl10gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl10gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable._alpha = 100;
_root.infotable.besttimeholder = _root.lvl10best;
_root.infotable.trophytime = "8.8";
_root.infotable.gemtime = "7.3";
_root.infotable.levelholder = "level10";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 428 MovieClip Frame 1
stop();
Symbol 433 Button
on (release) {
_parent.gotoAndStop("level11");
}
on (rollOver) {
if (_root.lvl11trophy == true) {
_root.infotable2.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl11trophy == false) {
_root.infotable2.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl11gem == true) {
_root.infotable2.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl11gem == false) {
_root.infotable2.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable2._alpha = 100;
_root.infotable2.besttimeholder = _root.lvl11best;
_root.infotable2.trophytime = "6.0";
_root.infotable2.gemtime = "5.7";
_root.infotable2.levelholder = "level11";
}
on (rollOut) {
_root.infotable2._alpha = 0;
}
on (press) {
_root.infotable2._alpha = 0;
}
Symbol 434 MovieClip Frame 1
stop();
Symbol 439 Button
on (release) {
_parent.gotoAndStop("level12");
}
on (rollOver) {
if (_root.lvl12trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl12trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl12gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl12gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable._alpha = 100;
_root.infotable.besttimeholder = _root.lvl12best;
_root.infotable.trophytime = "3.8";
_root.infotable.gemtime = "3.3";
_root.infotable.levelholder = "level12";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 440 MovieClip Frame 1
stop();
Symbol 445 Button
on (release) {
_parent.gotoAndStop("level13");
}
on (rollOver) {
if (_root.lvl13trophy == true) {
_root.infotable2.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl13trophy == false) {
_root.infotable2.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl13gem == true) {
_root.infotable2.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl13gem == false) {
_root.infotable2.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable2._alpha = 100;
_root.infotable2.besttimeholder = _root.lvl13best;
_root.infotable2.trophytime = "5.0";
_root.infotable2.gemtime = "3.7";
_root.infotable2.levelholder = "level13";
}
on (rollOut) {
_root.infotable2._alpha = 0;
}
on (press) {
_root.infotable2._alpha = 0;
}
Symbol 446 MovieClip Frame 1
stop();
Symbol 451 Button
on (release) {
_parent.gotoAndStop("level14");
}
on (rollOver) {
if (_root.lvl14trophy == true) {
_root.infotable.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl14trophy == false) {
_root.infotable.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl14gem == true) {
_root.infotable.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl14gem == false) {
_root.infotable.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable._alpha = 100;
_root.infotable.besttimeholder = _root.lvl14best;
_root.infotable.trophytime = "8.0";
_root.infotable.gemtime = "7.2";
_root.infotable.levelholder = "level14";
}
on (rollOut) {
_root.infotable._alpha = 0;
}
on (press) {
_root.infotable._alpha = 0;
}
Symbol 452 MovieClip Frame 1
stop();
Symbol 457 Button
on (release) {
_parent.gotoAndStop("level15");
}
on (rollOver) {
if (_root.lvl15trophy == true) {
_root.infotable2.trophyrewardedi.gotoAndStop(2);
}
if (_root.lvl15trophy == false) {
_root.infotable2.trophyrewardedi.gotoAndStop(1);
}
if (_root.lvl15gem == true) {
_root.infotable2.gemrewardedi.gotoAndStop(2);
}
if (_root.lvl15gem == false) {
_root.infotable2.gemrewardedi.gotoAndStop(1);
}
}
on (rollOver) {
_root.infotable2._alpha = 100;
_root.infotable2.besttimeholder = _root.lvl15best;
_root.infotable2.trophytime = "9.3";
_root.infotable2.gemtime = "8.0";
_root.infotable2.levelholder = "level15";
}
on (rollOut) {
_root.infotable2._alpha = 0;
}
on (press) {
_root.infotable2._alpha = 0;
}
Symbol 458 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 2
stop();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 2
stop();
Symbol 478 Button
on (release) {
gotoAndStop ("music");
}
Symbol 482 Button
on (release) {
this.gotoAndStop("master");
}
Symbol 486 Button
on (release) {
getURL ("http://www.kongregate.com/?gamereferral=scramball2", "_blank");
}
Symbol 536 Button
on (release) {
this.gotoAndStop("submitscore");
_root.kongregateScores.submit(totalscore);
ScoreAPI.send(_root.com_mindjolt_api, "submitScore", totalscore);
_root.HPScoreService.postScore(totalscore, "");
}
Symbol 540 Button
on (release) {
getURL ("http://www.kongregate.com/?gamereferral=scramball2", "_blank");
}
Symbol 562 Button
on (release) {
getURL ("http://www.kongregate.com/?gamereferral=scramball2", "_blank");
}
Symbol 572 MovieClip Frame 1
_root.controls = 5;
Symbol 572 MovieClip Frame 30
_root.controls = 0;
_root.time = 0;
_root.time1 = 0;
_root.starttimer();
Symbol 572 MovieClip Frame 41
stop();
Symbol 575 Button
on (release) {
this.play();
}
Symbol 578 Button
on (release) {
this.play();
}
Symbol 581 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("levelselect");
}
Symbol 582 MovieClip Frame 1
stop();
Symbol 582 MovieClip Frame 2
stop();
Symbol 588 Button
on (release) {
this.play();
}
Symbol 589 Button
on (release) {
this.play();
}
Symbol 590 Button
on (release) {
_root.cleartime();
_root.time = 0;
_root.time1 = 0;
_root.ready.gotoAndPlay(1);
_root.ball._x = 80.3;
_root.ball._y = 81;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
_root.wall.wall1.gotoAndStop(1);
_root.wall.wall2.gotoAndStop(1);
_root.wall.wall3.gotoAndStop(1);
_root.wall.wall4.gotoAndStop(1);
_root.wall.wall5.gotoAndStop(1);
_root.wall.wall6.gotoAndStop(1);
_root.wall.wall7.gotoAndStop(1);
_root.wall.wall8.gotoAndStop(1);
_root.wall.wall9.gotoAndStop(1);
_root.wall.wall10.gotoAndStop(1);
_root.wall.wall11.gotoAndStop(1);
_root.wall.wall12.gotoAndStop(1);
_root.wall.wall13.gotoAndStop(1);
_root.wall.wall14.gotoAndStop(1);
_root.orb.gotoAndStop(1);
_root.orb1.gotoAndStop(1);
_root.orb2.gotoAndStop(1);
_root.orb3.gotoAndStop(1);
_root.orb4.gotoAndStop(1);
_root.orb5.gotoAndStop(1);
_root.orb6.gotoAndStop(1);
_root.orb7.gotoAndStop(1);
_root.wall.secret1.gotoAndStop(1);
_root.wall.secret2.gotoAndStop(1);
_root.wall.secret3.gotoAndStop(1);
_root.wall.secret4.gotoAndStop(1);
_root.wall.secret5.gotoAndStop(1);
_root.wall.secret6.gotoAndStop(1);
_root.wall.secret7.gotoAndStop(1);
_root.wall.secret8.gotoAndStop(1);
_root.wall.secret9.gotoAndStop(1);
_root.wall.secret10.gotoAndStop(1);
_root.wall.secret11.gotoAndStop(1);
_root.wall.secret12.gotoAndStop(1);
_root.wall.secret13.gotoAndStop(1);
_root.wall.secret14.gotoAndStop(1);
_root.wall.secret199.gotoAndStop(1);
_root.wall.iceblock.gotoAndStop(1);
_root.wall.iceblock1.gotoAndStop(1);
_root.wall.iceblock2.gotoAndStop(1);
_root.wall.iceblock3.gotoAndStop(1);
_root.wall.iceblock4.gotoAndStop(1);
_root.wall.iceblock5.gotoAndStop(1);
_root.wall.iceblock6.gotoAndStop(1);
_root.wall.iceblock7.gotoAndStop(1);
_root.wall.iceblock8.gotoAndStop(1);
_root.wall.iceblock9.gotoAndStop(1);
_root.wall.iceblock10.gotoAndStop(1);
_root.wall.iceblock11.gotoAndStop(1);
_root.wall.iceblock12.gotoAndStop(1);
_root.wall.iceblock13.gotoAndStop(1);
_root.wall.iceblock14.gotoAndStop(1);
_root.wall.iceblock15.gotoAndStop(1);
_root.wall.iceblock16.gotoAndStop(1);
_root.wall.iceblock17.gotoAndStop(1);
this.play();
}
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 2
stop();
Instance of Symbol 557 MovieClip "End" in Symbol 593 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.score = _root.score + 100;
_root.gotoAndStop(2);
}
}
Symbol 593 MovieClip Frame 7
_root.gotoAndStop("score1");
Symbol 601 Button
on (release) {
getURL ("http://www.kongregate.com/?gamereferral=scramball2", "_blank");
}
Symbol 608 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("levelselect");
}
Symbol 611 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level1");
}
Symbol 617 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 2
stop();
Symbol 619 MovieClip Frame 1
stop();
Symbol 628 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 1
var time = _root.time;
var lvl1best = _root.lvl1best;
var lvl1trophytime = _root.lvl1trophytime;
var lvl1gemtime = _root.lvl1gemtime;
Symbol 629 MovieClip Frame 11
stop();
if (_root.lvl1trophy == true) {
_root.scoretable.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl1trophy == false) {
_root.scoretable.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl1gem == true) {
_root.scoretable.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl1gem == false) {
_root.scoretable.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl1trophy == true) {
_root.scoretable.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 629 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl1trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl1trophy == true) {
if (_root.lvl1gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl1gem == false) {
if (_root.lvl1trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl1gem == true) {
if (_root.lvl1trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 638 MovieClip Frame 6
_root.gotoAndStop("score2");
Symbol 641 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level2");
}
Symbol 643 MovieClip Frame 1
var time = _root.time;
var lvl2best = _root.lvl2best;
Symbol 643 MovieClip Frame 11
stop();
if (_root.lvl2trophy == true) {
_root.scoretable2.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl2trophy == false) {
_root.scoretable2.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl2gem == true) {
_root.scoretable2.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl2gem == false) {
_root.scoretable2.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl2trophy == true) {
_root.scoretable2.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 643 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl2trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl2trophy == true) {
if (_root.lvl2gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl2gem == false) {
if (_root.lvl2trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl2gem == true) {
if (_root.lvl2trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 650 MovieClip Frame 6
_root.gotoAndStop("score3");
Symbol 653 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level3");
}
Symbol 655 MovieClip Frame 1
var time = _root.time;
var lvl3best = _root.lvl3best;
var lvl3trophytime = _root.lvl3trophytime;
var lvl3gemtime = _root.lvl3gemtime;
Symbol 655 MovieClip Frame 11
stop();
if (_root.lvl3trophy == true) {
_root.scoretable3.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl3trophy == false) {
_root.scoretable3.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl3gem == true) {
_root.scoretable3.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl3gem == false) {
_root.scoretable3.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl3trophy == true) {
_root.scoretable3.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 655 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl3trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl3trophy == true) {
if (_root.lvl3gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl3gem == false) {
if (_root.lvl3trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl3gem == true) {
if (_root.lvl3trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 662 MovieClip Frame 7
_root.gotoAndStop("score4");
Symbol 665 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level4");
}
Symbol 667 MovieClip Frame 1
var time = _root.time;
var lvl4best = _root.lvl4best;
Symbol 667 MovieClip Frame 11
stop();
if (_root.lvl4trophy == true) {
_root.scoretable4.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl4trophy == false) {
_root.scoretable4.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl4gem == true) {
_root.scoretable4.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl4gem == false) {
_root.scoretable4.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl4trophy == true) {
_root.scoretable4.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 667 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl4trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl4trophy == true) {
if (_root.lvl4gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl4gem == false) {
if (_root.lvl4trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl4gem == true) {
if (_root.lvl4trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 674 MovieClip Frame 7
_root.gotoAndStop("score5");
Symbol 677 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level5");
}
Symbol 679 MovieClip Frame 1
var time = _root.time;
var lvl5best = _root.lvl5best;
var lvl5trophytime = _root.lvl5trophytime;
var lvl5gemtime = _root.lvl5gemtime;
Symbol 679 MovieClip Frame 11
stop();
if (_root.lvl5trophy == true) {
_root.scoretable5.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl5trophy == false) {
_root.scoretable5.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl5gem == true) {
_root.scoretable5.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl5gem == false) {
_root.scoretable5.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl5trophy == true) {
_root.scoretable5.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 679 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl5trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl5trophy == true) {
if (_root.lvl5gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl5gem == false) {
if (_root.lvl5trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl5gem == true) {
if (_root.lvl5trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 699 MovieClip Frame 7
_root.gotoAndStop("score6");
Symbol 702 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level6");
}
Symbol 704 MovieClip Frame 1
var time = _root.time;
var lvl6best = _root.lvl6best;
Symbol 704 MovieClip Frame 11
stop();
if (_root.lvl6trophy == true) {
_root.scoretable6.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl6trophy == false) {
_root.scoretable6.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl6gem == true) {
_root.scoretable6.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl6gem == false) {
_root.scoretable6.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl6trophy == true) {
_root.scoretable6.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 704 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl6trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl6trophy == true) {
if (_root.lvl6gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl6gem == false) {
if (_root.lvl6trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl6gem == true) {
if (_root.lvl6trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 712 MovieClip Frame 7
_root.gotoAndStop("score7");
Symbol 715 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level7");
}
Symbol 717 MovieClip Frame 1
var time = _root.time;
var lvl7best = _root.lvl7best;
var lvl7trophytime = _root.lvl7trophytime;
var lvl7gemtime = _root.lvl7gemtime;
Symbol 717 MovieClip Frame 11
stop();
if (_root.lvl7trophy == true) {
_root.scoretable7.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl7trophy == false) {
_root.scoretable7.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl7gem == true) {
_root.scoretable7.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl7gem == false) {
_root.scoretable7.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl7trophy == true) {
_root.scoretable7.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 717 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl7trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl7trophy == true) {
if (_root.lvl7gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl7gem == false) {
if (_root.lvl7trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl7gem == true) {
if (_root.lvl7trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 724 MovieClip Frame 7
_root.gotoAndStop("score8");
Symbol 727 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level8");
}
Symbol 729 MovieClip Frame 1
var time = _root.time;
var lvl8best = _root.lvl8best;
Symbol 729 MovieClip Frame 11
stop();
if (_root.lvl8trophy == true) {
_root.scoretable8.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl8trophy == false) {
_root.scoretable8.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl8gem == true) {
_root.scoretable8.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl8gem == false) {
_root.scoretable8.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl8trophy == true) {
_root.scoretable8.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 729 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl8trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl8trophy == true) {
if (_root.lvl8gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl8gem == false) {
if (_root.lvl8trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl8gem == true) {
if (_root.lvl8trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 738 MovieClip Frame 7
_root.gotoAndStop("score9");
Symbol 741 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level9");
}
Symbol 743 MovieClip Frame 1
var time = _root.time;
var lvl9best = _root.lvl9best;
var lvl9trophytime = _root.lvl9trophytime;
var lvl9gemtime = _root.lvl9gemtime;
Symbol 743 MovieClip Frame 11
stop();
if (_root.lvl9trophy == true) {
_root.scoretable9.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl9trophy == false) {
_root.scoretable9.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl9gem == true) {
_root.scoretable9.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl9gem == false) {
_root.scoretable9.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl9trophy == true) {
_root.scoretable9.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 743 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl9trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl9trophy == true) {
if (_root.lvl9gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl9gem == false) {
if (_root.lvl9trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl9gem == true) {
if (_root.lvl9trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 749 MovieClip Frame 7
_root.gotoAndStop("score10");
Symbol 752 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level10");
}
Symbol 754 MovieClip Frame 1
var time = _root.time;
var lvl10best = _root.lvl10best;
var lvl10trophytime = _root.lvl10trophytime;
var lvl10gemtime = _root.lvl10gemtime;
Symbol 754 MovieClip Frame 11
stop();
if (_root.lvl10trophy == true) {
_root.scoretable10.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl10trophy == false) {
_root.scoretable10.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl10gem == true) {
_root.scoretable10.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl10gem == false) {
_root.scoretable10.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl10trophy == true) {
_root.scoretable10.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 754 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl10trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl10trophy == true) {
if (_root.lvl10gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl10gem == false) {
if (_root.lvl10trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl10gem == true) {
if (_root.lvl10trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 771 MovieClip Frame 1
stop();
Instance of Symbol 766 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.ball.yspeed = _root.ball.yspeed + 2;
_root.ball.xspeed = _root.ball.xspeed + 1;
}
}
Instance of Symbol 767 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.mud.gotoAndStop(2);
}
}
Instance of Symbol 768 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.mud.gotoAndStop(2);
}
}
Instance of Symbol 769 MovieClip in Symbol 771 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.ball.yspeed = _root.ball.yspeed - 2;
_root.ball.xspeed = _root.ball.xspeed - 1;
}
}
Instance of Symbol 770 MovieClip in Symbol 771 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.mud.gotoAndStop(1);
}
}
Symbol 773 MovieClip Frame 7
_root.gotoAndStop("score11");
Symbol 776 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level11");
}
Symbol 778 MovieClip Frame 1
var time = _root.time;
var lvl11best = _root.lvl11best;
var lvl11trophytime = _root.lvl11trophytime;
var lvl11gemtime = _root.lvl11gemtime;
Symbol 778 MovieClip Frame 11
stop();
if (_root.lvl11trophy == true) {
_root.scoretable11.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl11trophy == false) {
_root.scoretable11.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl11gem == true) {
_root.scoretable11.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl11gem == false) {
_root.scoretable11.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl11trophy == true) {
_root.scoretable11.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 778 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl11trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl11trophy == true) {
if (_root.lvl11gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl11gem == false) {
if (_root.lvl11trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl11gem == true) {
if (_root.lvl11trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 782 MovieClip Frame 1
stop();
Instance of Symbol 766 MovieClip in Symbol 782 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.ball.yspeed = _root.ball.yspeed + 1;
_root.ball.xspeed = _root.ball.xspeed + 1;
}
}
Instance of Symbol 768 MovieClip in Symbol 782 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.mud.gotoAndStop(2);
}
}
Instance of Symbol 768 MovieClip in Symbol 782 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.mud.gotoAndStop(2);
}
}
Instance of Symbol 769 MovieClip in Symbol 782 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.ball.yspeed = _root.ball.yspeed - 1;
_root.ball.xspeed = _root.ball.xspeed - 1;
}
}
Instance of Symbol 770 MovieClip in Symbol 782 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.mud.gotoAndStop(1);
}
}
Instance of Symbol 770 MovieClip in Symbol 782 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.mud.gotoAndStop(1);
}
}
Symbol 786 MovieClip Frame 7
_root.gotoAndStop("score12");
Symbol 788 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level12");
}
Symbol 790 MovieClip Frame 1
var time = _root.time;
var lvl12best = _root.lvl12best;
var lvl12trophytime = _root.lvl12trophytime;
var lvl12gemtime = _root.lvl12gemtime;
Symbol 790 MovieClip Frame 11
stop();
if (_root.lvl12trophy == true) {
_root.scoretable121.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl12trophy == false) {
_root.scoretable121.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl12gem == true) {
_root.scoretable121.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl12gem == false) {
_root.scoretable121.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl12trophy == true) {
_root.scoretable121.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 790 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl12trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl12trophy == true) {
if (_root.lvl12gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl12gem == false) {
if (_root.lvl12trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl12gem == true) {
if (_root.lvl12trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 795 MovieClip Frame 7
_root.gotoAndStop("score13");
Symbol 798 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level13");
}
Symbol 800 MovieClip Frame 1
var time = _root.time;
var lvl13best = _root.lvl13best;
var lvl13trophytime = _root.lvl13trophytime;
var lvl13gemtime = _root.lvl13gemtime;
Symbol 800 MovieClip Frame 11
stop();
if (_root.lvl13trophy == true) {
_root.scoretable13.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl13trophy == false) {
_root.scoretable13.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl13gem == true) {
_root.scoretable13.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl13gem == false) {
_root.scoretable13.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl13trophy == true) {
_root.scoretable13.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 800 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl13trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl13trophy == true) {
if (_root.lvl13gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl13gem == false) {
if (_root.lvl13trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl13gem == true) {
if (_root.lvl13trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 805 MovieClip Frame 7
_root.gotoAndStop("score14");
Symbol 808 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level14");
}
Symbol 810 MovieClip Frame 1
var time = _root.time;
var lvl14best = _root.lvl14best;
var lvl14trophytime = _root.lvl14trophytime;
var lvl14gemtime = _root.lvl14gemtime;
Symbol 810 MovieClip Frame 11
stop();
if (_root.lvl14trophy == true) {
_root.scoretable14.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl14trophy == false) {
_root.scoretable14.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl14gem == true) {
_root.scoretable14.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl14gem == false) {
_root.scoretable14.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl14trophy == true) {
_root.scoretable14.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 810 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl14trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl14trophy == true) {
if (_root.lvl14gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl14gem == false) {
if (_root.lvl14trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl14gem == true) {
if (_root.lvl14trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 816 MovieClip Frame 7
_root.gotoAndStop("score15");
Symbol 818 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("level15");
}
Symbol 820 MovieClip Frame 1
var time = _root.time;
var lvl15best = _root.lvl15best;
var lvl15trophytime = _root.lvl15trophytime;
var lvl15gemtime = _root.lvl15gemtime;
Symbol 820 MovieClip Frame 11
stop();
if (_root.lvl15trophy == true) {
_root.scoretable15.trophyrewardedo.gotoAndStop(2);
}
if (_root.lvl15trophy == false) {
_root.scoretable15.trophyrewardedo.gotoAndStop(1);
}
if (_root.lvl15gem == true) {
_root.scoretable15.gemrewardedo.gotoAndStop(2);
}
if (_root.lvl15gem == false) {
_root.scoretable15.gemrewardedo.gotoAndStop(1);
}
if (_root.lvl15trophy == true) {
_root.scoretable15.spacenext.gotoAndStop(2);
}
Instance of Symbol 628 MovieClip in Symbol 820 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.lvl15trophy == false) {
this.gotoAndStop(2);
}
if (_root.lvl15trophy == true) {
if (_root.lvl15gem == false) {
this.gotoAndStop(3);
}
}
if (_root.lvl15gem == false) {
if (_root.lvl15trophy == true) {
this.gotoAndStop(4);
}
}
if (_root.lvl15gem == true) {
if (_root.lvl15trophy == true) {
this.gotoAndStop(5);
}
}
}
Symbol 827 MovieClip Frame 10
stop();
Symbol 828 MovieClip Frame 10
stop();
Symbol 829 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 10
stop();
Symbol 838 MovieClip Frame 1
stop();
Symbol 840 MovieClip Frame 7
_root.gotoAndStop("scorem1");
Symbol 844 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master");
}
Symbol 845 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master1");
}
Symbol 848 MovieClip Frame 1
stop();
Symbol 848 MovieClip Frame 2
stop();
Symbol 851 MovieClip Frame 1
stop();
Symbol 852 MovieClip Frame 1
var time = _root.time;
var master1best = _root.master1best;
Symbol 852 MovieClip Frame 11
stop();
if (_root.master1key == true) {
_root.scorem1.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 852 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master1key == false) {
this.gotoAndStop(2);
}
if (_root.master1key == true) {
this.gotoAndStop(3);
}
}
Symbol 860 MovieClip Frame 6
stop();
Symbol 861 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 861 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 861 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 861 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 861 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock.gotoAndStop(5);
}
}
Symbol 861 MovieClip Frame 5
stop();
Symbol 862 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 862 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock2.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 862 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock2.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 862 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock2.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 862 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock2.gotoAndStop(5);
}
}
Symbol 862 MovieClip Frame 5
stop();
Symbol 863 MovieClip Frame 1
stop();
Symbol 864 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 864 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock3.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 864 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock3.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 864 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock3.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 864 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock3.gotoAndStop(5);
}
}
Symbol 864 MovieClip Frame 5
stop();
Symbol 865 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 865 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock4.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 865 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock4.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 865 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock4.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 865 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock4.gotoAndStop(5);
}
}
Symbol 865 MovieClip Frame 5
stop();
Symbol 866 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock5.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 866 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock5.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 866 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock5.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 866 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock5.gotoAndStop(5);
}
}
Symbol 866 MovieClip Frame 5
stop();
Symbol 867 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock6.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 867 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock6.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 867 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock6.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 867 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock6.gotoAndStop(5);
}
}
Symbol 867 MovieClip Frame 5
stop();
Symbol 868 MovieClip Frame 1
stop();
Symbol 869 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 869 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock8.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 869 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock8.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 869 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock8.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 869 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock8.gotoAndStop(5);
}
}
Symbol 869 MovieClip Frame 5
stop();
Symbol 870 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 870 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock9.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 870 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock9.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 870 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock9.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 870 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock9.gotoAndStop(5);
}
}
Symbol 870 MovieClip Frame 5
stop();
Symbol 871 MovieClip Frame 1
stop();
Symbol 877 MovieClip Frame 7
_root.gotoAndStop("scorem2");
Symbol 880 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master2");
}
Symbol 882 MovieClip Frame 1
var time = _root.time;
var master2best = _root.master2best;
Symbol 882 MovieClip Frame 11
stop();
stop();
if (_root.master2key == true) {
_root.scorem2.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 882 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master2key == false) {
this.gotoAndStop(2);
}
if (_root.master2key == true) {
this.gotoAndStop(3);
}
}
Symbol 883 MovieClip Frame 1
stop();
Symbol 883 MovieClip Frame 7
stop();
Symbol 885 MovieClip Frame 10
stop();
Symbol 886 MovieClip Frame 1
stop();
Symbol 888 MovieClip Frame 10
stop();
Symbol 889 MovieClip Frame 1
stop();
Symbol 891 MovieClip Frame 10
stop();
Symbol 892 MovieClip Frame 1
stop();
Symbol 893 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock1.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 893 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock1.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 893 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock1.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 893 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock1.gotoAndStop(5);
}
}
Symbol 893 MovieClip Frame 5
stop();
Symbol 894 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 894 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock2.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 894 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock2.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 894 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock2.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 894 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock2.gotoAndStop(5);
}
}
Symbol 894 MovieClip Frame 5
stop();
Symbol 895 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 895 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock4.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 895 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock4.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 895 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock4.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 895 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock4.gotoAndStop(5);
}
}
Symbol 895 MovieClip Frame 5
stop();
Symbol 896 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock3.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 896 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock3.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 896 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock3.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 896 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock3.gotoAndStop(5);
}
}
Symbol 896 MovieClip Frame 5
stop();
Symbol 897 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 897 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock8.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 897 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock8.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 897 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock8.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 897 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock8.gotoAndStop(5);
}
}
Symbol 897 MovieClip Frame 5
stop();
Symbol 898 MovieClip Frame 1
stop();
Instance of Symbol 854 MovieClip in Symbol 898 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock9.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 898 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock9.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 898 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock9.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 898 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock9.gotoAndStop(5);
}
}
Symbol 898 MovieClip Frame 5
stop();
Symbol 899 MovieClip Frame 1
stop();
stop();
Instance of Symbol 854 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock10.gotoAndStop(2);
}
}
Instance of Symbol 856 MovieClip in Symbol 899 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock10.gotoAndStop(3);
}
}
Instance of Symbol 858 MovieClip in Symbol 899 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock10.gotoAndStop(4);
}
}
Instance of Symbol 860 MovieClip in Symbol 899 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.iceblock10.gotoAndStop(5);
}
}
Symbol 899 MovieClip Frame 5
stop();
Instance of Symbol 883 MovieClip "secret1" in Symbol 901 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret1.gotoAndPlay(2);
}
}
Symbol 904 MovieClip Frame 7
_root.gotoAndStop("scorem3");
Symbol 907 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master3");
}
Symbol 909 MovieClip Frame 1
var time = _root.time;
var master3best = _root.master3best;
Symbol 909 MovieClip Frame 11
stop();
stop();
if (_root.master3key == true) {
_root.scorem3.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 909 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master3key == false) {
this.gotoAndStop(2);
}
if (_root.master3key == true) {
this.gotoAndStop(3);
}
}
Symbol 911 MovieClip Frame 10
stop();
Symbol 912 MovieClip Frame 1
stop();
Symbol 914 MovieClip Frame 10
stop();
Symbol 915 MovieClip Frame 1
stop();
Instance of Symbol 883 MovieClip "secret1" in Symbol 917 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret1.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret3" in Symbol 917 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret3.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret2" in Symbol 917 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret2.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret4" in Symbol 917 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret4.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret5" in Symbol 917 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret5.gotoAndPlay(2);
}
}
Symbol 920 MovieClip Frame 7
_root.gotoAndStop("scorem4");
Symbol 923 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master4");
}
Symbol 925 MovieClip Frame 1
var time = _root.time;
var master4best = _root.master4best;
Symbol 925 MovieClip Frame 11
stop();
stop();
if (_root.master4key == true) {
_root.scorem4.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 925 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master4key == false) {
this.gotoAndStop(2);
}
if (_root.master4key == true) {
this.gotoAndStop(3);
}
}
Instance of Symbol 883 MovieClip "secret1" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret1.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret2" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret2.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret3" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret3.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret4" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret4.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret5" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret5.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret14" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret14.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret8" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret8.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret10" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret10.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret11" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret11.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret12" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret12.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret199" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret199.gotoAndPlay(2);
}
}
Instance of Symbol 883 MovieClip "secret10" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hidden)) {
_root.wall.secret10.gotoAndPlay(2);
}
}
Symbol 930 MovieClip Frame 7
_root.gotoAndStop("scorem5");
Symbol 933 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master5");
}
Symbol 935 MovieClip Frame 1
var time = _root.time;
var master5best = _root.master5best;
Symbol 935 MovieClip Frame 11
stop();
stop();
if (_root.master5key == true) {
_root.scorem5.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 935 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master5key == false) {
this.gotoAndStop(2);
}
if (_root.master5key == true) {
this.gotoAndStop(3);
}
}
Symbol 948 MovieClip Frame 7
_root.gotoAndStop("scorem6");
Symbol 951 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master6");
}
Symbol 953 MovieClip Frame 1
var time = _root.time;
var master6best = _root.master6best;
Symbol 953 MovieClip Frame 11
stop();
if (_root.master6key == true) {
_root.scorem6.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 953 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master6key == false) {
this.gotoAndStop(2);
}
if (_root.master6key == true) {
this.gotoAndStop(3);
}
}
Symbol 960 MovieClip Frame 7
_root.gotoAndStop("scorem7");
Symbol 963 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master7");
}
Symbol 965 MovieClip Frame 1
var time = _root.time;
var master7best = _root.master7best;
Symbol 965 MovieClip Frame 11
stop();
if (_root.master7key == true) {
_root.scorem7.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 965 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master7key == false) {
this.gotoAndStop(2);
}
if (_root.master7key == true) {
this.gotoAndStop(3);
}
}
Symbol 970 MovieClip Frame 7
_root.gotoAndStop("scorem8");
Symbol 973 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master8");
}
Symbol 975 MovieClip Frame 1
var time = _root.time;
var master8best = _root.master8best;
Symbol 975 MovieClip Frame 11
stop();
if (_root.master8key == true) {
_root.scorem8.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 975 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master8key == false) {
this.gotoAndStop(2);
}
if (_root.master8key == true) {
this.gotoAndStop(3);
}
}
Symbol 980 MovieClip Frame 7
_root.gotoAndStop("scorem9");
Symbol 983 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master9");
}
Symbol 985 MovieClip Frame 1
var time = _root.time;
var master9best = _root.master9best;
Symbol 985 MovieClip Frame 11
stop();
if (_root.master9key == true) {
_root.scorem9.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 985 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master9key == false) {
this.gotoAndStop(2);
}
if (_root.master9key == true) {
this.gotoAndStop(3);
}
}
Symbol 992 MovieClip Frame 7
_root.gotoAndStop("scorem10");
Symbol 995 Button
on (release) {
clearInterval(countdown);
clearInterval(myIntervalID);
time = 0;
_parent.gotoAndStop("master10");
}
Symbol 997 MovieClip Frame 1
var time = _root.time;
var master10best = _root.master10best;
Symbol 997 MovieClip Frame 11
stop();
if (_root.master10key == true) {
_root.scorem10.keyrewardedo.gotoAndStop(2);
}
Instance of Symbol 851 MovieClip in Symbol 997 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.master10key == false) {
this.gotoAndStop(2);
}
if (_root.master10key == true) {
this.gotoAndStop(3);
}
}