Frame 1
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
prel.gotoAndStop(tgPrel);
if (b1 >= b2) {
gotoAndPlay ("intro");
}
Frame 4
if (Math.round(b1 / 1024) <= 35) {
gotoAndPlay ("loop1");
}
Frame 5
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
tg = tgprel - 1;
if (tg <= 9) {
procent = "0" + tg;
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 9
if (Math.round(b1 / 1024) <= 100) {
gotoAndPlay ("loop2");
}
Frame 11
b1 = _root.getBytesLoaded();
b2 = _root.getBytesTotal();
tgPrel = 1 + Math.round((b1 * 100) / b2);
tg = tgPrel - 2;
if (tgPrel <= 9) {
procent = "0" + tg;
trace(procent);
} else {
procent = tg;
}
prel.gotoAndStop(tgPrel);
Frame 14
if (b1 < b2) {
gotoAndPlay ("loop3");
}
Frame 15
procent = "--";
prel.gotoAndStop(100);
Frame 175
stop();
Instance of Symbol 223 MovieClip "butoane" in Frame 175
//component parameters
onClipEvent (initialize) {
wynume = "MatchTheBugs";
wyculoare = 14828545 /* 0xE24401 */;
wyasezare = "Vertical";
wyaliniere = "Stanga";
wypozitie = "Jos";
wyinstructions = true;
}
Instance of Symbol 252 MovieClip "instructions" in Frame 175
onClipEvent (load) {
this._visible = false;
}
Frame 176
stop();
var score = 0;
((bounce = new Sound(this))).attachSound("bounce");
((catchSnd2 = new Sound(this))).attachSound("catch");
((catchSnd1 = new Sound(this))).attachSound("catch1");
((click = new Sound(this))).attachSound("click");
((vanish1 = new Sound(this))).attachSound("vanish1");
((beep = new Sound(this))).attachSound("beep");
((fallendSnd = new Sound(this))).attachSound("fallend");
((vanish3 = new Sound(this))).attachSound("vanish3");
((vanish2 = new Sound(this))).attachSound("vanish2");
((vanish6 = new Sound(this))).attachSound("vanish6");
((curtain = new Sound(this))).attachSound("curtain");
((bepbeep = new Sound(this))).attachSound("bepbeep");
((buu = new Sound(this))).attachSound("buu");
((select = new Sound(this))).attachSound("select");
((fallSnd = new Sound(this))).attachSound("fallSnd");
((pipo1 = new Sound(this))).attachSound("pipo1");
((pipo2 = new Sound(this))).attachSound("pipo2");
((piyo1 = new Sound(this))).attachSound("piyo1");
((piyo2 = new Sound(this))).attachSound("piyo2");
((piyo3 = new Sound(this))).attachSound("piyo3");
((up1 = new Sound(this))).attachSound("up1");
((up2 = new Sound(this))).attachSound("up2");
((up3 = new Sound(this))).attachSound("up3");
((up4 = new Sound(this))).attachSound("up4");
((notime = new Sound(this))).attachSound("notime");
((spvanish = new Sound(this))).attachSound("spvanish");
((pyoyon = new Sound(this))).attachSound("pyoyon");
((bomsnd = new Sound(this))).attachSound("bomsnd");
((clearsnd = new Sound(this))).attachSound("clearSnd");
((devil = new Sound(this))).attachSound("devil");
((angel = new Sound(this))).attachSound("angel");
((ting = new Sound(this))).attachSound("ting");
sndmode = 1;
Frame 181
function btchange(num) {
var _local3 = _root;
var _local2 = 0;
while (_local2 < 8) {
var _local1 = 0;
while (_local1 < 8) {
if (num == 0) {
_local3[("t" + _local2) + _local1].bt.gotoAndStop("off");
} else {
_local3[("t" + _local2) + _local1].bt.gotoAndStop("on");
}
_local1++;
}
_local2++;
}
}
ting.stop();
board = new Array();
board[0] = [0, 0, 0, 0, 0, 0, 0, 0];
board[1] = [0, 0, 0, 0, 0, 0, 0, 0];
board[2] = [0, 0, 0, 0, 0, 0, 0, 0];
board[3] = [0, 0, 0, 0, 0, 0, 0, 0];
board[4] = [0, 0, 0, 0, 0, 0, 0, 0];
board[5] = [0, 0, 0, 0, 0, 0, 0, 0];
board[6] = [0, 0, 0, 0, 0, 0, 0, 0];
board[7] = [0, 0, 0, 0, 0, 0, 0, 0];
board2 = new Array();
board2[0] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[1] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[2] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[3] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[4] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[5] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[6] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[7] = [0, 0, 0, 0, 0, 0, 0, 0];
fallArray = new Array(0, 0, 0, 0, 0, 0, 0, 0);
vcheckArray = new Array(0, 0, 0, 0, 0, 0, 0, 0);
mode = 0;
sx1 = 0;
sy1 = 0;
sx2 = 0;
sy2 = 0;
scoreTxt = 0;
level = 1;
levelOut = level;
lvupnum = level + 2;
btchange(0);
var score = 0;
((bounce = new Sound(this))).attachSound("bounce");
((catchSnd2 = new Sound(this))).attachSound("catch");
((catchSnd1 = new Sound(this))).attachSound("catch1");
((click = new Sound(this))).attachSound("click");
((vanish1 = new Sound(this))).attachSound("vanish1");
((beep = new Sound(this))).attachSound("beep");
((fallendSnd = new Sound(this))).attachSound("fallend");
((vanish3 = new Sound(this))).attachSound("vanish3");
((vanish2 = new Sound(this))).attachSound("vanish2");
((vanish6 = new Sound(this))).attachSound("vanish6");
((curtain = new Sound(this))).attachSound("curtain");
((bepbeep = new Sound(this))).attachSound("bepbeep");
((buu = new Sound(this))).attachSound("buu");
((select = new Sound(this))).attachSound("select");
((fallSnd = new Sound(this))).attachSound("fallSnd");
((pipo1 = new Sound(this))).attachSound("pipo1");
((pipo2 = new Sound(this))).attachSound("pipo2");
((piyo1 = new Sound(this))).attachSound("piyo1");
((piyo2 = new Sound(this))).attachSound("piyo2");
((piyo3 = new Sound(this))).attachSound("piyo3");
((up1 = new Sound(this))).attachSound("up1");
((up2 = new Sound(this))).attachSound("up2");
((up3 = new Sound(this))).attachSound("up3");
((up4 = new Sound(this))).attachSound("up4");
((notime = new Sound(this))).attachSound("notime");
((spvanish = new Sound(this))).attachSound("spvanish");
((pyoyon = new Sound(this))).attachSound("pyoyon");
((bomsnd = new Sound(this))).attachSound("bomsnd");
((clearsnd = new Sound(this))).attachSound("clearSnd");
((devil = new Sound(this))).attachSound("devil");
((angel = new Sound(this))).attachSound("angel");
((ting = new Sound(this))).attachSound("ting");
sndmode = 1;
Instance of Symbol 425 MovieClip "sndClip" in Frame 181
onClipEvent (load) {
function sndstop() {
snd_game.stop();
}
function sndstart() {
snd_game.start(0, 999);
}
Snd_game = new Sound(this);
Snd_game.attachSound("Snd_game");
snd_game.setVolume(50);
if (_root.sndmode) {
snd_game.start(0, 999);
}
}
onClipEvent (unload) {
snd_game.stop();
}
Instance of Symbol 405 MovieClip "timer" in Frame 181
onClipEvent (load) {
function reset() {
xwidth = 50;
gage._xscale = xwidth;
mode = 0;
noTimeCheck = 0;
aclock.gotoAndStop(1);
gage.gotoAndStop(1);
mtimeArray = [50, 40, 32, 28, 24, 20, 20, 16, 14, 12, 10, 10, 10, 10, 10, 10, 10, 10];
ftime = mtimeArray[_root.level - 1] * 1000;
trace(ftime);
}
function timestart() {
mode = 1;
rTime = getTimer();
}
function timestop() {
mode = 0;
aclock.gotoAndStop(1);
}
function timeup(num) {
gageChange(num);
}
function gageChange(num) {
var _local1 = _root;
xwidth = xwidth + num;
if (xwidth <= 0) {
xwidth = 0;
} else if (xwidth >= 100) {
xwidth = 100;
}
if (xwidth <= 20) {
if ((noTimeCheck % 4) == 0) {
if (_local1.sndmode == 1) {
_local1.bounce.start(0, 2);
}
}
if (noTimeCheck == 0) {
aclock.gotoAndStop(2);
gage.gotoAndStop(2);
}
noTimeCheck++;
} else if ((xwidth > 20) && (noTimeCheck >= 1)) {
noTimeCheck = 0;
_local1.bounce.stop();
aclock.gotoAndStop(1);
gage.gotoAndStop(1);
}
gage._xscale = xwidth;
if (gage._xscale <= 0) {
_local1.bounce.stop();
aclock.gotoAndStop(2);
_local1.gotoAndPlay("gameOver");
}
}
reset();
}
onClipEvent (enterFrame) {
if (mode == 1) {
addpix = ((60 * (getTimer() - rTime)) / ftime) + rmpix;
if (addpix >= 1) {
movepix = math.floor(addpix);
gageChange(-movepix);
rmpix = addpix - movepix;
rTime = getTimer();
}
}
}
Instance of Symbol 474 MovieClip in Frame 181
//component parameters
onClipEvent (initialize) {
wxnume = "MatchTheBugs";
wxaliniere = "Dreapta-Jos";
wxculoare = 14828545 /* 0xE24401 */;
wxdownload = true;
wxpause = true;
wxsound = true;
}
Instance of Symbol 480 MovieClip "bauza" in Frame 181
onClipEvent (load) {
this._visible = false;
}
Frame 182
function vanishcheck() {
var _local2 = 0;
while (_local2 < 8) {
var j = 0;
while (j < 8) {
board2[_local2][j] = 0;
j++;
}
_local2++;
}
var vnum = 0;
var _local1 = 0;
while (_local1 < 8) {
var _local3 = 0;
while (_local3 < 6) {
if (board[_local1][_local3 + 1] == board[_local1][_local3]) {
var k = 2;
while (board[_local1][_local3 + k] == board[_local1][_local3]) {
k++;
}
if (k > 2) {
vnum++;
_local2 = _local3;
while (_local2 < (_local3 + k)) {
board2[_local1][_local2] = board[_local1][_local3];
_local2++;
}
_local3 = _local3 + (k - 1);
}
}
_local3++;
}
_local1++;
}
var _local3 = 0;
while (_local3 < 8) {
_local1 = 0;
while (_local1 < 6) {
if (board[_local1 + 1][_local3] == board[_local1][_local3]) {
var k = 2;
while (board[_local1 + k][_local3] == board[_local1][_local3]) {
k++;
}
if (k > 2) {
vnum++;
_local2 = _local1;
while (_local2 < (_local1 + k)) {
board2[_local2][_local3] = board[_local1][_local3];
_local2++;
}
_local1 = _local1 + (k - 1);
}
}
_local1++;
}
_local3++;
}
if (vnum > 0) {
return(1);
}
return(0);
}
Frame 183
this.gotoAndPlay("lvupview");
Frame 187
level++;
levelOut = level;
lvupnum = level + 2;
timer.reset();
btchange(0);
fallingnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
fallingnum++;
this[("t" + y) + x].allfall();
x++;
}
y++;
}
if (_root.sndmode == 1) {
clearSnd.start();
}
Frame 191
if (fallingnum <= 0) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 194
levelPop.gotoAndStop(_root.level);
if (_root.sndmode == 1) {
bepbeep.start();
}
vcheckArray = [0, 0, 0, 0, 0, 0, 0];
remainNum = 6;
remainCheck = 0;
remainOne = 0;
i = 1;
while (i <= 6) {
this["checker" + i].gotoAndStop(1);
this.cNum["cnum" + i].num = 0;
i++;
}
Frame 204
if (false) {
}
Frame 205
if (false) {
}
Frame 206
bomboardnum = 0;
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
checky = 0;
checkx = 0;
if (level < 7) {
var theNum = math.ceil(math.random() * 7);
} else if (level < 8) {
var theNum = math.ceil(math.random() * 8);
} else {
var theNum = math.ceil(math.random() * 9);
}
if (!bomboardnum) {
sprndnum = math.ceil(math.random() * 300);
if (sprndnum == 10) {
bomboardnum = 1;
var theNum = sprndNum;
}
}
if (board[i - 1][j] == board[i - 2][j]) {
checky = board[i - 1][j];
}
if (board[i][j - 1] == board[i][j - 2]) {
checkx = board[i][j - 1];
}
if ((theNum == checky) || (theNum == checkx)) {
nxtNum = theNum;
while ((nxtNum == checky) || (nxtNum == checkx)) {
if (level < 7) {
var nxtNum = math.ceil(math.random() * 7);
} else if (level < 8) {
var nxtNum = math.ceil(math.random() * 8);
} else {
var nxtNum = math.ceil(math.random() * 9);
}
}
theNum = nxtNum;
}
board[i][j] = theNum;
j++;
}
i++;
}
fallingnum = 0;
x = 0;
while (x < 8) {
y = 7;
while (y >= 0) {
this[("t" + y) + x]._y = this[("t" + y) + x]._y - 238;
this[("t" + y) + x].change();
this[("t" + y) + x].fall();
fallingnum++;
y--;
}
x++;
}
if (_root.sndmode == 1) {
fallSnd.start();
}
Frame 208
if (fallingnum) {
this.gotoAndPlay(_currentframe - 1);
} else {
if (_root.sndmode == 1) {
fallendSnd.start();
}
this.gotoAndPlay("nomorecheck");
}
Frame 215
if (remainNum <= 0) {
this.gotoAndPlay("levelUp");
}
Frame 216
cannum = 0;
y = 0;
while (y < 8) {
x = 0;
while (x < 8) {
var theNum = board[y][x];
if (board[y][x + 1] == theNum) {
if (board[y + 1][x + 2] == theNum) {
cannum++;
break;
}
if (board[y][x + 3] == theNum) {
cannum++;
break;
}
if (board[y - 1][x + 2] == theNum) {
cannum++;
break;
}
if (board[y + 1][x - 1] == theNum) {
cannum++;
break;
}
if (board[y][x - 2] == theNum) {
cannum++;
break;
}
if (board[y - 1][x - 1] == theNum) {
cannum++;
break;
}
}
if (board[y][x + 2] == theNum) {
if (board[y + 1][x + 1] == theNum) {
cannum++;
break;
}
if (board[y - 1][x + 1] == theNum) {
cannum++;
break;
}
}
if (board[y + 1][x] == theNum) {
if (board[y + 2][x - 1] == theNum) {
cannum++;
break;
}
if (board[y + 3][x] == theNum) {
cannum++;
break;
}
if (board[y + 2][x + 1] == theNum) {
cannum++;
break;
}
if (board[y - 1][x - 1] == theNum) {
cannum++;
break;
}
if (board[y - 2][x] == theNum) {
cannum++;
break;
}
if (board[y - 1][x + 1] == theNum) {
cannum++;
break;
}
}
if (board[y + 2][x] == theNum) {
if (board[y + 1][x + 1] == theNum) {
cannum++;
break;
}
if (board[y + 1][x - 1] == theNum) {
cannum++;
break;
}
}
x++;
}
y++;
}
if (!cannum) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndStop("wait");
}
Frame 220
fallingnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
fallingnum++;
this[("t" + y) + x].nomorefall();
x++;
}
y++;
}
if (_root.sndmode == 1) {
fallSnd.start();
}
Frame 222
if (fallingnum <= 0) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 224
this.gotoAndPlay("newboard");
Frame 227
btchange(1);
mode = 1;
timer.timestart();
stop();
Frame 234
mode = 0;
btchange(0);
shiftNum = 0;
changeCheck = 0;
tempnum = board[sy1][sx1];
board[sy1][sx1] = board[sy2][sx2];
board[sy2][sx2] = tempnum;
this[(("t" + sY1) + "") + sX1].change();
this[(("t" + sY2) + "") + sX2].change();
tempx = this[(("t" + sY1) + "") + sX1]._x;
tempy = this[(("t" + sY1) + "") + sX1]._y;
this[(("t" + sY1) + "") + sX1]._x = this[(("t" + sY2) + "") + sX2]._x;
this[(("t" + sY1) + "") + sX1]._y = this[(("t" + sY2) + "") + sX2]._y;
this[(("t" + sY2) + "") + sX2]._x = tempx;
this[(("t" + sY2) + "") + sX2]._y = tempy;
if (sy1 == sy2) {
if (sx2 < sx1) {
this[(("t" + sY1) + "") + sX1].xshift(1);
this[(("t" + sY2) + "") + sX2].xshift(-1);
shiftNum = shiftNum + 2;
} else {
this[(("t" + sY1) + "") + sX1].xshift(-1);
this[(("t" + sY2) + "") + sX2].xshift(1);
shiftNUm = shiftNUm + 2;
}
} else if (sy2 < sy1) {
this[(("t" + sy1) + "") + sX1].yshift(1);
this[(("t" + sY2) + "") + sX2].yshift(-1);
shiftNum = shiftNum + 2;
} else {
this[(("t" + sY1) + "") + sX1].yshift(-1);
this[(("t" + sY2) + "") + sX2].yshift(1);
shiftNUm = shiftNUm + 2;
}
if (shiftTime == 0) {
if (vanishcheck()) {
timer.timestop();
changeCheck = 1;
}
}
Frame 236
if (shiftnum) {
this.gotoAndPlay(_currentframe - 1);
} else {
this.gotoAndPlay(_currentframe + 1);
}
Frame 238
if (shiftTime == 0) {
if (changeCheck) {
if (_root.sndmode == 1) {
vanish3.start();
}
chainnum = 0;
this.gotoAndPlay("vanish");
} else {
shiftTime = 1;
this.gotoAndPlay("change");
}
} else {
this.gotoAndStop("wait");
}
Frame 243
vanishnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 6) {
if (board2[y][x] != 0) {
chaNum = board2[y][x];
var k = 1;
while (board2[y][x + k] == board2[y][x]) {
k++;
}
k--;
if (k >= 2) {
vanishnum = vanishnum + (k + 1);
if (((chaNum == 7) || (chaNum == 8)) || (chaNum == 9)) {
if (_root.sndmode == 1) {
devil.start();
}
addscore = -10 * _root.level;
} else if (((chaNum == 3) || (chaNum == 5)) || (chaNum == 6)) {
angel.start();
addscore = (((level * 10) * math.pow(2, k - 2)) * math.pow(2, chainnum - 1)) + 10;
var tingNum = Number((("10" + y) + "") + x);
var tingName = ("ting" + theNum);
this.attachMovie("ting100", tingName, tingNum, {_x:175, _y:200});
} else {
addscore = ((level * 10) * math.pow(2, k - 2)) * math.pow(2, chainnum - 1);
}
if (addscore > 9999) {
addscore = 9999;
}
scoreTxt = scoreTxt + addscore;
vcheckArray[board2[y][x]] = vcheckArray[board2[y][x]] + (k + 1);
var theNum = Number((("1" + y) + "") + x);
var theName = ("sview" + theNum);
this.attachMovie("scoreview", theName, theNum);
this[theName]._y = this[(("t" + y) + "") + x]._y + 15;
this[theName]._x = this[(("t" + y) + "") + x]._x + ((k * 30) / 2);
this[theName].score = addscore;
x = x + k;
}
}
x++;
}
y++;
}
var x = 0;
while (x < 8) {
var y = 0;
while (y < 6) {
if (board2[y][x] != 0) {
chaNum = board2[y][x];
trace(chaNum);
var k = 1;
while (board2[y + k][x] == board2[y][x]) {
k++;
}
k--;
if (k >= 2) {
vanishnum = vanishnum + (k + 1);
if (((chaNum == 7) || (chaNum == 8)) || (chaNum == 9)) {
if (_root.sndmode == 1) {
devil.start();
}
addscore = -10 * _root.level;
} else if (((chaNum == 3) || (chaNum == 5)) || (chaNum == 6)) {
angel.start();
addscore = (((level * 10) * math.pow(2, k - 2)) * math.pow(2, chainnum - 1)) + 10;
var tingNum = Number((("10" + y) + "") + x);
var tingName = ("ting" + theNum);
this.attachMovie("ting100", tingName, tingNum, {_x:175, _y:200});
} else {
addscore = ((level * 10) * math.pow(2, k - 2)) * math.pow(2, chainnum - 1);
}
if (addscore > 9999) {
addscore = 9999;
}
scoreTxt = scoreTxt + addscore;
vcheckArray[board2[y][x]] = vcheckArray[board2[y][x]] + (k + 1);
var theNum = Number((("2" + y) + "") + x);
var theName = ("sview" + theNum);
this.attachMovie("scoreview", theName, theNum);
this[theName]._x = this[(("t" + y) + "") + x]._x;
this[theName]._y = (this[(("t" + y) + "") + x]._y + ((k * 30) / 2)) + 15;
this[theName].score = addscore;
y = y + k;
}
}
y++;
}
x++;
}
Frame 244
if (chainnum == 1) {
if (_root.sndmode == 1) {
pipo1.start();
}
} else if (chainnum == 2) {
if (_root.sndmode == 1) {
up1.start();
}
} else if (chainnum == 3) {
if (_root.sndmode == 1) {
up2.start();
}
} else if (chainnum == 4) {
if (_root.sndmode == 1) {
up3.start();
}
} else if (_root.sndmode == 1) {
up4.start();
}
Frame 246
timer.timeup(vanishnum);
remainNum = 6;
i = 1;
while (i <= 6) {
this.cNum["cnum" + i].Num = vcheckArray[i];
if (vcheckArray[i] >= lvupnum) {
remainNum--;
this["checker" + i].gotoAndStop(2);
} else {
remainpos = i;
}
i++;
}
if ((remainNum == 1) && (!remainCheck)) {
if (_root.sndmode == 1) {
piyo1.start();
}
remainCheck = 1;
remainOne = remainpos;
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].change();
j++;
}
i++;
}
}
Frame 247
this.gotoandPlay("fall");
Frame 253
fallingnum = 0;
btchange(0);
var x = 0;
while (x < 8) {
var y = 7;
while (y >= 0) {
if (board[y][x] == 0) {
k = y;
while (k > 0) {
board[k][x] = board[k - 1][x];
k--;
}
if (level >= 8) {
board[0][x] = math.ceil(math.random() * 9);
} else if (level >= 7) {
board[0][x] = math.ceil(math.random() * 8);
} else {
board[0][x] = math.ceil(math.random() * 7);
}
if (!bomboardnum) {
sprndnum = math.ceil(math.random() * 300);
if (sprndnum == 10) {
bomboardnum = 1;
board[0][x] = sprndnum;
}
}
k = y;
while (k >= 0) {
this[("t" + k) + x]._y = this[("t" + k) + x]._y - 30;
k--;
}
y++;
}
y--;
}
var y = 7;
while (y >= 0) {
this[("t" + y) + x].change();
this[("t" + y) + x].fall();
fallingnum++;
y--;
}
x++;
}
Frame 255
if (fallingnum) {
this.gotoAndPlay(_currentframe - 1);
} else {
if (_root.sndmode == 1) {
fallendSnd.start();
}
this.gotoAndPlay(_currentframe + 1);
}
Frame 257
if (vanishcheck()) {
this.gotoAndPlay("vanish");
} else {
this.gotoAndPlay("nomorecheck");
}
Frame 258
moveCount = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
if (board2[y][x] != 0) {
moveCount++;
this[(("t" + y) + "") + x].vanish();
board[y][x] = 0;
}
x++;
}
y++;
}
Frame 260
if (!moveCount) {
chainnum++;
this.gotoAndPlay("addscore");
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 265
mode = 0;
timer.timestop();
if (_root.sndmode == 1) {
catchSnd1.start();
}
this.gotoAndPlay(_currentframe + 1);
Frame 269
moveCount = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
if ((board[y][x] == 10) || (board[y][x] == bomnum)) {
moveCount++;
this[(("t" + y) + "") + x].vanish();
board[y][x] = 0;
}
x++;
}
y++;
}
if (_root.sndmode == 1) {
spvanish.start();
}
Frame 271
if (!moveCount) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 272
vanishnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
if (board[y][x] == 0) {
vcheckArray[bomnum]++;
addscore = level * 10;
scoreTxt = scoreTxt + addscore;
vanishnum++;
var theNum = Number((("1" + y) + "") + x);
var theName = ("sview" + theNum);
this.attachMovie("scoreview", theName, theNum);
this[theName]._y = this[(("t" + y) + "") + x]._y + 15;
this[theName]._x = this[(("t" + y) + "") + x]._x;
this[theName].score = addscore;
}
x++;
}
y++;
}
if (_root.sndmode == 1) {
vanish3.start();
}
Frame 273
Frame 275
remainNum = 6;
i = 1;
while (i <= 6) {
this.cNum["cnum" + i].Num = vcheckArray[i];
if (vcheckArray[i] >= lvupnum) {
remainNum--;
this["checker" + i].gotoAndStop(2);
} else {
remainpos = i;
}
i++;
}
if ((remainNum == 1) && (!remainCheck)) {
remainCheck = 1;
remainOne = remainpos;
piyo1.start();
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].change();
j++;
}
i++;
}
}
Frame 276
chainnum = 0;
this.gotoANdPlay("fall");
Frame 278
mode = 0;
timer.timestop();
btchange(0);
if (sndmode) {
sndclip.sndstop();
}
if (_root.sndmode == 1) {
bomsnd.start();
}
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].shake();
j++;
}
i++;
}
Frame 285
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].bom();
j++;
}
i++;
}
Frame 286
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].bom();
j++;
}
i++;
}
Frame 309
stop();
Instance of Symbol 423 MovieClip "jen" in Frame 309
onClipEvent (load) {
this.stop();
}
Frame 310
removeMovieClip(_root.xxc1);
removeMovieClip(_root.xxc2);
removeMovieClip(_root.xxc3);
removeMovieClip(_root.xxc4);
Frame 311
_root.menu.removeMovieClip();
_root.gameid = "MatchTheBugs";
_root.best = _root.scoreTxt;
_root.scoreTxt = 0;
_root.updated = 0;
_root.done = 0;
done = 0;
i = 1;
while (i <= 100) {
_root["score" + i] = null;
_root["name" + i] = null;
_root["escore" + i] = null;
_root["ename" + i] = null;
i++;
}
Frame 313
cale = "http://www.freeonlinegames.com/scoreboard/score.php?game=" + _root.gameid;
loadVariablesNum (cale, 0, "POST");
Frame 314
if (false) {
}
Frame 321
if (done != 1) {
gotoAndPlay ("loopLoad");
} else {
gotoAndPlay ("scoreTable");
}
Frame 325
monthnume = new Array();
monthscor = new Array();
i = 1;
while (i <= 100) {
monthnume[i] = _root["name" + i];
monthscor[i] = Number(_root["score" + i].slice(0, _root["score" + i].length - 1));
i++;
}
evernume = new Array();
everscor = new Array();
i = 1;
while (i <= 100) {
evernume[i] = _root["ename" + i];
everscor[i] = Number(_root["escore" + i].slice(0, _root["escore" + i].length - 1));
i++;
}
Frame 326
stop();
if (_root.best > everscor[100]) {
scoreWind.gotoAndStop("submitScoreYes");
} else {
scoreWind.gotoAndStop("submitScoreNo");
}
if (_root.xdada == 1) {
scoreWind.gotoAndStop("topEver");
}
Symbol 35 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
var _local1 = this;
var _local3 = _global;
_local1.enable = true;
_local1.focused = false;
_local1.useHandCursor = false;
_local1._accImpl = new Object();
_local1._accImpl.stub = true;
_local1.styleTable = new Array();
if (_local3.globalStyleFormat == undefined) {
_local3.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_local3._focusControl = new Object();
_local3._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_local3._focusControl);
}
if (_local1._name != undefined) {
_local1._focusrect = false;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
_local1.tabChildren = false;
_local1.tabFocused = true;
if (_local1.hostStyle == undefined) {
globalStyleFormat.addListener(_local1);
} else {
_local1.styleTable = _local1.hostStyle;
}
_local1.deadPreview._visible = false;
_local1.deadPreview._width = (_local1.deadPreview._height = 1);
_local1.methodTable = new Object();
_local1.keyListener = new Object();
_local1.keyListener.controller = _local1;
_local1.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
_local1.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local2 in _local1.styleFormat_prm) {
_local1.setStyleProperty(_local2, _local1.styleFormat_prm[_local2]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.enable = ((arguments.length > 0) ? (enabledFlag) : true);
_local1.tabEnabled = (_local1.focusEnabled = enabledFlag);
if ((!_local1.enable) && (_local1.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
var _local1 = this;
_local1.handlerObj = ((obj == undefined) ? (_local1._parent) : (obj));
_local1.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
var _local1 = this;
_local1.methodTable[methodName] = true;
_local1.onEnterFrame = _local1.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
var _local1 = this;
if (_local1.methodTable.setSize) {
_local1.setSize(_local1.width, _local1.height);
} else {
_local1.cleanUINotSize();
}
_local1.methodTable = new Object();
delete _local1.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
var _local1 = this;
for (var _local2 in _local1.methodTable) {
_local1[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local1 = this;
var _local2 = y;
var _local3 = x;
var inner = _local1.styleTable.focusRectInner.value;
var outer = _local1.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
_local1.createEmptyMovieClip("focusRect", 1000);
_local1.focusRect.controller = _local1;
_local1.focusRect.lineStyle(1, outer);
_local1.focusRect.moveTo(_local3, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2);
_local1.focusRect.lineStyle(1, inner);
_local1.focusRect.moveTo(_local3 + 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, _local2 + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
var _local1 = this;
_local1.tabFocused = false;
_local1.focusRect.removeMovieClip();
Selection.setFocus(_local1);
};
FUIComponentClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
var _local1 = this;
_local1.focused = true;
Key.addListener(_local1.keyListener);
if (_local1.tabFocused) {
_local1.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
var _local1 = this;
_local1.tabFocused = true;
_local1.focused = false;
_local1.focusRect.removeMovieClip();
Key.removeListener(_local1.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local1 = this;
var _local2 = propName;
if (value == "") {
} else {
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].useGlobal || (!global)) {
_local1.styleTable[_local2].value = value;
if (_local1.setCustomStyleProperty(_local2, value)) {
} else if (_local2 == "embedFonts") {
_local1.invalidate("setSize");
} else if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var textProp = _local2.subString(4, _local2.length);
_local1.textStyle[textProp] = value;
_local1.invalidate("setSize");
} else {
for (var j in _local1.styleTable[_local2].coloredMCs) {
var _local3 = new Color(_local1.styleTable[_local2].coloredMCs[j]);
if (_local1.styleTable[_local2].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local3.setTransform(myTObj);
} else {
_local3.setRGB(value);
}
}
}
_local1.styleTable[_local2].useGlobal = global;
}
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
var _local1 = this;
var _local2 = propName;
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].coloredMCs == undefined) {
_local1.styleTable[_local2].coloredMCs = new Object();
}
_local1.styleTable[_local2].coloredMCs[skinMCRef] = skinMCRef;
if (_local1.styleTable[_local2].value != undefined) {
var _local3 = new Color(skinMCRef);
_local3.setRGB(_local1.styleTable[_local2].value);
}
};
_global.FStyleFormat = function () {
var _local1 = arguments;
var _local2 = this;
_local2.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
_local2.listeners = new Object();
_local2.isGlobal = false;
if (_local1.length > 0) {
for (var _local3 in _local1[0]) {
_local2[_local3] = _local1[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local1 = this;
var _local2 = 0;
while (_local2 < arguments.length) {
var _local3 = arguments[_local2];
_local1.listeners[arguments[_local2]] = _local3;
for (var i in _local1) {
if (_local1.isAStyle(i)) {
_local3.updateStyleProperty(_local1, i.toString());
}
}
_local2++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
var _local1 = this;
var _local2 = component;
_local1.listeners[_local2] = undefined;
for (var prop in _local1) {
if (_local1.isAStyle(prop)) {
if (_local2.styleTable[prop].useGlobal == _local1.isGlobal) {
_local2.styleTable[prop].useGlobal = true;
var _local3 = (_local1.isGlobal ? undefined : (globalStyleFormat[prop]));
_local2.setStyleProperty(prop, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local1 = this;
var _local2 = arguments;
var count = 0;
for (var i in _local1.listeners) {
var _local3 = _local1.listeners[i];
if (_local2.length > 0) {
var j = 0;
while (j < _local2.length) {
if (_local1.isAStyle(_local2[j])) {
_local3.updateStyleProperty(_local1, _local2[j]);
}
j++;
}
} else {
for (var j in _local1) {
if (_local1.isAStyle(j)) {
_local3.updateStyleProperty(_local1, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 48 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 57 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 66 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 67 MovieClip [UpArrow] Frame 1
stop();
Symbol 67 MovieClip [UpArrow] Frame 2
stop();
Symbol 67 MovieClip [UpArrow] Frame 3
stop();
Symbol 73 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 82 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 87 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 88 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 96 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 104 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 112 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 113 MovieClip [DownArrow] Frame 1
stop();
Symbol 113 MovieClip [DownArrow] Frame 2
stop();
Symbol 113 MovieClip [DownArrow] Frame 3
stop();
Symbol 116 MovieClip [scoreview] Frame 11
this.removeMovieClip();
Symbol 119 MovieClip [ting100] Frame 15
this.removeMovieClip();
Symbol 121 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 122 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
FScrollBarClass = function () {
var _local1 = this;
if (_local1._height == 4) {
} else {
_local1.init();
_local1.minPos = (_local1.maxPos = (_local1.pageSize = (_local1.largeScroll = 0)));
_local1.smallScroll = 1;
_local1.width = (_local1.horizontal ? (_local1._width) : (_local1._height));
_local1._xscale = (_local1._yscale = 100);
_local1.setScrollPosition(0);
_local1.tabEnabled = false;
if (_local1._targetInstanceName.length > 0) {
_local1.setScrollTarget(_local1._parent[_local1._targetInstanceName]);
}
_local1.tabChildren = false;
_local1.setSize(_local1.width);
}
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
var _local1 = this;
var _local2 = flag;
if (_local1.horizontal && (!_local2)) {
_local1._xscale = 100;
_local1._rotation = 0;
} else if (_local2 && (!_local1.horizontal)) {
_local1._xscale = -100;
_local1._rotation = -90;
}
_local1.horizontal = _local2;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
var _local1 = this;
if (!_local1.enable) {
} else {
_local1.pageSize = pSize;
_local1.minPos = Math.max(mnPos, 0);
_local1.maxPos = Math.max(mxPos, 0);
_local1.scrollPosition = Math.max(_local1.minPos, _local1.scrollPosition);
_local1.scrollPosition = Math.min(_local1.maxPos, _local1.scrollPosition);
if ((_local1.maxPos - _local1.minPos) <= 0) {
_local1.scrollThumb_mc.removeMovieClip();
_local1.upArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.gotoAndStop(3);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = null));
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = null));
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onRelease = null);
_local1.scrollTrack_mc.onDragOut = (_local1.scrollTrack_mc.onRollOut = null);
_local1.scrollTrack_mc.useHandCursor = false;
} else {
var _local2 = _local1.getScrollPosition();
_local1.upArrow_mc.gotoAndStop(1);
_local1.downArrow_mc.gotoAndStop(1);
_local1.upArrow_mc.onPress = (_local1.upArrow_mc.onDragOver = _local1.startUpScroller);
_local1.upArrow_mc.onRelease = (_local1.upArrow_mc.onDragOut = _local1.stopScrolling);
_local1.downArrow_mc.onPress = (_local1.downArrow_mc.onDragOver = _local1.startDownScroller);
_local1.downArrow_mc.onRelease = (_local1.downArrow_mc.onDragOut = _local1.stopScrolling);
_local1.scrollTrack_mc.onPress = (_local1.scrollTrack_mc.onDragOver = _local1.startTrackScroller);
_local1.scrollTrack_mc.onRelease = _local1.stopScrolling;
_local1.scrollTrack_mc.onDragOut = _local1.stopScrolling;
_local1.scrollTrack_mc.onRollOut = _local1.stopScrolling;
_local1.scrollTrack_mc.useHandCursor = false;
_local1.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
_local1.scrollThumb_mc._x = 0;
_local1.scrollThumb_mc._y = _local1.upArrow_mc._height;
_local1.scrollThumb_mc.onPress = _local1.startDragThumb;
_local1.scrollThumb_mc.controller = _local1;
_local1.scrollThumb_mc.onRelease = (_local1.scrollThumb_mc.onReleaseOutside = _local1.stopDragThumb);
_local1.scrollThumb_mc.useHandCursor = false;
_local1.thumbHeight = (_local1.pageSize / ((_local1.maxPos - _local1.minPos) + _local1.pageSize)) * _local1.trackSize;
_local1.thumbMid_mc = _local1.scrollThumb_mc.mc_sliderMid;
_local1.thumbTop_mc = _local1.scrollThumb_mc.mc_sliderTop;
_local1.thumbBot_mc = _local1.scrollThumb_mc.mc_sliderBot;
_local1.thumbHeight = Math.max(_local1.thumbHeight, 6);
_local1.midHeight = (_local1.thumbHeight - _local1.thumbTop_mc._height) - _local1.thumbBot_mc._height;
_local1.thumbMid_mc._yScale = (_local1.midHeight * 100) / _local1.thumbMid_mc._height;
_local1.thumbMid_mc._y = _local1.thumbTop_mc._height;
_local1.thumbBot_mc._y = _local1.thumbTop_mc._height + _local1.midHeight;
_local1.scrollTop = _local1.scrollThumb_mc._y;
_local1.trackHeight = _local1.trackSize - _local1.thumbHeight;
_local1.scrollBot = _local1.trackHeight + _local1.scrollTop;
_local2 = Math.min(_local2, _local1.maxPos);
_local1.setScrollPosition(Math.max(_local2, _local1.minPos));
}
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
var _local1 = this;
var _local2 = pos;
_local1.scrollPosition = _local2;
if (_local1.scrollThumb_mc != undefined) {
_local2 = Math.min(_local2, _local1.maxPos);
_local2 = Math.max(_local2, _local1.minPos);
}
_local1.scrollThumb_mc._y = (((_local2 - _local1.minPos) * _local1.trackHeight) / (_local1.maxPos - _local1.minPos)) + _local1.scrollTop;
_local1.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
var _local2 = enabledFlag;
var _local3 = _local1.enable;
if (_local2 && (!_local3)) {
_local1.enable = _local2;
if (_local1.textField != undefined) {
_local1.setScrollTarget(_local1.textField);
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.cachedMinPos, _local1.cachedMaxPos);
_local1.setScrollPosition(_local1.cachedPos);
}
_local1.clickFilter = undefined;
} else if ((!_local2) && (_local3)) {
_local1.textField.removeListener(_local1);
_local1.cachedPos = _local1.getScrollPosition();
_local1.cachedMinPos = _local1.minPos;
_local1.cachedMaxPos = _local1.maxPos;
if (_local1.clickFilter == undefined) {
_local1.setScrollProperties(_local1.pageSize, 0, 0);
} else {
_local1.clickFilter = true;
}
_local1.enable = _local2;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
var _local1 = this;
if (_local1._height == 1) {
} else {
_local1.width = hgt;
_local1.scrollTrack_mc._yscale = 100;
_local1.scrollTrack_mc._yscale = (100 * _local1.width) / _local1.scrollTrack_mc._height;
if (_local1.upArrow_mc == undefined) {
_local1.attachMovie("UpArrow", "upArrow_mc", 1);
_local1.attachMovie("DownArrow", "downArrow_mc", 2);
_local1.downArrow_mc.controller = (_local1.upArrow_mc.controller = _local1);
_local1.upArrow_mc.useHandCursor = (_local1.downArrow_mc.useHandCursor = false);
_local1.upArrow_mc._x = (_local1.upArrow_mc._y = 0);
_local1.downArrow_mc._x = 0;
}
_local1.scrollTrack_mc.controller = _local1;
_local1.downArrow_mc._y = _local1.width - _local1.downArrow_mc._height;
_local1.trackSize = _local1.width - (2 * _local1.downArrow_mc._height);
if (_local1.textField != undefined) {
_local1.onTextChanged();
} else {
_local1.setScrollProperties(_local1.pageSize, _local1.minPos, _local1.maxPos);
}
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var _local1 = this;
var _local3 = _local1.smallScroll;
if (inc != "one") {
_local3 = ((_local1.largeScroll == 0) ? (_local1.pageSize) : (_local1.largeScroll));
}
var _local2 = _local1.getScrollPosition() + (mode * _local3);
if (_local2 > _local1.maxPos) {
_local2 = _local1.maxPos;
} else if (_local2 < _local1.minPos) {
_local2 = _local1.minPos;
}
_local1.setScrollPosition(_local2);
};
FScrollBarClass.prototype.startDragThumb = function () {
var _local1 = this;
_local1.lastY = _local1._ymouse;
_local1.onMouseMove = _local1.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
var _local1 = this;
_local1.scrollMove = _local1._ymouse - _local1.lastY;
_local1.scrollMove = _local1.scrollMove + _local1._y;
if (_local1.scrollMove < _local1.controller.scrollTop) {
_local1.scrollMove = _local1.controller.scrollTop;
} else if (_local1.scrollMove > _local1.controller.scrollBot) {
_local1.scrollMove = _local1.controller.scrollBot;
}
_local1._y = _local1.scrollMove;
var _local2 = _local1.controller;
_local2.scrollPosition = Math.round(((_local2.maxPos - _local2.minPos) * (_local1._y - _local2.scrollTop)) / _local2.trackHeight) + _local2.minPos;
_local1.controller.isScrolling = true;
updateAfterEvent();
_local1.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
var _local1 = this;
_local1.controller.trackScroller();
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
var _local1 = this;
var _local2 = inc;
clearInterval(_local1.scrolling);
if (_local2 == "page") {
_local1.trackScroller();
} else {
_local1.scrollIt(_local2, mode);
}
_local1.scrolling = setInterval(_local1, "scrollInterval", 35, _local2, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
var _local1 = this;
if ((_local1.scrollThumb_mc._y + _local1.thumbHeight) < _local1._ymouse) {
_local1.scrollIt("page", 1);
} else if (_local1.scrollThumb_mc._y > _local1._ymouse) {
_local1.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(1);
_local1.controller.upArrow_mc.gotoAndStop(1);
clearInterval(_local1.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
var _local1 = this;
_local1.controller.upArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", -1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
var _local1 = this;
_local1.controller.downArrow_mc.gotoAndStop(2);
_local1.controller.scrollIt("one", 1);
_local1.controller.scrolling = setInterval(_local1.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
var _local1 = this;
var _local2 = tF;
if (_local2 == undefined) {
_local1.textField.removeListener(_local1);
delete _local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")];
if ((_local1.textField.hScroller != undefined) && (_local1.textField.vScroller != undefined)) {
_local1.textField.unwatch("text");
_local1.textField.unwatch("htmltext");
}
}
_local1.textField = undefined;
if (!(_local2 instanceof TextField)) {
} else {
_local1.textField = _local2;
_local1.textField[(_local1.horizontal ? "hScroller" : "vScroller")] = _local1;
_local1.onTextChanged();
_local1.onChanged = function () {
this.onTextChanged();
};
_local1.onScroller = function () {
var _local1 = this;
if (!_local1.isScrolling) {
if (!_local1.horizontal) {
_local1.setScrollPosition(_local1.textField.scroll);
} else {
_local1.setScrollPosition(_local1.textField.hscroll);
}
}
};
_local1.textField.addListener(_local1);
_local1.textField.watch("text", _local1.callback);
_local1.textField.watch("htmlText", _local1.callback);
}
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
var _local1 = this;
clearInterval(_local1.hScroller.synchScroll);
clearInterval(_local1.vScroller.synchScroll);
_local1.hScroller.synchScroll = setInterval(_local1.hScroller, "onTextChanged", 50);
_local1.vScroller.synchScroll = setInterval(_local1.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
var _local1 = this;
if ((!_local1.enable) || (_local1.textField == undefined)) {
} else {
clearInterval(_local1.synchScroll);
if (_local1.horizontal) {
var _local2 = _local1.textField.hscroll;
_local1.setScrollProperties(_local1.textField._width, 0, _local1.textField.maxhscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxhscroll));
} else {
var _local2 = _local1.textField.scroll;
var _local3 = _local1.textField.bottomScroll - _local1.textField.scroll;
_local1.setScrollProperties(_local3, 1, _local1.textField.maxscroll);
_local1.setScrollPosition(Math.min(_local2, _local1.textField.maxscroll));
}
}
};
FScrollBarClass.prototype.executeCallBack = function () {
var _local1 = this;
if (_local1.textField == undefined) {
super.executeCallBack();
} else if (_local1.horizontal) {
_local1.textField.hscroll = _local1.getScrollPosition();
} else {
_local1.textField.scroll = _local1.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 124 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?MatchTheBugs", "_blank");
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 50
stop();
_parent.play();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 179 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?MatchTheBugs", "_blank");
}
Symbol 182 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 190 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 190 MovieClip Frame 2
wxculoarea2 = new Color(but1);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 190 MovieClip Frame 3
wxculoarea2 = new Color(but1);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 191 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 198 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 198 MovieClip Frame 2
wxculoarea2 = new Color(but2);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 198 MovieClip Frame 3
wxculoarea2 = new Color(but2);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 199 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wynume;
getURL (targetul3, "_blank");
}
Symbol 202 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 202 MovieClip Frame 2
wxculoarea2 = new Color(but3);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 202 MovieClip Frame 3
wxculoarea2 = new Color(but3);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 207 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 208 MovieClip Frame 1
stop();
Symbol 211 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 213 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 220 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 220 MovieClip Frame 2
wxculoarea2 = new Color(but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 220 MovieClip Frame 3
wxculoarea2 = new Color(but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
Symbol 221 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 222 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
function instructionsFunction() {
_root.instructions._visible = true;
_root.by._visible = false;
}
stop();
if ((wyasezare == "Orizontal") && (wyinstructions == false)) {
this.gotoAndStop(2);
}
if (((wyasezare == "Vertical") && (wyinstructions == true)) && (wypozitie == "Sus")) {
this.gotoAndStop(3);
}
if (((wyasezare == "Vertical") && (wyinstructions == true)) && (wypozitie == "Jos")) {
this.gotoAndStop(4);
}
if (((wyasezare == "Orizontal") && (wyinstructions == true)) && (wypozitie == "Sus")) {
this.gotoAndStop(5);
}
if (((wyasezare == "Orizontal") && (wyinstructions == true)) && (wypozitie == "Jos")) {
this.gotoAndStop(6);
}
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 223 MovieClip Frame 2
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 223 MovieClip Frame 3
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 223 MovieClip Frame 4
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 223 MovieClip Frame 5
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 223 MovieClip Frame 6
stop();
my_color = new Color(my_mc);
my_color.setRGB(wyculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wynbut1.but1);
wxculoarea3 = new Color(wynbut2.but2);
wxculoarea4 = new Color(wynbut3.but3);
wxculoarea5 = new Color(wynbut4.but4);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3.setTransform(myColorTransform);
wxculoarea4.setTransform(myColorTransform);
wxculoarea5.setTransform(myColorTransform);
Symbol 229 Button
on (release) {
_root.pauza = false;
_root.gotoAndPlay("game");
}
Symbol 235 Button
on (release) {
this._visible = false;
_root.by._visible = true;
}
Symbol 270 MovieClip Frame 4
stop();
Symbol 272 MovieClip Frame 2
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 5
stop();
Symbol 276 MovieClip Frame 9
stop();
Symbol 276 MovieClip Frame 13
stop();
Symbol 276 MovieClip Frame 17
stop();
Symbol 284 MovieClip Frame 4
stop();
Symbol 285 MovieClip Frame 2
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 5
stop();
Symbol 289 MovieClip Frame 9
stop();
Symbol 289 MovieClip Frame 13
stop();
Symbol 289 MovieClip Frame 17
stop();
Symbol 297 MovieClip Frame 4
stop();
Symbol 298 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 5
stop();
Symbol 302 MovieClip Frame 9
stop();
Symbol 302 MovieClip Frame 13
stop();
Symbol 302 MovieClip Frame 17
stop();
Symbol 310 MovieClip Frame 4
stop();
Symbol 311 MovieClip Frame 2
stop();
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 5
stop();
Symbol 315 MovieClip Frame 9
stop();
Symbol 315 MovieClip Frame 13
stop();
Symbol 315 MovieClip Frame 17
stop();
Symbol 324 MovieClip Frame 4
stop();
Symbol 325 MovieClip Frame 2
stop();
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 5
stop();
Symbol 329 MovieClip Frame 9
stop();
Symbol 329 MovieClip Frame 13
stop();
Symbol 329 MovieClip Frame 17
stop();
Symbol 338 MovieClip Frame 4
stop();
Symbol 339 MovieClip Frame 2
stop();
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 5
stop();
Symbol 343 MovieClip Frame 9
stop();
Symbol 343 MovieClip Frame 13
stop();
Symbol 343 MovieClip Frame 17
stop();
Symbol 348 MovieClip Frame 4
stop();
Symbol 349 MovieClip Frame 2
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 5
stop();
Symbol 351 MovieClip Frame 9
stop();
Symbol 351 MovieClip Frame 13
stop();
Symbol 351 MovieClip Frame 17
stop();
Symbol 354 MovieClip Frame 4
stop();
Symbol 355 MovieClip Frame 2
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 5
stop();
Symbol 357 MovieClip Frame 9
stop();
Symbol 357 MovieClip Frame 13
stop();
Symbol 357 MovieClip Frame 17
!!!ERROR
Symbol 366 MovieClip Frame 1
!!!ERROR
Symbol 368 Button
on (press) {
if (_root.pauza == false) {
if (_root.mode == 1) {
if (_parent.mychara == 10) {
_parent.faces.koma.stop();
_root.bomnum = _parent.faces.koma._currentframe;
_root.bomboardnum = 0;
_root.gotoAndPlay("bom");
} else {
_parent.focus._visible = 1;
_parent.faces.face.gotoAndPlay("blink");
_root.sy1 = _parent.myposy;
_root.sx1 = _parent.myposx;
_root.mode = 2;
}
} else if (_root.mode == 2) {
if (((math.abs(_root.sy1 - _parent.myposy) == 1) && (_root.sx1 == _parent.myposx)) || ((math.abs(_root.sx1 - _parent.myposx) == 1) && (_root.sy1 == _parent.myposY))) {
if (_root.sndmode == 1) {
_root.catchSnd2.start();
}
_root[(("t" + _root.sy1) + "") + _root.sx1].focus._visible = 0;
_root[(("t" + _root.sy1) + "") + _root.sx1].faces.face.gotoAndStop("nom");
_root.sy2 = _parent.myposy;
_root.sx2 = _parent.myposx;
_root.shiftTime = 0;
_root.gotoAndPlay("change");
} else if ((_root.sy1 == _parent.myposy) && (_root.sx1 == _parent.myposx)) {
_parent.focus._visible = 0;
_parent.faces.face.gotoAndStop("nom");
_root.mode = 1;
}
}
}
}
Symbol 369 MovieClip Frame 1
!!!ERROR
Symbol 370 MovieClip Frame 1
function change() {
var _local1 = _root;
this.gotoAndStop("nom");
mychara = _local1.board[myposY][myposX];
faces.gotoAndStop(mychara + 1);
if (_local1.remainCheck) {
if (mychara == _local1.remainOne) {
faces.face.gotoAndStop("mad");
}
}
}
function fall() {
stepnum = 5;
this.gotoAndPlay("fall");
}
function xshift(num) {
dir = num;
stepnum = 5;
this.gotoAndPlay("xshift");
}
function yshift(num) {
dir = num;
stepnum = 5;
this.gotoAndPlay("yshift");
}
function vanish() {
this.gotoAndPlay("vanish");
}
function bom() {
movex = -40 + math.ceil(math.random() * 80);
movey = -40 + math.ceil(math.random() * 80);
this.gotoAndPlay("bom");
}
function shake() {
dir = math.ceil(math.random() * 2);
if (dir != 1) {
dir = -1;
}
this.gotoAndPlay("shake");
}
function allfall() {
stepnum = 5;
endpos = myY + 238;
this.gotoANdPLay("allfall");
}
function nomorefall() {
stepnum = 5;
endpos = myY + 238;
this.gotoANdPLay("nomorefall");
}
myx = this._x;
myy = this._y;
myposX = Number(_name.charAt(2));
myposY = Number(_name.charAt(1));
mychara = 0;
!!!ERROR
Instance of Symbol 250 MovieClip "focus" in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
!!!ERROR
Symbol 370 MovieClip Frame 2
!!!ERROR
Symbol 370 MovieClip Frame 7
!!!ERROR
Symbol 370 MovieClip Frame 8
if (nxtY >= myY) {
this._y = myY;
_root.fallingNum--;
if ((stepnum > 5) && ((!_root.remainCheck) && (mychara == _root.remainOne))) {
faces.face.gotoAndStop("blink");
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndStop("nom");
}
} else {
this._y = nxtY;
stepnum = stepnum + 8;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 370 MovieClip Frame 13
faces.face.gotoAndStop("nom");
this.gotoAndStop("nom");
Symbol 370 MovieClip Frame 14
this._x = this._x + (stepnum * dir);
Symbol 370 MovieClip Frame 15
if (dir < 0) {
if (myX >= this._x) {
this._x = myX;
_root.shiftNum--;
this.gotoAndStop("nom");
} else {
stepnum++;
this.gotoAndPlay(_currentframe - 1);
}
} else if (this._x >= myX) {
this._x = myX;
_root.shiftNum--;
this.gotoAndStop("nom");
} else {
stepnum++;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 370 MovieClip Frame 20
this._y = this._y + (stepnum * dir);
Symbol 370 MovieClip Frame 21
if (dir < 0) {
if (myY >= this._y) {
this._y = myY;
_root.shiftNum--;
this.gotoAndStop("nom");
} else {
stepnum++;
this.gotoAndPlay(_currentframe - 1);
}
} else if (this._y >= myY) {
this._y = myY;
_root.shiftNum--;
this.gotoAndStop("nom");
} else {
stepnum++;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 370 MovieClip Frame 26
this._x = this._x + movex;
this._y = this._y + movey;
Symbol 370 MovieClip Frame 27
!!!ERROR
Symbol 370 MovieClip Frame 32
this._x = this._x + (3 * dir);
Symbol 370 MovieClip Frame 33
this._x = this._x - (3 * dir);
Symbol 370 MovieClip Frame 34
!!!ERROR
Symbol 370 MovieClip Frame 39
!!!ERROR
Symbol 370 MovieClip Frame 40
!!!ERROR
Symbol 370 MovieClip Frame 41
if (nxtY >= endpos) {
_root.fallingNum--;
this._y = myY;
faces.gotoAndStop(1);
this.gotoAndStop("nom");
} else {
this._y = nxtY;
stepnum = stepnum + 4;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 370 MovieClip Frame 47
!!!ERROR
Symbol 370 MovieClip Frame 48
if (nxtY >= endpos) {
_root.fallingNum--;
this._y = myY;
faces.gotoAndStop(1);
this.gotoAndStop("nom");
} else {
this._y = nxtY;
stepnum = stepnum + 4;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 370 MovieClip Frame 53
!!!ERROR
Symbol 370 MovieClip Frame 58
_root.moveCount--;
faces.face.gotoAndStop("vanish");
Symbol 370 MovieClip Frame 60
!!!ERROR
Symbol 378 MovieClip Frame 1
!!!ERROR
Symbol 380 MovieClip Frame 1
!!!ERROR
Symbol 382 MovieClip Frame 1
!!!ERROR
Symbol 384 MovieClip Frame 1
!!!ERROR
Symbol 386 MovieClip Frame 1
!!!ERROR
Symbol 388 MovieClip Frame 1
!!!ERROR
Symbol 400 MovieClip Frame 1
!!!ERROR
Symbol 404 MovieClip Frame 1
!!!ERROR
Symbol 415 Button
on (press) {
!!!ERROR
Symbol 421 Button
on (press) {
!!!ERROR
Symbol 423 MovieClip Frame 13
!!!ERROR
Symbol 423 MovieClip Frame 19
!!!ERROR
Symbol 429 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wxnume;
getURL (targetul3, "_blank");
}
Symbol 430 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wxnume;
getURL (targetul2, "_blank");
}
Symbol 431 Button
on (release) {
!!!ERROR
Symbol 432 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wxnume) + ".exe";
getURL (targetul1);
}
Symbol 433 Button
on (release, keyPress "p") {
!!!ERROR
Symbol 434 Button
on (release, keyPress "s") {
!!!ERROR
Symbol 445 MovieClip Frame 1
stop();
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
_parent.wxbutno = 6;
if (((_parent.wxdownload == false) && (_parent.wxpause == true)) && (_parent.wxsound == true)) {
this.gotoAndStop(2);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == false)) && (_parent.wxsound == true)) {
this.gotoAndStop(3);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == true)) && (_parent.wxsound == false)) {
this.gotoAndStop(4);
_parent.wxbutno = 5;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == false)) && (_parent.wxsound == true)) {
this.gotoAndStop(5);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == true)) && (_parent.wxsound == false)) {
this.gotoAndStop(6);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == true) && (_parent.wxpause == false)) && (_parent.wxsound == false)) {
this.gotoAndStop(7);
_parent.wxbutno = 4;
}
if (((_parent.wxdownload == false) && (_parent.wxpause == false)) && (_parent.wxsound == false)) {
this.gotoAndStop(8);
_parent.wxbutno = 3;
}
Symbol 445 MovieClip Frame 2
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 445 MovieClip Frame 3
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 445 MovieClip Frame 4
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 445 MovieClip Frame 5
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 445 MovieClip Frame 6
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 445 MovieClip Frame 7
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 445 MovieClip Frame 8
wxculoarea3 = new Color(but1);
wxculoarea4 = new Color(but2);
wxculoarea5 = new Color(but3);
wxculoarea6 = new Color(but4);
wxculoarea7 = new Color(but5);
wxculoarea8 = new Color(but6);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:_parent.xrtb5, ga:"100", gb:_parent.xgtb5, ba:"100", bb:_parent.xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
wxculoarea4.setTransform(myColorTransform2);
wxculoarea5.setTransform(myColorTransform2);
wxculoarea6.setTransform(myColorTransform2);
wxculoarea7.setTransform(myColorTransform2);
wxculoarea8.setTransform(myColorTransform2);
Symbol 450 Button
on (press) {
!!!ERROR
Symbol 453 MovieClip Frame 1
stop();
if (_parent.wxaliniere == "Dreapta-Jos") {
this.gotoAndStop(2);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 6)) {
this.gotoAndStop(3);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 5)) {
this.gotoAndStop(5);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 4)) {
this.gotoAndStop(6);
}
if ((_parent.wxaliniere == "Dreapta-Sus") && (_parent.wxbutno == 3)) {
this.gotoAndStop(7);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 6)) {
this.gotoAndStop(4);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 5)) {
this.gotoAndStop(8);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 4)) {
this.gotoAndStop(9);
}
if ((_parent.wxaliniere == "Stanga-Sus") && (_parent.wxbutno == 3)) {
this.gotoAndStop(10);
}
Symbol 453 MovieClip Frame 2
tg._x = 147;
tg._y = 1.1;
Symbol 453 MovieClip Frame 3
tg._x = 147;
tg._y = -174.9;
Symbol 453 MovieClip Frame 4
tg._x = 1.5;
tg._y = -174.9;
Symbol 453 MovieClip Frame 5
tg._x = 147;
tg._y = -152.4;
Symbol 453 MovieClip Frame 6
tg._x = 147;
tg._y = -128.9;
Symbol 453 MovieClip Frame 7
tg._x = 147;
tg._y = -104.9;
Symbol 453 MovieClip Frame 8
tg._x = 1.5;
tg._y = -151.4;
Symbol 453 MovieClip Frame 9
tg._x = 1.5;
tg._y = -128.4;
Symbol 453 MovieClip Frame 10
tg._x = 1.5;
tg._y = -104.9;
Symbol 472 MovieClip Frame 1
stop();
this.onRollOver = function () {
if (_parent._parent._currentframe <= 10) {
_parent._parent.gotoAndPlay(11);
}
};
if (_parent._parent.wxbutno == 5) {
this.gotoAndStop(2);
}
if (_parent._parent.wxbutno == 4) {
this.gotoAndStop(3);
}
if (_parent._parent.wxbutno == 3) {
this.gotoAndStop(4);
}
Symbol 473 MovieClip Frame 1
stop();
if ((_parent.wxaliniere == "Stanga-Sus") || (_parent.wxaliniere == "Dreapta-Sus")) {
this.gotoAndStop(2);
}
Symbol 474 MovieClip Frame 1
function pauseFunction() {
var _local1 = _root;
if (_local1.pauza == false) {
_local1.bauza._visible = true;
_local1.timer.timestop();
_local1.pauza = true;
} else {
_local1.bauza._visible = false;
_local1.timer.timestart();
_local1.pauza = false;
}
}
function soundFunction() {
var _local1 = _root;
if (_local1.sndmode == 1) {
_local1.sndmode = 0;
_local1.sndClip.sndstop();
} else {
_local1.sndmode = 1;
_local1.sndClip.sndstart();
}
trace(_local1.sndmode);
}
function mainMenuFunction() {
_root.gotoAndStop("coperta");
}
stop();
wxnguides._alpha = 0;
my_color = new Color(my_mc);
my_color.setRGB(wxculoare);
myValue = my_color.getRGB().toString(16);
trace(myValue.length);
if (myValue.length == 5) {
myValue = "0" + myValue;
}
if (myValue.length == 4) {
myValue = "00" + myValue;
}
if (myValue.length == 3) {
myValue = "000" + myValue;
}
if (myValue.length == 2) {
myValue = "0000" + myValue;
}
if (myValue.length == 1) {
myValue = "00000" + myValue;
}
xtbcolor = myValue;
xrtb5 = Number("0x" + xtbcolor.slice(0, 2)) - 1;
xgtb5 = Number("0x" + xtbcolor.slice(2, 4)) - 1;
xbtb5 = Number("0x" + xtbcolor.slice(4, 6)) - 1;
wxculoarea2 = new Color(wxnmenu.tg);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea2.setTransform(myColorTransform);
wxculoarea3 = new Color(wxnfer);
myColorTransform2 = new Object();
myColorTransform2 = {ra:"100", rb:xrtb5, ga:"100", gb:xgtb5, ba:"100", bb:xbtb5, aa:"100", ab:"0"};
wxculoarea3.setTransform(myColorTransform2);
Symbol 474 MovieClip Frame 10
!!!ERROR
Symbol 501 MovieClip Frame 1
!!!ERROR
Symbol 511 Button
on (release) {
!!!ERROR
Symbol 514 Button
on (release) {
_root.xdada = 0;
_root.gotoAndPlay("submitScore");
}
Instance of Symbol 223 MovieClip in Symbol 517 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
!!!ERROR
Symbol 518 MovieClip Frame 20
!!!ERROR
Symbol 523 MovieClip Frame 1
scroll1.setScrollProperties(130, 0, 220);
this.chHand1 = function () {
scoresScroll._y = -(scroll1.getScrollPosition() * 2);
};
scroll1.setChangeHandler("chHand1");
i = 1;
while (i <= 30) {
scoresScroll["n" + i].text = _root.monthnume[i];
scoresScroll["s" + i].text = _root.monthscor[i];
i++;
}
Symbol 530 Button
on (release) {
!!!ERROR
Symbol 835 MovieClip Frame 1
scroll1.setScrollProperties(130, 0, 915);
this.chHand1 = function () {
scoresScroll._y = -(scroll1.getScrollPosition() * 2);
};
scroll1.setChangeHandler("chHand1");
q = 1;
while (q <= 100) {
scoresScroll["n" + q].text = _root.evernume[q];
scoresScroll["s" + q].text = _root.everscor[q];
q++;
}
Instance of Symbol 122 MovieClip [FScrollBarSymbol] "scroll1" in Symbol 835 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
!!!ERROR
Symbol 841 Button
on (release) {
!!!ERROR
Symbol 857 Button
on (release) {
i = 1;
while (i <= 100) {
if (_root.best > _root.monthscor[i]) {
k = 100;
while (k >= (i + 1)) {
_root.monthscor[k] = _root.monthscor[k - 1];
_root.monthnume[k] = _root.monthnume[k - 1];
k--;
}
_root.monthscor[i] = _root.best;
_root.monthnume[i] = _root.nickname;
i = 31;
}
i++;
}
i = 1;
while (i <= 100) {
if (_root.best > _root.everscor[i]) {
k = 100;
while (k >= (i + 1)) {
_root.everscor[k] = _root.everscor[k - 1];
_root.evernume[k] = _root.evernume[k - 1];
k--;
}
_root.everscor[i] = _root.best;
_root.evernume[i] = _root.nickname;
i = 31;
}
i++;
}
gotoAndPlay ("submit");
}
Symbol 863 Button
on (release) {
!!!ERROR
Symbol 867 MovieClip Frame 1
!!!ERROR
Symbol 867 MovieClip Frame 9
!!!ERROR
Symbol 867 MovieClip Frame 22
!!!ERROR
Symbol 867 MovieClip Frame 34
var my_date:Date = new Date();
codul = Math.round(my_date.getTime() / 1000) * _root.best;
cale = (((((("http://www.freeonlinegames.com/scoreboard/update.php?game=" + _root.gameid) + "&name=") + _root.nickname) + "&score=") + _root.best) + "&code=") + codul;
loadVariablesNum (cale, 0, "GET");
gotoAndPlay ("loop");
Symbol 867 MovieClip Frame 45
if (_root.updated != 1) {
gotoAndPlay ("loop");
} else {
_root.best = 0;
_root.score = 0;
_root.xdada = 1;
_root.gotoAndPlay("submitScore");
}