Frame 1
function GameOver() {
fscommand ("108", 0);
if (vSound) {
vsGO.setPan(0);
vsGO.start();
}
if (vBonusF) {
vBonus = vSC;
vCC = cmNothing;
} else {
vBonus = 0;
vCC = cmBangAll;
}
vDialog = true;
attachMovie("_go", "wgo", 15000);
with (wgo) {
_x = (800 - _width) / 2;
_y = (600 - _height) / 2;
}
}
function SetLevel() {
var i;
if (!aa) {
vLevel = 1;
}
if (vLevel == 1) {
vLMax = 5;
} else if (vLevel == 2) {
vLMax = 3;
} else if (vLevel == 3) {
vLMax = 1;
}
_a._visible = vLevel < 2;
_state.gotoAndStop(vLevel);
i = 1;
while (vLMax >= i) {
eval ("F.bb" + i).gotoAndStop("Start");
i++;
}
i = vLMax + 1;
while (5 >= i) {
eval ("F.bb" + i).gotoAndStop("Blank");
i++;
}
vLMaxC = vLMax;
vLCur = vLMax;
}
function DecLevelStep() {
var i;
var b;
var ccc;
if (vLCur == 0) {
if (0 < vLMaxC) {
vLMaxC--;
} else {
vLMaxC = vLMax;
}
ccc = 0;
i = 0;
while (5 >= i) {
if (0 < CC[i]) {
ccc++;
}
i++;
}
ccc = 6 - ccc;
if ((vLMax - ccc) < vLMaxC) {
vLMaxC = vLMax - ccc;
if (vLMaxC < 0) {
vLMaxC = 0;
}
}
vLCur = vLMaxC;
i = 1;
while (vLMaxC >= i) {
eval ("F.bb" + i).gotoAndPlay("Show");
i++;
}
i = vLMaxC + 1;
while (5 >= i) {
eval ("F.bb" + i).gotoAndStop("Blank");
i++;
}
if (!MoveRowDown()) {
vBonusF = false;
vCC = cmGameOver;
} else {
vCC = cmBFDownCalc;
}
} else {
eval ("_root.F.bb" + vLCur).gotoAndPlay("Hide");
vLCur--;
b = false;
i = 304;
while (i < 323) {
b = 0 < BB[i].COL;
if (b) {
break;
}
i++;
}
if (b) {
vBonusF = false;
vCC = cmGameOver;
} else {
vCC = cmBHideNext;
}
}
}
function MoveRowDown() {
var r;
var c;
var i;
var ccc;
var ii;
var b;
ccc = 0;
i = 0;
while (5 >= i) {
if (0 < CC[i]) {
ccc++;
}
i++;
}
ccc = 6 - ccc;
ii = 0;
while (ccc >= ii) {
r = 15;
while (r >= 1) {
c = 1;
while (17 >= c) {
i = (r * 19) + c;
with (BB[i + 19]) {
if (COL != BB[i].COL) {
COL = BB[i].COL;
if (0 < COL) {
N.gotoAndPlay("Start" + COL);
} else {
N.gotoAndPlay(1);
}
}
}
c++;
}
r--;
}
i = 20;
while (i < 37) {
with (BB[i]) {
COL = RColor();
N.gotoAndPlay("Start" + COL);
}
i++;
}
i = 304;
while (i < 323) {
if (0 < BB[i].COL) {
return(false);
}
i++;
}
ii++;
}
return(true);
}
function ShowScore(AS, AN) {
AN.d6._visible = AS >= 1000000;
AN.d5._visible = AS >= 100000;
AN.d4._visible = AS >= 10000;
AN.d3._visible = AS >= 1000;
AN.d2._visible = AS >= 100;
AN.d1._visible = AS >= 10;
AN.d0.gotoAndStop((AS % 10) + 1);
AN.d1.gotoAndStop((int(AS / 10) % 10) + 1);
AN.d2.gotoAndStop((int(AS / 100) % 10) + 1);
AN.d3.gotoAndStop((int(AS / 1000) % 10) + 1);
AN.d4.gotoAndStop((int(AS / 10000) % 10) + 1);
AN.d5.gotoAndStop((int(AS / 100000) % 10) + 1);
AN.d6.gotoAndStop((int(AS / 1000000) % 10) + 1);
}
function RColor() {
var i;
var c;
c = 0;
i = 0;
while (i < 6) {
if (0 < CC[i]) {
CCC[c] = i + 1;
c++;
}
i++;
}
i = CCC[random(c)];
CC[i - 1]++;
return(i);
}
function BMakeNext() {
var i;
var b;
if (!aa) {
vRC--;
}
b = true;
i = 21;
while (i < 40) {
b = BB[i].COL == 0;
if (!b) {
break;
}
i++;
}
if (b) {
vBonusF = true;
vCC = cmGameOver;
return(true);
}
vBNextCol = RColor();
with (vBNext) {
_x = cXNext;
_y = cYNext;
gotoAndPlay("Show" + vBNextCol);
}
vCC = cmNothing;
fscommand ("108", 0);
}
function BMakeCurrent() {
fscommand ("107", 0);
vBCurCol = vBNextCol;
with (vBCur) {
_x = cXCur;
_y = cYCur;
gotoAndPlay("Show" + vBCurCol);
}
vCC = cmBMakeNext;
}
function FPlay() {
var i;
i = random(323);
if (0 < BB[i].COL) {
BB[i].N.gotoAndPlay("Splash" + BB[i].COL);
}
}
function Init() {
var r;
var c;
var dpt;
BB = new Array();
RB = new Array();
CC = new Array();
CCC = new Array();
NAMES = new Array();
TOPN = new Array();
TOPS = new Array();
vsBang = new Sound();
vsBang.attachSound("_sbang");
vsBang.setVolume(vVolume);
vsBang.setPan(0);
vsStart = new Sound();
vsStart.attachSound("_sstart");
vsStart.setVolume(vVolume);
vsStart.setPan(0);
vsConnect = new Sound();
vsConnect.attachSound("_sconnect");
vsConnect.setVolume(vVolume);
vsConnect.setPan(0);
vsDown = new Sound();
vsDown.attachSound("_sdown");
vsDown.setVolume(vVolume);
vsDown.setPan(0);
vsGO = new Sound();
vsGO.attachSound("_sgo");
vsGO.setVolume(vVolume);
vsGO.setPan(0);
r = 0;
while (r < 30) {
TOPN[r] = "";
TOPS[r] = 0;
r++;
}
dpt = 10;
r = 0;
while (r < 17) {
c = 0;
while (c < 19) {
BB[(r * 19) + c] = new _BB(r, c, dpt);
dpt++;
c++;
}
r++;
}
vBNext = "b" + dpt;
attachMovie("_b", vBNext, dpt);
vBNext = eval (vBNext);
with (vBNext) {
_x = cXNext;
_y = cYNext;
}
dpt++;
vBCur = "b" + dpt;
attachMovie("_b", vBCur, dpt);
vBCur = eval (vBCur);
with (vBCur) {
_x = cXCur;
_y = cYCur;
}
}
function Start(AL) {
var r;
var c;
var i;
fscommand ("108", 0);
SetLevel();
vFPS = 0;
vMPS = 0;
vRC = 0;
vRestart = false;
i = 0;
while (i < 6) {
CC[i] = 0;
i++;
}
vBCur.gotoAndStop(1);
vBNext.gotoAndStop(1);
if (((!vAS) || (AL)) || (vBS == "")) {
vSC = 0;
r = 1;
while (vStartRC >= r) {
c = 1;
while (17 >= c) {
with (BB[(r * 19) + c]) {
COL = random(6) + 1;
CC[COL - 1]++;
N.gotoAndStop("Start" + COL);
}
c++;
}
r++;
}
r = vStartRC + 1;
while (16 >= r) {
c = 1;
while (17 >= c) {
with (BB[(r * 19) + c]) {
COL = 0;
N.gotoAndStop("Blank");
}
c++;
}
r++;
}
} else {
r = 0;
while (r < 323) {
BB[r].COL = int(vBS.substr(r, 1));
if (0 < BB[r].COL) {
CC[BB[r].COL - 1]++;
BB[r].N.gotoAndStop("Start" + BB[r].COL);
} else {
BB[r].N.gotoAndStop("Blank");
}
r++;
}
}
vBS = "";
ShowScore(vSC, _sc);
vBNextCol = RColor();
with (vBNext) {
_x = cXNext;
_y = cYNext;
gotoAndStop("Start" + vBNextCol);
}
vBCurCol = RColor();
with (vBCur) {
_x = cXCur;
_y = cYCur;
gotoAndPlay("Start" + vBCurCol);
}
vCC = cmNothing;
gotoAndPlay ("Main");
}
function BCalcDelta(AAng) {
var t;
var dx;
var dy;
var x;
var y;
var b;
var r;
var c;
var i;
var lr;
var lc;
t = Math.tan((AAng * 3.141592) / 180);
if (0 < AAng) {
if (AAng >= 45) {
vDX = vDelta;
vDY = (-vDelta) / t;
} else {
vDY = -vDelta;
vDX = vDelta * t;
}
} else if (-45 >= AAng) {
vDX = -vDelta;
vDY = vDelta / t;
} else {
vDY = -vDelta;
vDX = vDelta * t;
}
vX = vBCur._x;
vY = vBCur._y;
dx = vDX;
dy = vDY;
x = vX;
y = vY;
vTC = 0;
lr = 0;
lc = 0;
while (true) {
x = x + dx;
y = y + dy;
if ((x + cR) >= ((cR + (cD * 17)) + cB)) {
vTC++;
dx = -dx;
} else if (cB >= (x - cR)) {
vTC++;
dx = -dx;
}
r = int((y - cB) / cD) + 1;
if (r % 2) {
c = int((x - cB) / cD) + 1;
} else {
c = int(((x - cB) - cR) / cD) + 1;
}
if (17 < c) {
c = 17;
} else if (c < 1) {
c = 1;
}
if (16 < r) {
continue;
}
i = (r * 19) + c;
b = cBR >= y;
if (!b) {
b = 0 < BB[i].COL;
if (b) {
r = lr;
c = lc;
}
}
if (!b) {
b = (0 < BB[i - 19].COL) && ((((y - BB[i - 19].Y) * (y - BB[i - 19].Y)) + ((x - BB[i - 19].X) * (x - BB[i - 19].X))) < cDMM);
}
if (!b) {
if (r % 2) {
b = (0 < BB[i - 20].COL) && ((((y - BB[i - 20].Y) * (y - BB[i - 20].Y)) + ((x - BB[i - 20].X) * (x - BB[i - 20].X))) < cDMM);
} else {
b = (0 < BB[i - 18].COL) && ((((y - BB[i - 18].Y) * (y - BB[i - 18].Y)) + ((x - BB[i - 18].X) * (x - BB[i - 18].X))) < cDMM);
}
}
if (!b) {
b = (0 < BB[i - 1].COL) && ((x - BB[i - 1].X) < cDM);
}
if (!b) {
b = (0 < BB[i + 1].COL) && ((BB[i + 1].X - x) < cDM);
}
if (b) {
vBBI = (r * 19) + c;
vTX = BB[vBBI].X;
vTY = BB[vBBI].Y;
if (vTC == 0) {
vTLDist = ((vX - vTX) * (vX - vTX)) + ((vY - vTY) * (vY - vTY));
}
return;
}
lr = r;
lc = c;
}
}
function BCurMove() {
var d;
var nn;
vX = vX + vDX;
vY = vY + vDY;
if (vTC == 0) {
d = ((vX - vTX) * (vX - vTX)) + ((vY - vTY) * (vY - vTY));
if ((d < cDD) || (vTLDist < d)) {
vDX = (vTX - vX) / 4;
if (Math.abs(vDX) < vDelta2) {
vDX = vTX - vX;
}
vDY = (vTY - vY) / 4;
if (Math.abs(vDY) < vDelta2) {
vDY = vTY - vY;
}
}
vTLDist = d;
}
if ((vX + cR) >= ((cR + (cD * 17)) + cB)) {
if (vSound) {
vsStart.setPan(100);
vsStart.start();
}
vTC--;
vDX = -vDX;
if (vTC == 0) {
vTLDist = ((vX - vTX) * (vX - vTX)) + ((vY - vTY) * (vY - vTY));
}
} else if (cB >= (vX - cR)) {
if (vSound) {
vsStart.setPan(-100);
vsStart.start();
}
vTC--;
vDX = -vDX;
if (vTC == 0) {
vTLDist = ((vX - vTX) * (vX - vTX)) + ((vY - vTY) * (vY - vTY));
}
}
if (((((vTX - vDelta2) < vX) && (vX < (vTX + vDelta2))) && ((vTY - vDelta2) < vY)) && (vY < (vTY + vDelta2))) {
nn = BB[vBBI].N;
BB[vBBI].N = vBCur;
BB[vBBI].COL = vBCurCol;
BB[vBBI].N._x = BB[vBBI].X;
BB[vBBI].N._y = BB[vBBI].Y;
BB[vBBI].N.gotoAndPlay("Splash" + BB[vBBI].COL);
nn._x = vXCur;
nn._y = vYCur;
vBCur = nn;
vCC = cmBRemoveCalc;
fscommand ("108", 0);
} else {
vBCur._x = vX;
vBCur._y = vY;
}
}
function BRemoveCalc(AR, AC, ACol) {
var i;
var j;
j = (AR * 19) + AC;
i = 0;
while (i < vRBC) {
if (RB[i] == j) {
return(false);
}
i++;
}
if (BB[j].COL == ACol) {
RB[vRBC] = j;
vRBC++;
} else {
return(false);
}
if (AR % 2) {
BRemoveCalc(AR - 1, AC, ACol);
BRemoveCalc(AR - 1, AC - 1, ACol);
BRemoveCalc(AR + 1, AC, ACol);
BRemoveCalc(AR + 1, AC - 1, ACol);
} else {
BRemoveCalc(AR - 1, AC, ACol);
BRemoveCalc(AR - 1, AC + 1, ACol);
BRemoveCalc(AR + 1, AC, ACol);
BRemoveCalc(AR + 1, AC + 1, ACol);
}
BRemoveCalc(AR, AC - 1, ACol);
BRemoveCalc(AR, AC + 1, ACol);
return(true);
}
function BRemove() {
var i;
var b;
if (0 < vRBC) {
vBBI = RB.Shift();
vRBC--;
BB[vBBI].N.gotoAndPlay("Bang" + BB[vBBI].COL);
if (vSound) {
vsBang.setPan(((BB[vBBI].C - 8) * 100) / 8);
vsBang.start();
}
CC[BB[vBBI].COL - 1]--;
BB[vBBI].COL = 0;
vFPS = 0;
if (vC3 >= 0) {
if (vRemove) {
vSC = vSC + ((int(vC3 / 3) + 1) * 10);
} else {
vSC = vSC + ((int(vC3 / 3) + 1) * 100);
}
vC3++;
ShowScore(vSC, _sc);
}
} else {
vPause = 5;
if (vRemove) {
vCC = cmBFRemoveCalc;
} else {
vCC = cmBHideNext;
}
}
}
function BFRemoveCalc() {
function _BFR(AI) {
if ((BB[AI].COL == 0) || (BB[AI].F == 1)) {
return(false);
}
BB[AI].F = 1;
if (int(AI / 19) % 2) {
_BFR(AI - 19);
_BFR(AI - 20);
_BFR(AI + 19);
_BFR(AI + 18);
} else {
_BFR(AI - 19);
_BFR(AI - 18);
_BFR(AI + 19);
_BFR(AI + 20);
}
_BFR(AI - 1);
_BFR(AI + 1);
return(true);
}
var i;
var r;
var c;
i = 20;
while (i < 323) {
BB[i].F = 0;
i++;
}
i = 1;
while (17 >= i) {
if ((0 < BB[19 + i].COL) && (BB[19 + i].F == 0)) {
_BFR(19 + i);
}
i++;
}
vRBC = 0;
i = 20;
while (i < 323) {
if ((0 < BB[i].COL) && (BB[i].F == 0)) {
RB[vRBC] = i;
vRBC++;
}
i++;
}
return(vRBC);
}
function _BFR(AI) {
if ((BB[AI].COL == 0) || (BB[AI].F == 1)) {
return(false);
}
BB[AI].F = 1;
if (int(AI / 19) % 2) {
_BFR(AI - 19);
_BFR(AI - 20);
_BFR(AI + 19);
_BFR(AI + 18);
} else {
_BFR(AI - 19);
_BFR(AI - 18);
_BFR(AI + 19);
_BFR(AI + 20);
}
_BFR(AI - 1);
_BFR(AI + 1);
return(true);
}
function _MainCore() {
if (0 < vMPS) {
return(0);
}
if (vMPS < 0) {
vMPS = 0;
}
if (0 < vPause) {
vPause--;
return(0);
}
if (vCC == cmBM) {
BCurMove();
} else if (vCC == cmBMCalc) {
fscommand ("107", 0);
vBCur.gotoAndPlay("Splash" + vBCurCol);
BCalcDelta(vAngle);
if (vSound) {
vsStart.setPan(0);
vsStart.start();
}
vCC = cmBM;
} else if (vCC == cmNothing) {
if ((!aa) && (0 >= vRC)) {
if (5 >= vDD) {
vRC = 10000;
} else if (14 >= vDD) {
vRC = 200 / vDD;
} else {
vRC = 1;
}
SDButton();
vDialog = true;
vRestart = false;
attachMovie("_help", "whelp", 15000);
whelp._x = (800 - whelp._width) / 2;
whelp._y = (600 - whelp._height) / 2;
}
if ((vFPS == 0) && (vBAnim)) {
FPlay();
}
} else if (vCC == cmBMakeNext) {
BMakeNext();
} else if (vCC == cmBHideNext) {
vBNext.gotoAndPlay("Hide" + vBNextCol);
vCC = cmBMakeCur;
} else if (vCC == cmBMakeCur) {
BMakeCurrent();
} else if (vCC == cmBRemoveCalc) {
vRBC = 0;
BRemoveCalc(BB[vBBI].R, BB[vBBI].C, BB[vBBI].COL);
if (vRBC < 3) {
if (vSound) {
vsConnect.setPan(((BB[vBBI].C - 8) * 100) / 8);
vsConnect.start();
}
DecLevelStep();
} else {
vC3 = 0;
vBBI = 0;
vRemove = true;
vCC = cmBRemove;
}
} else if (vCC == cmBRemove) {
BRemove();
} else if (vCC == cmBFRemoveCalc) {
BFRemoveCalc();
if (vRBC == 0) {
vCC = cmBHideNext;
} else {
vC3 = 0;
vRemove = false;
vCC = cmBRemove;
}
} else if (vCC == cmBFDownCalc) {
BFRemoveCalc();
if (vRBC == 0) {
vCC = cmBHideNext;
} else {
vC3 = -1;
vRemove = false;
vCC = cmBRemove;
}
} else if (vCC == cmGameOver) {
GameOver();
} else if (vCC == cmBangAll) {
vBBI = random(323);
if (0 < BB[vBBI].COL) {
BB[vBBI].N.gotoAndPlay("Bang" + BB[vBBI].COL);
CC[BB[vBBI].COL - 1]--;
BB[vBBI].COL = 0;
}
} else if ((vCC = cmShowName)) {
vDialog = true;
attachMovie("_en", "wen", 15000);
with (wen) {
_x = (800 - _width) / 2;
_y = (600 - _height) / 2;
}
vCC = cmNothing;
}
}
function _BB(AR, AC, ADPT) {
this.R = AR;
this.C = AC;
this.COL = 0;
this.Y = (((AR - 1) * cD) + cB) + cR;
if (AR % 2) {
this.X = (((AC - 1) * cD) + cB) + cR;
} else {
this.X = (((AC - 1) * cD) + cB) + cD;
}
this.N = "b" + ADPT;
attachMovie("_b", this.N, ADPT);
this.N = eval ("b" + ADPT);
gotoAndStop ("Blank");
this.N._x = this.X;
this.N._y = this.Y;
this.F = 0;
}
function MakeBS() {
var i;
vBS = "";
i = 0;
while (i < 323) {
vBS = vBS + BB[i].COL;
i++;
}
}
function ColorMake(AC) {
var c1;
var c2;
var c3;
var cc1;
var cc2;
var cc3;
var m;
vDColor = AC;
cc1 = (AC & 16711680) >> 16;
cc2 = (AC & 65280) >> 8;
cc3 = AC & 255;
m = 0.8;
c1 = int(cc1 * m);
if (c1 < 0) {
c1 = 0;
}
c2 = int(cc2 * m);
if (c2 < 0) {
c2 = 0;
}
c3 = int(cc3 * m);
if (c3 < 0) {
c3 = 0;
}
vDColorD = ((c1 << 16) | (c2 << 8)) | c3;
m = 0.9;
c1 = int(cc1 * m);
if (c1 < 0) {
c1 = 0;
}
c2 = int(cc2 * m);
if (c2 < 0) {
c2 = 0;
}
c3 = int(cc3 * m);
if (c3 < 0) {
c3 = 0;
}
vDColorDL = ((c1 << 16) | (c2 << 8)) | c3;
m = 1.2;
c1 = int(cc1 * m);
if (255 < c1) {
c1 = 255;
}
c2 = int(cc2 * m);
if (255 < c2) {
c2 = 255;
}
c3 = int(cc3 * m);
if (255 < c3) {
c3 = 255;
}
vDColorL = ((c1 << 16) | (c2 << 8)) | c3;
m = 1.4;
c1 = int(cc1 * m);
if (255 < c1) {
c1 = 255;
}
c2 = int(cc2 * m);
if (255 < c2) {
c2 = 255;
}
c3 = int(cc3 * m);
if (255 < c3) {
c3 = 255;
}
vDColorHL = ((c1 << 16) | (c2 << 8)) | c3;
}
function SetWCO(AN) {
var c;
c = new Color(AN + "._f");
c.setRGB(vDColor);
delete c;
c = new Color(AN + "._btl");
c.setRGB(vDColorHL);
delete c;
c = new Color(AN + "._bt");
c.setRGB(vDColorL);
delete c;
c = new Color(AN + "._bl");
c.setRGB(vDColorL);
delete c;
c = new Color(AN + "._btr");
c.setRGB(vDColorDL);
delete c;
c = new Color(AN + "._bbl");
c.setRGB(vDColorDL);
delete c;
c = new Color(AN + "._bb");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._br");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._bbr");
c.setRGB(vDColorD);
delete c;
}
function SetWCI(AN) {
var c;
c = new Color(AN + "._f");
c.setRGB(vDColor);
delete c;
c = new Color(AN + "._btl");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._bt");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._bl");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._btr");
c.setRGB(vDColorDL);
delete c;
c = new Color(AN + "._bbl");
c.setRGB(vDColorDL);
delete c;
c = new Color(AN + "._bb");
c.setRGB(vDColorL);
delete c;
c = new Color(AN + "._br");
c.setRGB(vDColorL);
delete c;
c = new Color(AN + "._bbr");
c.setRGB(vDColorHL);
delete c;
}
function SetWCR(AN) {
var c;
c = new Color(AN + "._btl");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._btr");
c.setRGB(vDColorL);
delete c;
c = new Color(AN + "._bbl");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._bbr");
c.setRGB(vDColorL);
delete c;
}
function SetWBarC(AN) {
var c;
c = new Color(AN + "._t");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._b");
c.setRGB(vDColorL);
delete c;
}
function SetWRectC(AN) {
var c;
c = new Color(AN + "._t");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._b");
c.setRGB(vDColorL);
delete c;
c = new Color(AN + "._l");
c.setRGB(vDColorD);
delete c;
c = new Color(AN + "._r");
c.setRGB(vDColorL);
delete c;
}
function Set3DDC(AN) {
c = new Color(eval (AN + "._b"));
c.setRGB(vDColorL);
delete c;
c = new Color(eval (AN + "._m"));
c.setRGB(vDColor);
delete c;
c = new Color(eval (AN + "._t"));
c.setRGB(vDColorD);
delete c;
}
function Set3DUC(AN) {
c = new Color(eval (AN + "._b"));
c.setRGB(vDColorD);
delete c;
c = new Color(eval (AN + "._m"));
c.setRGB(vDColor);
delete c;
c = new Color(eval (AN + "._t"));
c.setRGB(vDColorL);
delete c;
}
function SetMainWC() {
var c;
SetWCO("F");
SetWCI("F.B");
SetWCR("F._next");
SetWCR("F._cur");
SetWCR("F.bb1._b");
SetWCR("F.bb2._b");
SetWCR("F.bb3._b");
SetWCR("F.bb4._b");
SetWCR("F.bb5._b");
Set3DDC("lbA");
Set3DUC("lbH");
Set3DUC("lbD");
}
function TopAdd(AN, AS) {
var i;
var j;
i = 0;
while (i < 10) {
if (AS >= TOPS[i + ((vLevel - 1) * 10)]) {
j = 9 + ((vLevel - 1) * 10);
while ((i + ((vLevel - 1) * 10)) < j) {
TOPN[j] = TOPN[j - 1];
TOPS[j] = TOPS[j - 1];
j--;
}
TOPN[i + ((vLevel - 1) * 10)] = AN;
TOPS[i + ((vLevel - 1) * 10)] = AS;
return(true);
}
i++;
}
return(false);
}
function MakeN() {
var i;
vNS = "";
i = 0;
while (i < vNamesC) {
vNS = vNS + (NAMES[i] + "|");
i++;
}
}
function GetN() {
var i;
vNamesC = 0;
do {
if (0 >= vNS.indexOf("|")) {
break;
}
i = vNS.indexOf("|");
NAMES[vNamesC] = vNS.substr(0, i);
vNS = vNS.substr(i + 1);
vNamesC++;
} while (100 >= vNamesC);
vNS = "";
}
function MakeT() {
var i;
vTS = "";
i = 0;
while (i < 30) {
vTS = vTS + (((TOPN[i] + "|") + TOPS[i]) + "|");
i++;
}
}
function GetT() {
var i;
var j;
if (vTS.length == 0) {
return(0);
}
i = 0;
while (i < 30) {
j = vTS.indexOf("|");
TOPN[i] = vTS.substr(0, j);
vTS = vTS.substr(j + 1);
j = vTS.indexOf("|");
TOPS[i] = int(vTS.substr(0, j));
vTS = vTS.substr(j + 1);
i++;
}
}
function SDButton() {
if (vSound) {
vsDown.setPan(0);
vsDown.start();
}
}
function SetVol() {
vsBang.setVolume(vVolume);
vsStart.setVolume(vVolume);
vsConnect.setVolume(vVolume);
vsDown.setVolume(vVolume);
vsGO.setVolume(vVolume);
}
function Crypto(st) {
var sum1 = 0;
var sum2 = 0;
var i = 0;
while (i < st.length) {
sum1 = sum1 + st.charCodeAt(i);
sum2 = sum2 + (st.charCodeAt(i) ^ 175);
i++;
}
sum1 = sum1 % 256;
sum2 = sum2 % 256;
st = (String.fromCharCode(sum1) + String.fromCharCode(sum2)) + st;
var cryptSt = "";
var b0 = 193;
var i = 0;
while (i < st.length) {
var b = st.charCodeAt(i);
var CryptB = (b ^ b0);
CryptB = CryptB.toString();
var len = CryptB.length;
var j = 0;
while (j < (3 - len)) {
CryptB = "0" + CryptB;
j++;
}
cryptSt = cryptSt + CryptB;
b0 = b;
i++;
}
return(cryptSt);
}
iDownload.stop();
iIndexFrame = 0;
cB = 24;
cD = 32;
cDD = cD * cD;
cDM = cD * 0.75;
cDMM = cDM * cDM;
cR = 16;
cBR = cB + cR;
cXNext = 40;
cYNext = 552;
cXCur = 296;
cYCur = 552;
cmNothing = 0;
cmBMakeNext = 10;
cmBMakeCur = 11;
cmBHideNext = 12;
cmBMCalc = 14;
cmBM = 15;
cmBRemoveCalc = 16;
cmBRemove = 17;
cmBFRemoveCalc = 18;
cmBDecLevelStep = 19;
cmBFDownCalc = 20;
cmGameOver = 21;
cmBangAll = 22;
cmShowName = 23;
cmShowTop = 24;
vBCur = "";
vBCurCol = -1;
vBNext = "";
vBNextCol = -1;
vMPS = 0;
vFPS = 0;
vCC = cmNothing;
vEnableMov = false;
vBRC = 0;
vRemove = true;
vPause = 0;
vSC = 0;
vBonus = 0;
vBonusF = false;
vC3 = 1;
vStartRC = 9;
vDialog = false;
vRestart = false;
vRC = 0;
vParentDialog = false;
vAngle = 0;
vDelta = 6;
vDelta2 = vDelta / 6;
vDX = 0;
vDY = 0;
vX = 0;
vY = 0;
vBBI = 0;
vTX = 0;
vTY = 0;
vTC = 0;
vTLDist = 0;
vLMax = 5;
vLMaxC = 5;
vLCur = 5;
vLevel = 1;
vAS = true;
vDColor = 12632319 /* 0xC0C0FF */;
vBAnim = false;
vSound = true;
vLQ = false;
vVolume = 20;
vBS = "";
vNS = "";
vTS = "";
vRR = "Bubble Shooter";
vDD = 0;
bbb = true;
aa = true;
vDColorL = 0;
vDColorD = 0;
vDColorDL = 0;
vDColorHL = 0;
vNamesC = 0;
ColorMake(vDColor);
SetMainWC();
Init();
attachMovie("_splash", "ws", 15000);
ws._x = 400;
ws._y = 200;
if (bbb) {
removeMovieClip("ws");
Start(true);
} else {
gotoAndStop ("LB");
}
Instance of Symbol 231 MovieClip "F" in Frame 1
/* no clip actions */
Instance of Symbol 233 MovieClip "_m" in Frame 1
onClipEvent (mouseMove) {
_parent.vAngle = 90 + ((Math.atan2(this._ymouse, this._xmouse) * 180) / Math.PI);
if (78 < _parent.vAngle) {
_parent.vAngle = 78;
} else if (_parent.vAngle < -78) {
_parent.vAngle = -78;
}
_parent._a._rotation = _parent.vAngle;
fscommand ("105", 0);
}
onClipEvent (mouseDown) {
if ((((_parent._xmouse >= 24) && (584 >= _parent._xmouse)) && (_parent._ymouse >= 24)) && (504 >= _parent._ymouse)) {
if ((_parent.vCC == _parent.cmNothing) && (!_parent.vDialog)) {
_parent.vCC = _parent.cmBMCalc;
}
} else {
fscommand ("104", 0);
}
}
onClipEvent (mouseUp) {
fscommand ("106", 0);
}
Instance of Symbol 314 MovieClip "iDownload" in Frame 1
onClipEvent (mouseMove) {
trace((((((("Mouse:" + _root._xmouse) + " ") + _root._ymouse) + " Banner:") + this._xmouse) + " ") + this._ymouse);
if ((((_root._xmouse >= 597) && (785 >= _root._xmouse)) && (_root._ymouse >= 272)) && (485 >= _root._ymouse)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Frame 2
_MainCore();
Frame 3
_MainCore();
gotoAndPlay ("Main");
Frame 4
_root.vSC = int(_root.vSC);
_root.vBAnim = _root.vBAnim != "false";
_root.vAS = _root.vAS != "false";
_root.vSound = _root.vSound != "false";
_root.vLQ = _root.vLQ == "true";
if (_root.vLQ) {
_quality = "MEDIUM";
} else {
_quality = "HIGH";
}
_root.aa = _root.aa == "true";
_root.vDD = int(_root.vDD);
_root.ColorMake(_root.vDColor);
_root.GetN();
_root.GetT();
_root.SetMainWC();
_root.SetVol();
removeMovieClip("ws");
_root.Start(false);
Frame 5
whelp.dtR = _root.vRR;
_root.aa = _root.aa == "true";
Symbol 38 MovieClip [_b] Frame 1
stop();
Symbol 38 MovieClip [_b] Frame 2
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 10
_root.vMPS--;
stop();
Symbol 38 MovieClip [_b] Frame 11
_parent.vFPS++;
Symbol 38 MovieClip [_b] Frame 23
_parent.vFPS--;
stop();
Symbol 38 MovieClip [_b] Frame 24
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 28
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 29
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 37
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 38
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 46
_root.vMPS--;
stop();
Symbol 38 MovieClip [_b] Frame 47
_parent.vFPS++;
Symbol 38 MovieClip [_b] Frame 59
_parent.vFPS--;
stop();
Symbol 38 MovieClip [_b] Frame 60
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 64
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 65
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 73
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 74
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 82
_root.vMPS--;
stop();
Symbol 38 MovieClip [_b] Frame 83
_parent.vFPS++;
Symbol 38 MovieClip [_b] Frame 95
_parent.vFPS--;
stop();
Symbol 38 MovieClip [_b] Frame 96
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 100
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 101
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 109
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 110
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 118
_root.vMPS--;
stop();
Symbol 38 MovieClip [_b] Frame 119
_parent.vFPS++;
Symbol 38 MovieClip [_b] Frame 131
_parent.vFPS--;
stop();
Symbol 38 MovieClip [_b] Frame 132
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 136
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 137
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 145
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 146
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 154
_root.vMPS--;
stop();
Symbol 38 MovieClip [_b] Frame 155
_parent.vFPS++;
Symbol 38 MovieClip [_b] Frame 167
_parent.vFPS--;
stop();
Symbol 38 MovieClip [_b] Frame 168
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 172
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 173
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 181
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 182
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 190
_root.vMPS--;
stop();
Symbol 38 MovieClip [_b] Frame 191
_parent.vFPS++;
Symbol 38 MovieClip [_b] Frame 203
_parent.vFPS--;
stop();
Symbol 38 MovieClip [_b] Frame 204
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 208
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 38 MovieClip [_b] Frame 209
_root.vMPS++;
Symbol 38 MovieClip [_b] Frame 217
_root.vMPS--;
gotoAndStop ("Blank");
Symbol 56 MovieClip [_splash] Frame 1
_parent.SetWCO(F);
_parent.Set3DDC(logo1);
Symbol 56 MovieClip [_splash] Frame 10
_parent.Set3DUC(logo2);
Symbol 56 MovieClip [_splash] Frame 20
_parent.Set3DUC(logo3);
Symbol 56 MovieClip [_splash] Frame 40
fscommand ("10", 0);
stop();
Symbol 61 MovieClip Frame 20
gotoAndPlay (1);
Symbol 63 Button
on (press) {
startDrag ("", false, 16, 0, 144, 0);
}
on (release) {
_parent._parent.SDrag(_parent._name);
stopDrag();
}
Symbol 66 MovieClip Frame 20
gotoAndPlay (1);
Symbol 67 Button
on (press) {
startDrag ("", false, 16, 0, 144, 0);
}
on (release) {
_parent._parent.SDrag(_parent._name);
stopDrag();
}
Symbol 70 MovieClip Frame 20
gotoAndPlay (1);
Symbol 71 Button
on (press) {
startDrag ("", false, 16, 0, 144, 0);
}
on (release) {
_parent._parent.SDrag(_parent._name);
stopDrag();
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 11
stop();
Symbol 75 MovieClip Frame 20
gotoAndStop ("Start");
Symbol 76 Button
on (release) {
if (1 < rN._currentframe) {
if (rE._currentframe == 1) {
rE.gotoAndPlay("Hide");
} else if (rM._currentframe == 1) {
rM.gotoAndPlay("Hide");
}
rN.gotoAndPlay("Show");
}
}
Symbol 77 Button
on (release) {
_parent.attachMovie("_reg", "wreg", 15100);
_parent.wreg._x = (800 - _parent.wreg._width) / 2;
_parent.wreg._y = (600 - _parent.wreg._height) / 2;
}
Symbol 78 Button
on (release) {
_parent.attachMovie("_reg", "wreg", 15100);
_parent.wreg._x = (800 - _parent.wreg._width) / 2;
_parent.wreg._y = (600 - _parent.wreg._height) / 2;
}
Symbol 90 MovieClip Frame 20
gotoAndPlay (1);
Symbol 91 MovieClip Frame 5
stop();
Symbol 92 Button
on (release) {
_parent.SDButton();
BCancel();
_parent.vDialog = false;
_root.vParentDialog = false;
removeMovieClip(this);
}
Symbol 94 Button
on (press) {
startDrag ("", false, 0, 0, 800, 600);
}
on (release) {
stopDrag();
}
Symbol 98 MovieClip Frame 20
gotoAndPlay (1);
Symbol 103 MovieClip Frame 5
stop();
Symbol 104 Button
on (release) {
var i;
_parent.SDButton();
_parent.vVolume = ((tbV._bb._x - 16) * 100) / 64;
_parent.SetVol();
if (this.rN._currentframe == 1) {
i = 1;
} else if (this.rE._currentframe == 1) {
i = 2;
} else if (this.rM._currentframe == 1) {
i = 3;
}
i = 1;
if (i != _parent.vLevel) {
_parent.vLevel = i;
_parent.Start(true);
}
_parent.vAS = cbAS._currentframe == 1;
_parent.vBAnim = cbBA._currentframe == 1;
_parent.vSound = cbS._currentframe == 1;
_parent.vLQ = cbLQ._currentframe == 1;
if (_parent.vLQ) {
_quality = "MEDIUM";
} else {
_quality = "HIGH";
}
_parent.vDialog = false;
_root.vParentDialog = false;
removeMovieClip(this);
}
Symbol 105 Button
on (release) {
_parent.attachMovie("_reg", "wreg", 15100);
_parent.wreg._x = (800 - _parent.wreg._width) / 2;
_parent.wreg._y = (600 - _parent.wreg._height) / 2;
}
Symbol 107 Button
on (release) {
if (cbBA._currentFrame == 1) {
cbBA.gotoAndPlay("Hide");
} else {
cbBA.gotoAndPlay("Show");
}
}
Symbol 109 Button
on (release) {
if (cbS._currentFrame == 1) {
cbS.gotoAndPlay("Hide");
} else {
cbS.gotoAndPlay("Show");
}
}
Symbol 111 MovieClip Frame 20
gotoAndPlay (1);
Symbol 112 Button
on (press) {
startDrag ("", false, 16, 0, 80, 0);
}
on (release) {
_parent._parent.TrackValues();
stopDrag();
}
Symbol 115 Button
on (release) {
_parent.attachMovie("_reg", "wreg", 15100);
_parent.wreg._x = (800 - _parent.wreg._width) / 2;
_parent.wreg._y = (600 - _parent.wreg._height) / 2;
}
Symbol 117 MovieClip [_setup] Frame 1
function InitColors() {
_parent.SetWCO(this.F);
_parent.SetWBarC(this.tbR);
_parent.SetWBarC(this.tbG);
_parent.SetWBarC(this.tbB);
_parent.SetWBarC(this.tbV);
_parent.SetWCR(this.rN._b);
_parent.SetWCR(this.rE._b);
_parent.SetWCR(this.rM._b);
_parent.SetWCR(this.cbAS._b);
_parent.SetWCR(this.cbBA._b);
_parent.SetWCR(this.cbS._b);
_parent.SetWCR(this.cbLQ._b);
_parent.SetWRectC(this.b1);
_parent.SetWRectC(this.b2);
_parent.SetWRectC(this.b3);
}
function SDrag(AN) {
if (((AN == "tbR") || (AN == "tbG")) || (AN == "tbB")) {
_parent.vDColor = ((int((((this.tbR._bb._x - 16) / 128) * 255) + 0.5) << 16) + (int((((this.tbG._bb._x - 16) / 128) * 255) + 0.5) << 8)) + int((((this.tbB._bb._x - 16) / 128) * 255) + 0.5);
_parent.ColorMake(_parent.vDColor);
_parent.SetMainWC();
InitColors();
}
}
function BCancel() {
_parent.ColorMake(vvDColor);
_parent.SetMainWC();
InitColors();
}
vvDColor = _parent.vDColor;
InitColors();
Symbol 122 Button
on (release) {
var i;
_parent.SDButton();
i = _parent.vSC + _parent.vBonus;
if ((0 < i) && (_parent.TOPS[9] < i)) {
_parent.vCC = _parent.cmShowName;
removeMovieClip("");
} else {
_parent.vDialog = false;
_parent.Start(true);
removeMovieClip("");
}
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 140 MovieClip [_go] Frame 1
_parent.SetWCO(this.F);
_parent.SetWRectC(this.b1);
_parent.SetWBarC(this.d1);
_parent.ShowScore(_parent.vSC, this.sc1);
_parent.ShowScore(_parent.vBonus, this.sc2);
_parent.ShowScore(_parent.vSC + _parent.vBonus, this.sc3);
Symbol 146 Button
on (release) {
_parent.SDButton();
_parent.vDialog = false;
_parent.Start();
removeMovieClip("");
}
Symbol 147 Button
on (release) {
trace("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
var s;
_parent.SDButton();
s = new String(lb.E);
if (s.length == 0) {
lb.E = "Anonimus";
}
delete s;
lb.NameAdd();
_parent.vRestart = true;
_parent.TopAdd(lb.E, _parent.vSC + _parent.vBonus);
_parent.vDialog = true;
_root.attachMovie("_top", "wtop", 15000);
trace("========================================================================================");
}
Symbol 152 MovieClip Frame 20
gotoAndPlay (1);
Symbol 157 MovieClip Frame 5
stop();
Symbol 158 Button
on (release) {
if (5 >= _parent._parent.vNamesC) {
gotoAndStop(2 + _parent._parent.vNamesC);
} else {
gotoAndStop (8);
}
}
Symbol 163 Button
on (rollOver, dragOver) {
_parent.s._y = this._y;
_parent.s._visible = true;
}
on (rollOut, dragOut) {
_parent.s._visible = false;
}
on (release) {
_parent.E = E;
_parent.gotoAndStop(2);
}
Symbol 165 MovieClip Frame 20
gotoAndPlay (1);
Symbol 166 Button
on (release) {
gotoAndStop (2);
}
Symbol 167 Button
on (release) {
gotoAndStop (2);
}
Symbol 168 Button
on (release) {
if (_xmouse < _bb._x) {
_parent.vvIndex = _parent.vvIndex - 4;
if (_parent.vvIndex < 0) {
_parent.vvIndex = 0;
_bb._x = 16;
}
} else {
_parent.vvIndex = _parent.vvIndex + 4;
if ((_parent._parent._parent.vNamesC - 5) < _parent.vvIndex) {
_parent.vvIndex = _parent._parent._parent.vNamesC - 5;
_bb._x = 92;
}
}
_parent.SetValues();
_parent.SetTrack();
}
Symbol 169 Button
on (press) {
startDrag ("", false, 16, 0, 92, 0);
}
on (release) {
_parent._parent.TrackValues();
stopDrag();
}
Symbol 172 MovieClip Frame 1
function NameAdd() {
var i;
var j;
i = 0;
while (i < _parent._parent.vNamesC) {
if (_parent._parent.NAMES[i] < E) {
} else {
if (E == _parent._parent.NAMES[i]) {
return(i);
}
if (E < _parent._parent.NAMES[i]) {
j = _parent._parent.vNamesC;
while (j >= i) {
_parent._parent.NAMES[j + 1] = _parent._parent.NAMES[j];
j--;
}
_parent._parent.NAMES[i] = E;
_parent._parent.vNamesC++;
return(i);
}
}
i++;
}
_parent._parent.NAMES[_parent._parent.vNamesC] = E;
_parent._parent.vNamesC++;
}
function SetValues() {
var i;
i = 0;
while ((i + vvIndex) < _parent._parent.vNamesC) {
Set(("e" + (i + 1)) + ".E", _parent._parent.NAMES[i + vvIndex]);
i++;
}
}
function SetElements(AV) {
var i;
var c;
i = 1;
while (AV >= i) {
c = new Color(("e" + i) + ".F");
c.setRGB(_parent._parent.vDColor);
delete c;
c = new Color(("e" + i) + "._l");
c.setRGB(_parent._parent.vDColorL);
delete c;
c = new Color(("e" + i) + "._r");
c.setRGB(_parent._parent.vDColorD);
delete c;
i++;
}
c = new Color(bb);
c.setRGB(_parent._parent.vDColorD);
delete c;
c = new Color(tb._b);
c.setRGB(_parent._parent.vDColorD);
delete c;
c = new Color(tb._t);
c.setRGB(_parent._parent.vDColorL);
delete c;
bb._y = (AV + 1) * 24;
SetValues();
SetTrack();
}
function SetTrack() {
var sc;
if (5 >= _parent._parent.vNamesC) {
return(0);
}
sc = 76 / (_parent._parent.vNamesC - 5);
tb._bb._x = (sc * vvIndex) + 16;
}
function TrackValues() {
var sc;
var i;
sc = (_parent._parent.vNamesC - 5) / 76;
i = int(((tb._bb._x - 16) * sc) + 0.5);
if (_parent._parent.vNamesC < (i + 5)) {
i = _parent._parent.vNamesC - 5;
}
vvIndex = i;
SetValues();
}
SetElements(5);
_parent._parent.SetWRectC(s);
s._visible = false;
vvIndex = 0;
stop();
Symbol 172 MovieClip Frame 2
s._visible = false;
Symbol 172 MovieClip Frame 3
SetElements(1);
Symbol 172 MovieClip Frame 4
SetElements(2);
Symbol 172 MovieClip Frame 5
SetElements(3);
Symbol 172 MovieClip Frame 6
SetElements(4);
Symbol 172 MovieClip Frame 7
SetElements(5);
Symbol 172 MovieClip Frame 8
SetElements(5);
Symbol 173 MovieClip [_en] Frame 1
_parent.SetWCO(this.F);
_parent.SetWRectC(this.b1);
_parent.SetWRectC(this.lb._b);
if (_parent.vNamesC == 0) {
lb.gotoAndStop(1);
} else {
lb.E = _parent.NAMES[0];
lb.gotoAndStop(2);
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 20
gotoAndPlay (1);
Symbol 188 Button
on (release) {
_parent.SDButton();
_parent.vDialog = false;
if (_parent.vRestart) {
_parent.Start(true);
}
removeMovieClip("");
}
Symbol 190 MovieClip Frame 19
gotoAndPlay (1);
Symbol 191 Button
on (release) {
var Level = _root.vLevel;
var Name = _root.TOPN[0];
var Score = _root.TOPS[0];
if (Level == 2) {
Name = _root.TOPN[10];
Score = _root.TOPS[10];
}
if (Level == 3) {
Name = _root.TOPN[20];
Score = _root.TOPS[20];
}
var stSend = ((((((((Score + "\t") + Level) + "\t") + Name) + "\t") + "bub") + "\t") + "exe");
if (0 < Score) {
getURL ("http://absolutist.com/cgi-bin/gameres.pl?e=" + _root.Crypto(stSend), "_blank");
}
}
Symbol 192 MovieClip [_top] Frame 1
function IE() {
var i;
var c;
i = 1;
while (10 >= i) {
c = new Color(("e" + i) + "._l");
c.setRGB(_parent.vDColorD);
delete c;
c = new Color(("e" + i) + "._l1");
c.setRGB(_parent.vDColorD);
delete c;
c = new Color(("e" + i) + "._r");
c.setRGB(_parent.vDColorL);
delete c;
c = new Color(("e" + i) + "._r1");
c.setRGB(_parent.vDColorL);
delete c;
c = new Color(("e" + i) + "._t");
c.setRGB(_parent.vDColorD);
delete c;
c = new Color(("e" + i) + "._b");
c.setRGB(_parent.vDColorL);
delete c;
i++;
}
i = 1;
while (10 >= i) {
eval ("e" + i).N = _parent.TOPN[(i - 1) + ((_parent.vLevel - 1) * 10)];
if (_parent.TOPS[(i - 1) + ((_parent.vLevel - 1) * 10)]) {
eval ("e" + i).S = _parent.TOPS[(i - 1) + ((_parent.vLevel - 1) * 10)];
} else {
eval ("e" + i).S = "";
}
i++;
}
}
trace((("_parent._height=" + _root._height) + " _parent._width=") + _root._width);
this._x = (_root._width - this._width) / 2;
this._y = (_root._height - this._height) / 2;
_H.gotoAndStop(_parent.vLevel);
_parent.SetWCO(F);
_parent.SetWRectC(b1);
IE();
Symbol 201 MovieClip Frame 20
gotoAndPlay (1);
Symbol 202 Button
on (release) {
getURL ("http://absolutist.com/bubbles/index.shtml#register", "_top");
}
Symbol 204 MovieClip Frame 20
gotoAndPlay (1);
Symbol 205 Button
on (release) {
_parent._parent.attachMovie("_reg", "wreg", 15100);
_parent._parent.wreg._x = (800 - _parent._parent.wreg._width) / 2;
_parent._parent.wreg._y = (600 - _parent._parent.wreg._height) / 2;
}
Symbol 208 Button
on (release) {
_parent.SDButton();
_parent.vDialog = false;
removeMovieClip("");
}
Symbol 213 Button
on (press) {
getURL ("http://absolutist.com/bubbles_premium/?r=bubblesonline", "_blank");
trace("http://absolutist.com/bubbles_premium/?r=bubblesonline");
}
Symbol 214 MovieClip [_help] Frame 1
dtR = _parent.vRR;
_r._visible = !_parent.aa;
_parent.SetWCO(F);
Symbol 222 Button
on (release) {
_parent.SDButton();
if (!_root.vParentDialog) {
_parent.vDialog = false;
}
removeMovieClip("");
}
Symbol 224 Button
on (press) {
getURL ("http://absolutist.com/bubbles_premium/?r=bubblesonline", "_blank");
trace("http://absolutist.com/bubbles_premium/?r=bubblesonline");
}
Symbol 225 MovieClip [_reg] Frame 1
_parent.SetWCO(this.F);
_parent.SetWRectC(this.b1);
_parent.SetWRectC(this.b2);
_parent.SetWRectC(this.b3);
Symbol 230 MovieClip Frame 1
_b._visible = true;
stop();
Symbol 230 MovieClip Frame 11
_b._visible = false;
stop();
Symbol 230 MovieClip Frame 12
b._visible = true;
Symbol 230 MovieClip Frame 20
gotoAndStop ("Start");
Symbol 235 MovieClip Frame 20
gotoAndPlay (1);
Symbol 236 Button
on (release) {
if (vDialog) {
return(undefined);
}
_root.vDialog = true;
attachMovie("_reg", "wreg", 15100);
wreg._x = (800 - wreg._width) / 2;
wreg._y = (600 - wreg._height) / 2;
}
Symbol 238 MovieClip Frame 20
gotoAndPlay (1);
Symbol 239 Button
on (release) {
if (vDialog) {
return(undefined);
}
_root.vDialog = true;
attachMovie("_reg", "wreg", 15100);
wreg._x = (800 - wreg._width) / 2;
wreg._y = (600 - wreg._height) / 2;
}
Symbol 241 MovieClip Frame 20
gotoAndPlay (1);
Symbol 242 Button
on (release) {
if (vDialog) {
return(undefined);
}
SDButton();
Start(true);
}
on (rollOver, dragOver) {
vFPS = 1000;
}
on (rollOut, dragOut) {
vFPS = 0;
}
Symbol 244 MovieClip Frame 20
gotoAndPlay (1);
Symbol 249 MovieClip Frame 5
stop();
Symbol 250 Button
on (rollOver, dragOver) {
vFPS = 1000;
}
on (rollOut, dragOut) {
vFPS = 0;
}
on (release) {
if (vDialog) {
return(undefined);
}
SDButton();
_root.vDialog = true;
_root.vParentDialog = true;
attachMovie("_setup", "wsetup", 15000);
with (wsetup) {
_x = (800 - _width) / 2;
_y = (600 - _height) / 2;
tbR._bb._x = ((((_parent.vDColor & 16711680) >> 16) * 128) / 255) + 16;
tbG._bb._x = ((((_parent.vDColor & 65280) >> 8) * 128) / 255) + 16;
tbB._bb._x = (((_parent.vDColor & 255) * 128) / 255) + 16;
tbV._bb._x = ((_parent.vVolume * 64) / 100) + 16;
if (_parent.vLevel == 1) {
rN.gotoAndStop("Start");
rE.gotoAndStop("Blank");
rM.gotoAndStop("Blank");
} else if (_parent.vLevel == 2) {
rN.gotoAndStop("Blank");
rE.gotoAndStop("Start");
rM.gotoAndStop("Blank");
} else if (_parent.vLevel == 3) {
rN.gotoAndStop("Blank");
rE.gotoAndStop("Blank");
rM.gotoAndStop("Start");
}
cbAS.gotoAndStop("Blank");
if (_parent.vBAnim) {
cbBA.gotoAndStop("Start");
} else {
cbBA.gotoAndStop("Blank");
}
if (_parent.vSound) {
cbS.gotoAndStop("Start");
} else {
cbS.gotoAndStop("Blank");
}
if (_parent.vLQ) {
cbLQ.gotoAndStop("Start");
} else {
cbLQ.gotoAndStop("Blank");
}
}
}
Symbol 253 MovieClip Frame 5
stop();
Symbol 254 Button
on (rollOver, dragOver) {
vFPS = 1000;
}
on (rollOut, dragOut) {
vFPS = 0;
}
on (release) {
if (vDialog) {
return(undefined);
}
SDButton();
vDialog = true;
vRestart = false;
attachMovie("_help", "whelp", 15000);
whelp._x = (800 - whelp._width) / 2;
whelp._y = (600 - whelp._height) / 2;
}
Symbol 256 MovieClip Frame 20
gotoAndPlay (1);
Symbol 257 Button
on (release) {
if (vDialog) {
return(undefined);
}
_root.vDialog = true;
attachMovie("_reg", "wreg", 15100);
wreg._x = (800 - wreg._width) / 2;
wreg._y = (600 - wreg._height) / 2;
}
Symbol 258 MovieClip Frame 20
gotoAndPlay (1);
Symbol 259 Button
on (release) {
if (vDialog) {
return(undefined);
}
_root.vDialog = true;
attachMovie("_reg", "wreg", 15100);
wreg._x = (800 - wreg._width) / 2;
wreg._y = (600 - wreg._height) / 2;
}
Symbol 261 MovieClip Frame 20
gotoAndPlay (1);
Symbol 262 Button
on (release) {
if (vDialog) {
return(undefined);
}
if (_root.vCC != 15) {
SDButton();
vDialog = true;
vRestart = false;
attachMovie("_top", "wtop", 15000);
}
}
Symbol 264 MovieClip Frame 20
gotoAndPlay (1);
Symbol 265 MovieClip Frame 5
stop();
Symbol 266 Button
on (rollOver, dragOver) {
vFPS = 1000;
}
on (rollOut, dragOut) {
vFPS = 0;
}
on (release) {
getURL ("http://absolutist.com/online/?r=bublesonline", "_blank");
trace("http://absolutist.com/online/?r=bublesonline");
SDButton();
}
Symbol 270 MovieClip Frame 1
stop();
Symbol 276 Button
on (press) {
getURL ("http://absolutist.com/bubbles_premium/?r=bubblesonline", "_blank");
trace("http://absolutist.com/bubbles_premium/?r=bubblesonline");
}
Symbol 281 Button
on (release) {
getURL ("http://absolutist.com/?r=bublesonline", "_blank");
trace("http://absolutist.com/?r=bublesonline");
}
Symbol 315 Button
on (release) {
getURL ("http://absolutist.com/bubbles_premium/", "_blank");
}