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
_root.b1 = _root.getBytesLoaded();
_root.b2 = _root.getBytesTotal();
_root.tgPrel = 1 + Math.round((b1 * 100) / b2);
_root.tg = _root.tgPrel - 2;
trace("_root.tg: " + _root.tg);
if (_root.tg <= 9) {
_root.procent = "0" + _root.tg;
} else {
_root.procent = _root.tg;
}
_root.prel.gotoAndStop(_root.tgPrel);
Frame 9
if (Math.round(b1 / 1024) <= 100) {
gotoAndPlay ("loop2");
}
Frame 11
_root.b1 = _root.getBytesLoaded();
_root.b2 = _root.getBytesTotal();
_root.tgPrel = 1 + Math.round((b1 * 100) / b2);
_root.tg = _root.tgPrel - 2;
trace("_root.TG: " + tgPrel);
if (_root.tgPrel <= 9) {
_root.procent = "0" + tg;
trace(_root.procent);
} else {
_root.procent = tg;
}
_root.prel.gotoAndStop(_root.tgPrel);
Frame 14
if (b1 < b2) {
gotoAndPlay ("loop3");
}
Frame 15
_root.procent = "--";
prel.gotoAndStop(100);
Frame 122
_root.locatie = _url;
if (_root.locatie.indexOf("www.freeonlinegames.com", 0) != -1) {
_root.play();
}
Frame 130
_root.sunet = true;
_root.plici = new Sound();
_root.plici.attachSound("plici");
_root.locatie = _url;
if (_root.locatie.indexOf("www.freeonlinegames.com", 0) != -1) {
_root.play();
}
Frame 131
_root.pauza = false;
_root.sunet = true;
_root.Bug = false;
_root.timp = 60;
_root.HAP = new Sound();
_root.HAP.attachSound("HAP");
_root.eater = new Sound();
_root.eater.attachSound("eater");
_root.iswin = new Sound();
_root.iswin.attachSound("iswin");
_root.isloser = new Sound();
_root.isloser.attachSound("isloser");
_root.pau._visible = false;
_root.flash.removeMovieClip();
_root.bflash.removeMovieClip();
_root.theMeniu.removeMovieClip();
_root.pau.removeMovieClip();
g = 0;
while (g < 6000) {
_root["bug" + g].removeMovieClip();
g++;
}
f = 0;
while (f < 1000) {
_root["stone" + f].removeMovieClip();
f++;
}
l = 0;
while (l < 1000) {
_root["mc" + l].removeMovieClip();
l++;
}
stopAllSounds();
stop();
Instance of Symbol 181 MovieClip in Frame 131
//component parameters
onClipEvent (initialize) {
wynume = "GoldDiggers";
wyculoare = 6684672 /* 0x660000 */;
wyasezare = "Vertical";
wyaliniere = "Dreapta";
wypozitie = "Jos";
wyinstructions = true;
}
Frame 132
stop();
Frame 191
function setMap() {
map.gotoAndStop(random(3) + 1);
j = 0;
while (j < 40) {
k = 0;
while (k < 22) {
maze[(j * 22) + k] = 1;
eval ("sq" + dep).va = (j * 22) + k;
if (map._currentframe == 1) {
if (((((((((((((((((((j == 19) && (k < 3)) || (k == 3)) || (((j == 9) && (k > 3)) && (k < 6))) || (((j == 25) && (k > 3)) && (k < 6))) || (k == 6)) || (((j == 5) && (k > 6)) && (k < 9))) || (((j == 20) && (k > 6)) && (k < 9))) || (((j == 34) && (k > 6)) && (k < 9))) || (k == 9)) || (((j == 17) && (k > 9)) && (k < 12))) || (((j == 31) && (k > 9)) && (k < 12))) || (k == 12)) || (((j == 9) && (k > 12)) && (k < 15))) || (((j == 21) && (k > 12)) && (k < 15))) || (k == 15)) || (((j == 15) && (k > 15)) && (k < 18))) || (((j == 30) && (k > 15)) && (k < 18))) || (k == 18)) {
maze[(j * 22) + k] = 0;
if ((((((k == 3) || (k == 6)) || (k == 9)) || (k == 12)) || (k == 15)) || (k == 18)) {
i = random(total);
if (i < 2) {
b = random(150);
if ((b > 40) && (b < 45)) {
attachMovie("stone1", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 50;
} else if (b == 39) {
attachMovie("stone2", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 0;
eval ("stone" + ((j * 22) + k)).t = true;
} else {
attachMovie("stone", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 5;
}
eval ("stone" + ((j * 22) + k))._x = (j * 20) + 1;
eval ("stone" + ((j * 22) + k))._y = 170 + (k * 20);
eval ("stone" + ((j * 22) + k)).Pos = (j * 22) + k;
stoneArray.push(eval ("stone" + ((j * 22) + k)));
}
}
}
} else if (map._currentframe == 2) {
if (((((((((((((((((((j == 19) && (k < 3)) || (k == 3)) || (((j == 9) && (k > 3)) && (k < 6))) || (((j == 34) && (k > 3)) && (k < 6))) || (k == 6)) || (((j == 5) && (k > 6)) && (k < 9))) || (((j == 20) && (k > 6)) && (k < 9))) || (((j == 28) && (k > 6)) && (k < 9))) || (k == 9)) || (((j == 17) && (k > 9)) && (k < 12))) || (((j == 31) && (k > 9)) && (k < 12))) || (k == 12)) || (((j == 5) && (k > 12)) && (k < 15))) || (((j == 21) && (k > 12)) && (k < 15))) || (k == 15)) || (((j == 15) && (k > 15)) && (k < 18))) || (((j == 30) && (k > 15)) && (k < 18))) || (k == 18)) {
maze[(j * 22) + k] = 0;
if ((((((k == 3) || (k == 6)) || (k == 9)) || (k == 12)) || (k == 15)) || (k == 18)) {
i = random(total);
if (i == 1) {
b = random(150);
if ((b > 40) && (b < 45)) {
attachMovie("stone1", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 50;
} else if (b == 39) {
attachMovie("stone2", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 0;
eval ("stone" + ((j * 22) + k)).t = true;
} else {
attachMovie("stone", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 5;
}
eval ("stone" + ((j * 22) + k))._x = (j * 20) + 1;
eval ("stone" + ((j * 22) + k))._y = 170 + (k * 20);
eval ("stone" + ((j * 22) + k)).Pos = (j * 22) + k;
stoneArray.push(eval ("stone" + ((j * 22) + k)));
}
}
}
} else if (map._currentframe == 3) {
if (((((((((((((((((j == 19) && (k < 3)) || (k == 3)) || (((j == 18) && (k > 3)) && (k < 6))) || (k == 6)) || (((j == 15) && (k > 6)) && (k < 9))) || (((j == 29) && (k > 6)) && (k < 9))) || (k == 9)) || (((j == 4) && (k > 9)) && (k < 12))) || (((j == 31) && (k > 9)) && (k < 12))) || (k == 12)) || (((j == 9) && (k > 12)) && (k < 15))) || (((j == 27) && (k > 12)) && (k < 15))) || (k == 15)) || (((j == 15) && (k > 15)) && (k < 18))) || (((j == 30) && (k > 15)) && (k < 18))) || (k == 18)) {
maze[(j * 22) + k] = 0;
if ((((((k == 3) || (k == 6)) || (k == 9)) || (k == 12)) || (k == 15)) || (k == 18)) {
i = random(total);
if (i == 1) {
b = random(150);
if ((b > 40) && (b < 45)) {
attachMovie("stone1", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 50;
} else if (b == 39) {
attachMovie("stone2", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 0;
eval ("stone" + ((j * 22) + k)).t = true;
} else {
attachMovie("stone", "stone" + ((j * 22) + k), (1000 + (j * 22)) + k);
eval ("stone" + ((j * 22) + k)).score = 5;
}
eval ("stone" + ((j * 22) + k))._x = (j * 20) + 1;
eval ("stone" + ((j * 22) + k))._y = 170 + (k * 20);
eval ("stone" + ((j * 22) + k)).Pos = (j * 22) + k;
stoneArray.push(eval ("stone" + ((j * 22) + k)));
}
}
}
}
dep++;
k++;
}
j++;
}
}
function callBug() {
if (_root.pauza == false) {
if (Bug) {
i = random(2) + 1;
j = 0;
while (j < i) {
k = random(10);
if (k != 5) {
k = random(2);
attachMovie("bug" + k, "bug" + bdep, 5000 + bdep);
eval ("bug" + bdep).vb = true;
} else {
attachMovie("bomb", "bug" + bdep, 5000 + bdep);
eval ("bug" + bdep).vb = false;
eval ("bug" + bdep).y = 0;
}
eval ("bug" + bdep)._x = (random(2) ? -20 : 820);
eval ("bug" + bdep).va = bdep;
k = random(6);
switch (k) {
case 0 :
eval ("bug" + bdep)._y = 230;
break;
case 1 :
eval ("bug" + bdep)._y = 290;
break;
case 2 :
eval ("bug" + bdep)._y = 350;
break;
case 3 :
eval ("bug" + bdep)._y = 410;
break;
case 4 :
eval ("bug" + bdep)._y = 470;
break;
case 5 :
eval ("bug" + bdep)._y = 530;
}
if (eval ("bug" + bdep)._x == -20) {
eval ("bug" + bdep).x = 2;
} else {
eval ("bug" + bdep).x = -2;
eval ("bug" + bdep)._xscale = -100;
}
bugArray.push(eval ("bug" + bdep));
eval ("bug" + bdep).onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (bugMove) {
_local1._x = _local1._x + _local1.x;
}
if ((_local1._x > 850) || (_local1._x < -50)) {
score = score + 25;
bugArray.splice(_local1.va, 1);
_local1.removeMovieClip();
}
if (_local1.hitTest(chi)) {
score = score + 25;
if (_local2.sunet == true) {
_local2.eater.start(0, 1);
}
if (_local1.vb) {
chi.gotoAndPlay(3);
bugArray.splice(_local1.va, 1);
_local1.removeMovieClip();
} else {
if (_local2.sunet == true) {
bombSound.start(0, 1);
}
attachMovie("flash", "bflash", 20000);
bflash._x = _local1._x;
bflash._y = _local1._y - 50;
bugArray.splice(_local1.va, 1);
removeMovieClip(_local1);
_local2.border.cao._xscale = _local2.border.cao._xscale - 50;
if (_local2.border.cao._xscale > 0) {
_local2.shake();
} else {
gnaw = false;
_local2.GameOver();
}
}
}
ml = mcArray.length;
while ((--ml) > -1) {
if (mcArray[ml].hitTest(_local1)) {
if (_local1.vb) {
_local1.x = 0;
_local1.gnaw = true;
if (_local1._currentframe < 9) {
_local1.gotoAndPlay(9);
}
} else {
if (_local2.sunet == true) {
bombSound.start(0, 1);
}
attachMovie("flash", "bflash", 20000);
bflash._x = _local1._x;
bflash._y = _local1._y - 50;
bugArray.splice(_local1.va, 1);
removeMovieClip(_local1);
_local2.border.cao._xscale = _local2.border.cao._xscale - 50;
if (_local2.border.cao._xscale > 0) {
_local2.shake();
} else {
gnaw = false;
_local2.GameOver();
}
}
}
}
bl = bugArray.length;
while ((--bl) > -1) {
if (((bugArray[bl].hitTest(_local1) && (bugArray[bl].va != _local1.va)) && (_local1.vb)) && (bugArray[bl].vb)) {
a = random(2);
bugArray[bl].gotoAndPlay(9);
_local1.gotoAndPlay(9);
if (a == 0) {
bugArray.splice(bl, 1);
bugArray[bl].removeMovieClip();
} else {
bugArray.splice(_local1.va, 1);
_local1.removeMovieClip();
}
}
}
};
bdep++;
j++;
}
}
}
}
function setSounds() {
jiekouSound = new Sound();
jiekouSound.attachSound("sound5.mp3");
stoneSound = new Sound();
stoneSound.attachSound("sound9.mp3");
stone2Sound = new Sound();
stone2Sound.attachSound("sound4.mp3");
bugSound = new Sound();
bugSound.attachSound("sound3.mp3");
flashSound = new Sound();
flashSound.attachSound("sound13.mp3");
bombSound = new Sound();
bombSound.attachSound("sound6.mp3");
shakeSound = new Sound();
shakeSound.attachSound("sound7.mp3");
}
function setGame() {
_root.timp = 80;
if (_root.pauza == false) {
minutes = "00";
seconds = "00";
unpauseTime = true;
startTime = undefined;
dep = 0;
bdep = 0;
border.cao._xscale = 100;
Pos = 418;
dir = "down";
KeyDown = true;
bugMove = true;
tt = 120;
maze = new Array();
stoneArray = new Array();
mcArray = new Array();
mcPosArray = new Array();
bugArray = new Array();
PosArray = new Array();
cPos = new Array(chi._x, chi._y, chi._rotation, Pos, dir);
PosArray.push(cPos);
setMap();
setSounds();
setBugs = setInterval(callBug, time);
Bug = true;
callBug();
maze[Pos] = 3;
KeyControl = new Object();
Key.addListener(KeyControl);
KeyControl.onKeyDown = function () {
if (KeyDown) {
Move = setInterval(MoveTime, 50);
KeyDown = false;
}
};
}
}
function MoveTime() {
clearInterval(Move);
yu.gotoAndPlay(2);
var _local1 = Key.getCode();
switch (_local1) {
case 37 :
if (maze[Pos - 22] != 1) {
left();
}
break;
case 39 :
if (maze[Pos + 22] != 1) {
right();
}
break;
case 38 :
if (maze[Pos - 1] != 1) {
up();
}
break;
case 40 :
if (maze[Pos + 1] != 1) {
down();
}
break;
case 32 :
Back();
Back();
}
KeyDown = true;
}
function Back() {
if (_root.pauza == false) {
eval ("mc" + dep).removeMovieClip();
dep--;
if (PosArray.length > 1) {
PosArray.splice(PosArray.length - 1, 1);
}
chi._x = PosArray[PosArray.length - 1][0];
chi._y = PosArray[PosArray.length - 1][1];
chi._rotation = PosArray[PosArray.length - 1][2];
maze[Pos] = 0;
Pos = PosArray[PosArray.length - 1][3];
dir = PosArray[PosArray.length - 1][4];
maze[Pos] = 3;
mcPosArray.splice(mcPosArray.length - 1, 1);
mcArray.splice(mcPosArray.length - 1, 1);
}
}
function left() {
if (_root.pauza == false) {
if ((maze[Pos - 22] == 2) && (mcPosArray[mcPosArray.length - 1] == (Pos - 22))) {
chi._rotation = -90;
maze[Pos] = 0;
Pos = Pos - 22;
maze[Pos] = 3;
if (eval ("mc" + dep).va == "down") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
chi._x = chi._x - 20;
chi._rotation = 0;
dir = "down";
} else if (eval ("mc" + dep).va == "up") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
chi._x = chi._x - 20;
chi._rotation = 180;
dir = "up";
} else {
chi._x = chi._x - 20;
}
eval ("mc" + dep).removeMovieClip();
mcArray.splice(dep, 1);
PosArray.splice(PosArray.length - 1, 1);
mcPosArray.splice(mcPosArray.length - 1, 1);
dep--;
} else if (maze[Pos - 22] == 0) {
chi._rotation = 90;
maze[Pos] = 2;
Pos = Pos - 22;
maze[Pos] = 3;
if (dir == "down") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
attachMovie("jiekou", "mc" + dep, dep++);
eval ("mc" + dep)._x = chi._x - 2;
eval ("mc" + dep)._y = chi._y - 2;
eval ("mc" + dep).va = "down";
chi._rotation = 90;
chi._x = chi._x - 20;
} else if (dir == "up") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
attachMovie("jiekou", "mc" + dep, dep++);
eval ("mc" + dep).gotoAndStop(3);
eval ("mc" + dep)._x = chi._x - 2;
eval ("mc" + dep)._y = chi._y + 2;
eval ("mc" + dep).va = "up";
chi._rotation = 90;
chi._x = chi._x - 20;
} else if (dir == "left") {
attachMovie("mc", "mc" + dep, dep++);
eval ("mc" + dep)._rotation = 90;
eval ("mc" + dep)._x = chi._x;
eval ("mc" + dep)._y = chi._y;
chi._x = chi._x - 20;
}
dir = "left";
mcArray.push(eval ("mc" + dep));
mcPosArray.push(Pos + 22);
cPos = new Array(chi._x, chi._y, chi._rotation, Pos, dir);
PosArray.push(cPos);
checkHit();
}
}
}
function right() {
if (_root.pauza == false) {
if ((maze[Pos + 22] == 2) && (mcPosArray[mcPosArray.length - 1] == (Pos + 22))) {
chi._rotation = 90;
maze[Pos] = 0;
Pos = Pos + 22;
maze[Pos] = 3;
if (eval ("mc" + dep).va == "down") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
chi._x = chi._x + 20;
chi._rotation = 0;
dir = "down";
} else if (eval ("mc" + dep).va == "up") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
chi._x = chi._x + 20;
chi._rotation = 180;
dir = "up";
} else {
chi._x = chi._x + 20;
}
eval ("mc" + dep).removeMovieClip();
mcArray.splice(dep, 1);
PosArray.splice(PosArray.length - 1, 1);
mcPosArray.splice(mcPosArray.length - 1, 1);
dep--;
} else if (maze[Pos + 22] == 0) {
chi._rotation = -90;
maze[Pos] = 2;
Pos = Pos + 22;
maze[Pos] = 3;
if (dir == "down") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
attachMovie("jiekou", "mc" + dep, dep++);
eval ("mc" + dep).gotoAndStop(2);
eval ("mc" + dep)._x = chi._x + 2;
eval ("mc" + dep)._y = chi._y - 2;
eval ("mc" + dep).va = "down";
chi._rotation = -90;
chi._x = chi._x + 20;
} else if (dir == "up") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
attachMovie("jiekou", "mc" + dep, dep++);
eval ("mc" + dep).gotoAndStop(4);
eval ("mc" + dep)._x = chi._x + 2;
eval ("mc" + dep)._y = chi._y + 2;
eval ("mc" + dep).va = "up";
chi._rotation = -90;
chi._x = chi._x + 20;
} else if (dir == "right") {
attachMovie("mc", "mc" + dep, dep++);
eval ("mc" + dep)._rotation = -90;
eval ("mc" + dep)._x = chi._x;
eval ("mc" + dep)._y = chi._y;
chi._x = chi._x + 20;
}
dir = "right";
mcArray.push(eval ("mc" + dep));
mcPosArray.push(Pos - 22);
cPos = new Array(chi._x, chi._y, chi._rotation, Pos, dir);
PosArray.push(cPos);
checkHit();
}
}
}
function down() {
if (_root.pauza == false) {
if ((maze[Pos + 1] == 2) && (mcPosArray[mcPosArray.length - 1] == (Pos + 1))) {
chi._rotation = 180;
maze[Pos] = 0;
Pos++;
maze[Pos] = 3;
chi.vb = Pos;
if (eval ("mc" + dep).va == "left") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
chi._y = chi._y + 20;
chi._rotation = 90;
dir = "left";
} else if (eval ("mc" + dep).va == "right") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
chi._y = chi._y + 20;
chi._rotation = -90;
dir = "right";
} else {
chi._y = chi._y + 20;
}
eval ("mc" + dep).removeMovieClip();
mcArray.splice(dep, 1);
PosArray.splice(PosArray.length - 1, 1);
mcPosArray.splice(mcPosArray.length - 1, 1);
dep--;
} else if (maze[Pos + 1] == 0) {
chi._rotation = 0;
maze[Pos] = 2;
Pos++;
maze[Pos] = 3;
if (dir == "left") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
attachMovie("jiekou", "mc" + dep, dep++);
eval ("mc" + dep).gotoAndStop(4);
eval ("mc" + dep)._x = chi._x + 2;
eval ("mc" + dep)._y = chi._y + 2;
eval ("mc" + dep).va = "left";
chi._rotation = 0;
chi._y = chi._y + 20;
} else if (dir == "right") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
attachMovie("jiekou", "mc" + dep, dep++);
eval ("mc" + dep).gotoAndStop(3);
eval ("mc" + dep)._x = chi._x - 2;
eval ("mc" + dep)._y = chi._y + 2;
eval ("mc" + dep).va = "right";
chi._rotation = 0;
chi._y = chi._y + 20;
} else if (dir == "down") {
attachMovie("mc", "mc" + dep, dep++);
eval ("mc" + dep)._x = chi._x;
eval ("mc" + dep)._y = chi._y;
chi._y = chi._y + 20;
}
dir = "down";
mcArray.push(eval ("mc" + dep));
mcPosArray.push(Pos - 1);
cPos = new Array(chi._x, chi._y, chi._rotation, Pos, dir);
PosArray.push(cPos);
checkHit();
}
}
}
function up() {
if (_root.pauza == false) {
if ((maze[Pos - 1] == 2) && (mcPosArray[mcPosArray.length - 1] == (Pos - 1))) {
chi._rotation = 0;
maze[Pos] = 0;
Pos--;
maze[Pos] = 3;
if (eval ("mc" + dep).va == "left") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
chi._y = chi._y - 20;
chi._rotation = 90;
dir = "left";
} else if (eval ("mc" + dep).va == "right") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
chi._y = chi._y - 20;
chi._rotation = -90;
dir = "right";
} else {
chi._y = chi._y - 20;
}
eval ("mc" + dep).removeMovieClip();
mcArray.splice(dep, 1);
PosArray.splice(PosArray.length - 1, 1);
mcPosArray.splice(mcPosArray.length - 1, 1);
dep--;
} else if (maze[Pos - 1] == 0) {
chi._rotation = 180;
maze[Pos] = 2;
Pos--;
maze[Pos] = 3;
if (dir == "left") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
attachMovie("jiekou", "mc" + dep, dep++);
eval ("mc" + dep).gotoAndStop(2);
eval ("mc" + dep)._x = chi._x + 2;
eval ("mc" + dep)._y = chi._y - 2;
eval ("mc" + dep).va = "left";
chi._rotation = 180;
chi._y = chi._y - 20;
} else if (dir == "right") {
if (_root.sunet == true) {
jiekouSound.start(0, 1);
}
attachMovie("jiekou", "mc" + dep, dep++);
eval ("mc" + dep)._x = chi._x - 2;
eval ("mc" + dep)._y = chi._y - 2;
eval ("mc" + dep).va = "right";
chi._rotation = 180;
chi._y = chi._y - 20;
} else if (dir == "up") {
attachMovie("mc", "mc" + dep, dep++);
eval ("mc" + dep)._x = chi._x;
eval ("mc" + dep)._y = chi._y;
chi._y = chi._y - 20;
}
dir = "up";
mcArray.push(eval ("mc" + dep));
cPos = new Array(chi._x, chi._y, chi._rotation, Pos, dir);
PosArray.push(cPos);
mcPosArray.push(Pos + 1);
checkHit();
}
}
}
function checkHit() {
var _local1 = _root;
if (_local1.pauza == false) {
l = stoneArray.length;
while ((--l) > -1) {
if (stoneArray[l].Pos == Pos) {
chi.gotoAndPlay(3);
score = score + stoneArray[l].score;
if (stoneArray[l].t) {
if (_local1.sunet == true) {
stone2Sound.start(0, 1);
}
bugMove = false;
} else if (_local1.sunet == true) {
stoneSound.start(0, 1);
}
stoneArray[l].removeMovieClip();
stoneArray.splice(l, 1);
if (stoneArray.length == 0) {
delete KeyDown;
delete KeyControl.onKeyDown;
clearInterval(setBugs);
Bug = false;
k = 0;
while (k < bdep) {
_local1["bug" + k].removeMovieClip();
k++;
}
callback1 = setInterval(autoBack1, 30);
}
}
}
}
}
function shake() {
if (_root.pauza == false) {
if (_root.sunet == true) {
shakeSound.start(0, 1);
}
i = 0;
while (i < (dep + 1)) {
if (eval ("mc" + i).va == undefined) {
eval ("mc" + i).gotoAndPlay(2);
}
i++;
}
}
}
function autoBack1() {
if (_root.pauza == false) {
eval ("mc" + dep).removeMovieClip();
dep--;
if (PosArray.length > 1) {
PosArray.splice(PosArray.length - 1, 1);
}
chi._x = PosArray[PosArray.length - 1][0];
chi._y = PosArray[PosArray.length - 1][1];
chi._rotation = PosArray[PosArray.length - 1][2];
maze[Pos] = 0;
Pos = PosArray[PosArray.length - 1][3];
dir = PosArray[PosArray.length - 1][4];
maze[Pos] = 3;
mcPosArray.splice(mcPosArray.length - 1, 1);
mcArray.splice(mcPosArray.length - 1, 1);
if (Pos == 418) {
clearInterval(callback1);
if (Level < 10) {
if (_root.sunet == true) {
_root.iswin.start(0, 1);
}
_root.theMeniu._visible = false;
attachMovie("nextLevel", "nextLevel", _root.getNextHighestDepth());
} else {
attachMovie("mask", "mask", _root.getNextHighestDepth());
mask._x = 0;
mask._y = 0;
mask._alpha = 0;
mask.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
_local1._alpha = _local1._alpha + 5;
if (_local1._alpha >= 100) {
if (_local2.sunet == true) {
_local2.iswin.start(0, 1);
}
_local2.theMeniu._visible = false;
_local2.gotoAndStop("win");
_local1.onEnterFrame = function () {
var _local1 = this;
_local1._alpha = _local1._alpha - 5;
if (_local1._alpha <= 0) {
removeMovieClip(_local1);
}
};
}
};
}
}
}
}
function autoBack2() {
if (_root.pauza == false) {
attachMovie("flash", "flash", 10000);
flash._xscale = (flash._yscale = 40);
flash._x = eval ("mc" + dep)._x + 3;
flash._y = eval ("mc" + dep)._y - 24;
eval ("mc" + dep).removeMovieClip();
dep--;
if (PosArray.length > 1) {
PosArray.splice(PosArray.length - 1, 1);
}
chi._x = PosArray[PosArray.length - 1][0];
chi._y = PosArray[PosArray.length - 1][1];
chi._rotation = PosArray[PosArray.length - 1][2];
maze[Pos] = 0;
Pos = PosArray[PosArray.length - 1][3];
dir = PosArray[PosArray.length - 1][4];
maze[Pos] = 3;
mcPosArray.splice(mcPosArray.length - 1, 1);
mcArray.splice(mcPosArray.length - 1, 1);
if (Pos == 418) {
FSound.removeMovieClip();
clearInterval(callback2);
if (_root.sunet == true) {
_root.isloser.start(0, 1);
}
_root.theMeniu._visible = false;
attachMovie("fail", "fail", _root.getNextHighestDepth);
}
}
}
function GameOver() {
var _local1 = _root;
unpauseTime = false;
delete KeyDown;
delete KeyControl.onKeyDown;
clearInterval(setBugs);
Bug = false;
k = 0;
while (k < bdep) {
_local1["bug" + k].removeMovieClip();
k++;
}
callback2 = setInterval(autoBack2, 50);
attachMovie("FSound", "FSound", 30000);
}
stop();
Level = 1;
score = 0;
time = 15000;
total = 15;
_root.pau._visible = false;
setGame();
onEnterFrame = function () {
if (_root.pauza == false) {
if (bugMove == false) {
tt--;
if (tt == 0) {
bugMove = true;
tt = 120;
}
}
if (unpauseTime) {
if (startTime == undefined) {
startTime = getTimer();
}
nowTime = getTimer();
timer = nowTime - startTime;
minutes = Math.floor((timer / 1000) / 60);
if (minutes < 10) {
minutes = "0" + minutes;
}
seconds = Math.floor(timer / 1000) - (minutes * 60);
if (seconds < 10) {
seconds = "0" + seconds;
}
}
}
};
Instance of Symbol 299 MovieClip "yu" in Frame 191
onClipEvent (enterFrame) {
if (_root.timp <= 0) {
l = 0;
while (l < 1000) {
_root["mc" + l]._visible = false;
l++;
}
_root.chi._visible = false;
eval ("mc" + dep).removeMovieClip();
_root.dep--;
_root.PosArray.splice(_root.PosArray.length - 1, 1);
_root.chi._x = PosArray[PosArray.length - 1][0];
_root.chi._y = PosArray[PosArray.length - 1][1];
_root.chi._rotation = PosArray[PosArray.length - 1][2];
_root.maze[Pos] = 0;
_root.Pos = _root.PosArray[_root.PosArray.length - 1][3];
_root.dir = _root.PosArray[_root.PosArray.length - 1][4];
_root.maze[Pos] = 3;
_root.mcPosArray.splice(_root.mcPosArray.length - 1, 1);
_root.mcArray.splice(_root.mcPosArray.length - 1, 1);
_root.FSound.removeMovieClip();
_root.clearInterval(callback2);
_root.theMeniu._visible = false;
_root.attachMovie("fail", "fail", _root.getNextHighestDepth);
}
}
Instance of Symbol 337 MovieClip "border" in Frame 191
/* no clip actions */
Instance of Symbol 390 MovieClip "theMeniu" in Frame 191
//component parameters
onClipEvent (initialize) {
wxnume = "GoldDiggers";
wxaliniere = "Dreapta-Jos";
wxculoare = 10122834 /* 0x9A7652 */;
wxdownload = true;
wxpause = true;
wxsound = true;
}
onClipEvent (load) {
this.swapDepths(100001);
}
Instance of Symbol 394 MovieClip "pau" in Frame 191
onClipEvent (load) {
this.swapDepths(100000);
}
Frame 192
Bug = false;
stop();
Instance of Symbol 181 MovieClip in Frame 192
//component parameters
onClipEvent (initialize) {
wynume = "GoldDiggers";
wyculoare = 8413764 /* 0x806244 */;
wyasezare = "Vertical";
wyaliniere = "Centru";
wypozitie = "Jos";
wyinstructions = false;
}
Frame 193
trace("SCOR :" + score);
Bug = false;
removeMovieClip(_root.xxc1);
removeMovieClip(_root.xxc2);
removeMovieClip(_root.xxc3);
removeMovieClip(_root.xxc4);
delete _root.onEnterFrame;
_root.flash.removeMovieClip();
_root.bflash.removeMovieClip();
_root.theMeniu.removeMovieClip();
_root.pau.removeMovieClip();
g = 0;
while (g < 6000) {
_root["bug" + g].removeMovieClip();
g++;
}
f = 0;
while (f < 1000) {
_root["stone" + f].removeMovieClip();
f++;
}
l = 0;
while (l < 1000) {
_root["mc" + l].removeMovieClip();
l++;
}
stopAllSounds();
Frame 194
_root.gameid = "GoldDiggers";
_root.best = score;
score = 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 196
cale = "http://www.freeonlinegames.com/scoreboard/score.php?game=" + _root.gameid;
loadVariablesNum (cale, 0, "POST");
Frame 197
if (false) {
}
Frame 204
if (done != 1) {
gotoAndPlay ("loopLoad");
} else {
gotoAndPlay ("scoreTable");
}
Frame 208
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 209
stop();
if (_root.best > everscor[100]) {
scoreWind.gotoAndStop("submitScoreYes");
} else {
scoreWind.gotoAndStop("submitScoreNo");
}
if (_root.xdada == 1) {
scoreWind.gotoAndStop("topEver");
}
Symbol 11 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 24 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 33 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 42 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 43 MovieClip [UpArrow] Frame 1
stop();
Symbol 43 MovieClip [UpArrow] Frame 2
stop();
Symbol 43 MovieClip [UpArrow] Frame 3
stop();
Symbol 49 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 58 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 63 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 64 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 72 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 80 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 88 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 89 MovieClip [DownArrow] Frame 1
stop();
Symbol 89 MovieClip [DownArrow] Frame 2
stop();
Symbol 89 MovieClip [DownArrow] Frame 3
stop();
Symbol 97 MovieClip [bug1] Frame 8
gotoAndPlay (1);
Symbol 97 MovieClip [bug1] Frame 9
if (_root.sunet == true) {
_root.HAP.start(0, 2);
}
Symbol 97 MovieClip [bug1] Frame 14
if (gnaw) {
_root.border.cao._xscale = _root.border.cao._xscale - 25;
if (_root.border.cao._xscale > 0) {
_root.shake();
} else {
gnaw = false;
_root.GameOver();
}
gotoAndPlay (9);
}
Symbol 105 MovieClip [bug0] Frame 8
gotoAndPlay (1);
Symbol 105 MovieClip [bug0] Frame 9
if (_root.sunet == true) {
_root.HAP.start(0, 2);
}
Symbol 105 MovieClip [bug0] Frame 14
if (gnaw) {
_root.border.cao._xscale = _root.border.cao._xscale - 50;
if (_root.border.cao._xscale > 0) {
_root.shake();
} else {
gnaw = false;
_root.GameOver();
}
gotoAndPlay (9);
}
Symbol 111 MovieClip [flash] Frame 6
removeMovieClip(this);
Symbol 116 MovieClip [jiekou] Frame 1
stop();
Symbol 116 MovieClip [jiekou] Frame 2
stop();
Symbol 116 MovieClip [jiekou] Frame 3
stop();
Symbol 116 MovieClip [jiekou] Frame 4
stop();
Symbol 123 MovieClip [mc] Frame 1
trace(this);
stop();
Symbol 132 Button
on (release) {
_root.gotoAndPlay("coperta");
i = 0;
while (i < _root.stoneArray.length) {
_root.stoneArray[i].removeMovieClip();
i++;
}
_root.fail.removeMovieClip();
}
Symbol 136 Button
on (release) {
_root.xdada = 0;
_root.gotoAndPlay("submitScore");
i = 0;
while (i < _root.stoneArray.length) {
_root.stoneArray[i].removeMovieClip();
i++;
}
_root.fail.removeMovieClip();
}
Symbol 141 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 148 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 148 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 148 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 149 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 156 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 156 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 156 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 157 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wynume;
getURL (targetul3, "_blank");
}
Symbol 160 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 160 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 160 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 165 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 169 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 170 MovieClip Frame 1
stop();
Symbol 171 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 178 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 178 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 178 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 179 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
function instructionsFunction() {
_root.gotoAndPlay("Rules");
}
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 181 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 181 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 181 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 181 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 181 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 182 MovieClip [fail] Frame 1
_root.timeMovie.stop();
g = 0;
while (g < 600) {
_root["bug" + g]._visible = false;
g++;
}
f = 0;
while (f < 1000) {
_root["stone" + f]._visible = false;
f++;
}
Instance of Symbol 181 MovieClip in Symbol 182 MovieClip [fail] Frame 1
//component parameters
onClipEvent (initialize) {
wynume = "GoldDiggers";
wyculoare = 8413764 /* 0x806244 */;
wyasezare = "Vertical";
wyaliniere = "Centru";
wypozitie = "Jos";
wyinstructions = false;
}
Symbol 194 MovieClip [FSound] Frame 1
if (_root.sunet == true) {
_root.flashSound.start();
}
Symbol 194 MovieClip [FSound] Frame 3
if (_root.sunet == true) {
_root.flashSound.start();
}
Symbol 194 MovieClip [FSound] Frame 5
if (_root.sunet == true) {
_root.flashSound.start();
}
Symbol 194 MovieClip [FSound] Frame 7
if (_root.sunet == true) {
_root.flashSound.start();
}
Symbol 194 MovieClip [FSound] Frame 9
if (_root.sunet == true) {
_root.flashSound.start();
}
Symbol 194 MovieClip [FSound] Frame 11
if (_root.sunet == true) {
_root.flashSound.start();
}
Symbol 194 MovieClip [FSound] Frame 13
if (_root.sunet == true) {
_root.flashSound.start();
}
Symbol 194 MovieClip [FSound] Frame 15
if (_root.sunet == true) {
_root.flashSound.start();
}
Symbol 197 Button
on (release) {
_root.theMeniu._visible = true;
_root.timeMovie.play();
_root.Level++;
_root.time = _root.time - 1000;
_root.total--;
i = 0;
while (i < _root.stoneArray.length) {
_root.stoneArray[i].removeMovieClip();
i++;
}
_root.setGame();
_root.nextLevel.removeMovieClip();
}
Symbol 200 MovieClip [nextLevel] Frame 1
_root.timeMovie.stop();
stop();
Instance of Symbol 181 MovieClip in Symbol 200 MovieClip [nextLevel] Frame 1
//component parameters
onClipEvent (initialize) {
wynume = "GoldDiggers";
wyculoare = 8413764 /* 0x806244 */;
wyasezare = "Vertical";
wyaliniere = "Centru";
wypozitie = "Jos";
wyinstructions = false;
}
Symbol 204 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 205 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 207 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?GoldDiggers", "_blank");
}
Symbol 211 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 50
stop();
_parent.play();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 262 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?GoldDiggers", "_blank");
}
Symbol 267 Button
on (release) {
gotoAndPlay (191);
}
Symbol 287 MovieClip Frame 10
stop();
Symbol 288 Button
on (release) {
_root.gotoAndPlay("coperta");
}
Symbol 299 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 2
stop();
Symbol 321 MovieClip Frame 3
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 12
if (_root.pauza == false) {
if (_root.timp > 0) {
_root.timp--;
}
}
Symbol 346 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wxnume;
getURL (targetul3, "_blank");
}
Symbol 347 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wxnume;
getURL (targetul2, "_blank");
}
Symbol 348 Button
on (release) {
_parent.mainMenuFunction();
}
Symbol 349 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wxnume) + ".exe";
getURL (targetul1);
}
Symbol 350 Button
on (release, keyPress "p") {
_parent.pauseFunction();
}
Symbol 351 Button
on (release, keyPress "s") {
_parent.soundFunction();
}
Symbol 362 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 362 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 362 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 362 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 362 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 362 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 362 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 362 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 367 Button
on (press) {
_parent.play();
}
Symbol 370 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 370 MovieClip Frame 2
tg._x = 147;
tg._y = 1.1;
Symbol 370 MovieClip Frame 3
tg._x = 147;
tg._y = -174.9;
Symbol 370 MovieClip Frame 4
tg._x = 1.5;
tg._y = -174.9;
Symbol 370 MovieClip Frame 5
tg._x = 147;
tg._y = -152.4;
Symbol 370 MovieClip Frame 6
tg._x = 147;
tg._y = -128.9;
Symbol 370 MovieClip Frame 7
tg._x = 147;
tg._y = -104.9;
Symbol 370 MovieClip Frame 8
tg._x = 1.5;
tg._y = -151.4;
Symbol 370 MovieClip Frame 9
tg._x = 1.5;
tg._y = -128.4;
Symbol 370 MovieClip Frame 10
tg._x = 1.5;
tg._y = -104.9;
Symbol 388 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 389 MovieClip Frame 1
stop();
if ((_parent.wxaliniere == "Stanga-Sus") || (_parent.wxaliniere == "Dreapta-Sus")) {
this.gotoAndStop(2);
}
Symbol 390 MovieClip Frame 1
function pauseFunction() {
var _local1 = _root;
if (_local1.pauza == false) {
_local1.theMeniu.gotoAndStop("deskis");
_local1.pauza = true;
_local1.pau._visible = 1;
_local1.unpauseTime = false;
_local1.bugMove = false;
} else {
_local1.theMeniu.gotoAndStop("inkis");
_local1.pauza = false;
_local1.pau._visible = 0;
_local1.unpauseTime = true;
_local1.bugMove = true;
}
}
function soundFunction() {
var _local1 = _root;
if (_local1.sunet == true) {
_local1.sunet = false;
} else {
_local1.sunet = true;
}
trace("sunet: " + _local1.sunet);
}
function mainMenuFunction() {
var _local1 = _root;
_local1.gotoAndPlay("coperta");
i = 0;
while (i < _local1.stoneArray.length) {
_local1.stoneArray[i].removeMovieClip();
i++;
}
_local1.score = 0;
_local1.fail.removeMovieClip();
}
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 390 MovieClip Frame 10
stop();
Symbol 390 MovieClip Frame 20
gotoAndStop (1);
Symbol 395 Button
on (release) {
_root.gotoAndPlay("coperta");
}
Symbol 396 Button
on (release) {
_root.xdada = 0;
_root.gotoAndPlay("submitScore");
}
Symbol 406 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 413 Button
on (release) {
_root.gotoAndStop("coperta");
}
Symbol 718 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 205 MovieClip [FScrollBarSymbol] "scroll1" in Symbol 718 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
Symbol 724 Button
on (release) {
_root.gotoAndStop("coperta");
}
Symbol 740 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 746 Button
on (release) {
_root.gotoAndStop("coperta");
}
Symbol 750 MovieClip Frame 1
stop();
Symbol 750 MovieClip Frame 9
stop();
Symbol 750 MovieClip Frame 22
stop();
Symbol 750 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 750 MovieClip Frame 45
if (_root.updated != 1) {
gotoAndPlay ("loop");
} else {
_root.best = 0;
_root.score = 0;
_root.xdada = 1;
_root.gotoAndPlay("submitScore");
}