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 112
_root.locatie = _url;
if (_root.locatie.indexOf("www.freeonlinegames.com", 0) != -1) {
_root.play();
}
Frame 120
_root.sunet = true;
_root.locatie = _url;
if (_root.locatie.indexOf("www.freeonlinegames.com", 0) != -1) {
_root.play();
}
Frame 121
SowFree = false;
Frame 122
laststep = new Array("0", "0", "0");
_root.music = new Sound();
_root.music.attachSound("music");
_root.piesa = new Sound();
_root.piesa.attachSound("piesa");
_root.hiden = new Sound();
_root.hiden.attachSound("hiden");
_root.sunet = true;
_root.pauza = false;
stopAllSounds();
_root.scorFinal = 0;
_root.pau._visible = false;
stop();
function GetClickedNumber() {
var NewName = "0";
var t = 1;
while (t <= RestFree) {
if (eval ("f0" + String(t)).FishkiFree && (eval ("f0" + String(t)).FishkiAviable)) {
tellTarget ("f0" + String(t)) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
NewName = "f0" + String(t);
}
};
}
t++;
}
if (NewName ne "0") {
return(NewName);
}
var l = 1;
while (l <= sloyov) {
var r = 1;
while (r <= ((sloyov + 1) - l)) {
var c = 1;
while (c <= ((sloyov + 1) - l)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree && (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable)) {
tellTarget ((("f" + String(l)) + String(r)) + String(c)) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
NewName = (("f" + String(l)) + String(r)) + String(c);
}
};
}
c++;
}
r++;
}
l++;
}
return(NewName);
}
function GetDublikatesExist() {
var NewFrame;
var NowFishka;
var Funktion;
var NextTime = 1;
var FullNumber = GetAllFreeNumber();
do {
NowFishka = 0;
Funktion = false;
var t = 1;
while (t <= RestFree) {
if (eval ("f0" + String(t)).FishkiFree && (eval ("f0" + String(t)).FishkiAviable)) {
NowFishka++;
if (NowFishka == NextTime) {
NewFrame = eval (("f0" + String(t)) + ".fishka")._currentframe;
Funktion = true;
} else if (Funktion) {
if (eval (("f0" + String(t)) + ".fishka")._currentframe == NewFrame) {
return(true);
}
}
}
t++;
}
var l = 1;
while (l <= sloyov) {
var r = 1;
while (r <= ((sloyov + 1) - l)) {
var c = 1;
while (c <= ((sloyov + 1) - l)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree && (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable)) {
NowFishka++;
if (NowFishka == NextTime) {
NewFrame = eval (((("f" + String(l)) + String(r)) + String(c)) + ".fishka")._currentframe;
Funktion = true;
} else if (Funktion) {
if (eval (((("f" + String(l)) + String(r)) + String(c)) + ".fishka")._currentframe == NewFrame) {
return(true);
}
}
}
c++;
}
r++;
}
l++;
}
NextTime++;
} while (NextTime < FullNumber);
return(false);
}
function GetNewOpinion40(l, r, c) {
var _local1 = c;
var _local2 = l;
var _local3 = r;
if (_local2 == 1) {
if (_local1 == 4) {
GetNewZeroC40();
GetNewZeroR40();
} else if (_local1 == 1) {
GetNewZeroC40();
GetNewZeroL40();
}
ChangeFreeSituation40(_local2, _local3, _local1 + 1);
ChangeFreeSituation40(_local2, _local3, _local1 - 1);
ChangeFreeSituation40(_local2, _local3 + 1, _local1);
ChangeFreeSituation40(_local2, _local3 - 1, _local1);
} else if (_local2 == 0) {
GetNewZeroC40();
GetNewZeroR40();
GetNewZeroL40();
} else {
ChangeFreeSituation40(_local2, _local3, _local1 + 1);
ChangeFreeSituation40(_local2, _local3, _local1 - 1);
ChangeFreeSituation40(_local2, _local3 + 1, _local1);
ChangeFreeSituation40(_local2, _local3 - 1, _local1);
ChangeFreeSituation40(_local2 - 1, _local3, _local1);
ChangeFreeSituation40(_local2 - 1, _local3, _local1 + 1);
ChangeFreeSituation40(_local2 - 1, _local3, _local1 - 1);
ChangeFreeSituation40(_local2 - 1, _local3 + 1, _local1);
ChangeFreeSituation40(_local2 - 1, _local3 - 1, _local1);
ChangeFreeSituation40(_local2 - 1, _local3 + 1, _local1 + 1);
ChangeFreeSituation40(_local2 - 1, _local3 - 1, _local1 + 1);
ChangeFreeSituation40(_local2 - 1, _local3 + 1, _local1 - 1);
ChangeFreeSituation40(_local2 - 1, _local3 - 1, _local1 - 1);
}
}
function ChangeFreeSituation40(l, r, c) {
if ((l == 1) && (c == 1)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroL40();
} else if ((l == 1) && (c == 4)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroR40();
} else if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
}
function GetNewZeroC40() {
f02.FishkiFree = (!f01.FishkiAviable) || (!f111.FishkiAviable);
f03.FishkiFree = (!f04.FishkiAviable) || (!f114.FishkiAviable);
f08.FishkiFree = (!f07.FishkiAviable) || (!f141.FishkiAviable);
f09.FishkiFree = (!f010.FishkiAviable) || (!f144.FishkiAviable);
}
function GetNewZeroR40() {
f114.FishkiFree = Center(1, 1, 4);
f114.FishkiFree = f114.FishkiFree && ((!f03.FishkiAviable) || (!f113.FishkiAviable));
f144.FishkiFree = Center(1, 4, 4);
f144.FishkiFree = f144.FishkiFree && ((!f09.FishkiAviable) || (!f143.FishkiAviable));
f124.FishkiFree = Center(1, 2, 4);
f124.FishkiFree = (f124.FishkiFree && ((!f06.FishkiAviable) || (!f123.FishkiAviable))) && ((!f114.FishkiAviable) || (!f134.FishkiAviable));
f134.FishkiFree = Center(1, 3, 4);
f134.FishkiFree = (f134.FishkiFree && ((!f06.FishkiAviable) || (!f133.FishkiAviable))) && ((!f124.FishkiAviable) || (!f144.FishkiAviable));
}
function GetNewZeroL40() {
f111.FishkiFree = Center(1, 1, 1);
f111.FishkiFree = f111.FishkiFree && ((!f02.FishkiAviable) || (!f112.FishkiAviable));
f141.FishkiFree = Center(1, 4, 1);
f141.FishkiFree = f141.FishkiFree && ((!f08.FishkiAviable) || (!f142.FishkiAviable));
f121.FishkiFree = Center(1, 2, 1);
f121.FishkiFree = (f121.FishkiFree && ((!f05.FishkiAviable) || (!f132.FishkiAviable))) && ((!f111.FishkiAviable) || (!f131.FishkiAviable));
f131.FishkiFree = Center(1, 3, 1);
f131.FishkiFree = (f131.FishkiFree && ((!f05.FishkiAviable) || (!f132.FishkiAviable))) && ((!f121.FishkiAviable) || (!f141.FishkiAviable));
}
function GetFreeFunk40() {
FullFree40();
var l = 1;
while (l <= 3) {
var r = 1;
while (r <= (5 - l)) {
var c = 1;
while (c <= (5 - l)) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
c++;
}
r++;
}
l++;
}
GetNewZeroC40();
GetNewZeroR40();
GetNewZeroL40();
}
function FullFree40() {
f411.FishkiFree = true;
f01.FishkiFree = true;
f04.FishkiFree = true;
f05.FishkiFree = true;
f06.FishkiFree = true;
f07.FishkiFree = true;
f010.FishkiFree = true;
}
function GetNewOpinion64(l, r, c) {
var _local1 = c;
var _local2 = l;
var _local3 = r;
if (_local2 == 1) {
if (_local1 == 5) {
GetNewZeroC64();
GetNewZeroR64();
} else if (_local1 == 1) {
GetNewZeroC64();
GetNewZeroL64();
}
ChangeFreeSituation64(_local2, _local3, _local1 + 1);
ChangeFreeSituation64(_local2, _local3, _local1 - 1);
ChangeFreeSituation64(_local2, _local3 + 1, _local1);
ChangeFreeSituation64(_local2, _local3 - 1, _local1);
} else if (_local2 == 0) {
GetNewZeroC64();
GetNewZeroR64();
GetNewZeroL64();
} else {
ChangeFreeSituation64(_local2, _local3, _local1 + 1);
ChangeFreeSituation64(_local2, _local3, _local1 - 1);
ChangeFreeSituation64(_local2, _local3 + 1, _local1);
ChangeFreeSituation64(_local2, _local3 - 1, _local1);
ChangeFreeSituation64(_local2 - 1, _local3, _local1);
ChangeFreeSituation64(_local2 - 1, _local3, _local1 + 1);
ChangeFreeSituation64(_local2 - 1, _local3, _local1 - 1);
ChangeFreeSituation64(_local2 - 1, _local3 + 1, _local1);
ChangeFreeSituation64(_local2 - 1, _local3 - 1, _local1);
ChangeFreeSituation64(_local2 - 1, _local3 + 1, _local1 + 1);
ChangeFreeSituation64(_local2 - 1, _local3 - 1, _local1 + 1);
ChangeFreeSituation64(_local2 - 1, _local3 + 1, _local1 - 1);
ChangeFreeSituation64(_local2 - 1, _local3 - 1, _local1 - 1);
}
}
function ChangeFreeSituation64(l, r, c) {
if ((l == 1) && (c == 1)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroL64();
} else if ((l == 1) && (c == 5)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroR64();
} else if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
}
function GetNewZeroC64() {
f02.FishkiFree = (!f01.FishkiAviable) || (!f111.FishkiAviable);
f03.FishkiFree = (!f04.FishkiAviable) || (!f115.FishkiAviable);
f08.FishkiFree = (!f07.FishkiAviable) || (!f151.FishkiAviable);
f09.FishkiFree = (!f010.FishkiAviable) || (!f155.FishkiAviable);
}
function GetNewZeroR64() {
f115.FishkiFree = Center(1, 1, 5);
f115.FishkiFree = f115.FishkiFree && ((!f03.FishkiAviable) || (!f114.FishkiAviable));
f155.FishkiFree = Center(1, 5, 5);
f155.FishkiFree = f155.FishkiFree && ((!f09.FishkiAviable) || (!f154.FishkiAviable));
f135.FishkiFree = Center(1, 3, 5);
f135.FishkiFree = f135.FishkiFree && ((!f06.FishkiAviable) || (!f134.FishkiAviable));
}
function GetNewZeroL64() {
f111.FishkiFree = Center(1, 1, 1);
f111.FishkiFree = f111.FishkiFree && ((!f02.FishkiAviable) || (!f112.FishkiAviable));
f151.FishkiFree = Center(1, 5, 1);
f151.FishkiFree = f151.FishkiFree && ((!f08.FishkiAviable) || (!f152.FishkiAviable));
f131.FishkiFree = Center(1, 3, 1);
f131.FishkiFree = f131.FishkiFree && ((!f05.FishkiAviable) || (!f132.FishkiAviable));
}
function GetFreeFunk64() {
FullFree64();
var l = 1;
while (l <= 3) {
var r = 1;
while (r <= (6 - l)) {
var c = 1;
while (c <= (6 - l)) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
c++;
}
r++;
}
l++;
}
GetNewZeroC64();
GetNewZeroR64();
GetNewZeroL64();
}
function FullFree64() {
f422.FishkiFree = true;
f421.FishkiFree = true;
f412.FishkiFree = true;
f411.FishkiFree = true;
f01.FishkiFree = true;
f04.FishkiFree = true;
f05.FishkiFree = true;
f06.FishkiFree = true;
f07.FishkiFree = true;
f010.FishkiFree = true;
}
function GetNewOpinion114(l, r, c) {
var _local1 = c;
var _local2 = l;
var _local3 = r;
if (_local2 == 1) {
if (_local1 == 6) {
GetNewZeroC114();
GetNewZeroR114();
} else if (_local1 == 1) {
GetNewZeroC114();
GetNewZeroL114();
}
ChangeFreeSituation114(_local2, _local3, _local1 + 1);
ChangeFreeSituation114(_local2, _local3, _local1 - 1);
ChangeFreeSituation114(_local2, _local3 + 1, _local1);
ChangeFreeSituation114(_local2, _local3 - 1, _local1);
} else if (_local2 == 0) {
GetNewZeroC114();
GetNewZeroR114();
GetNewZeroL114();
} else {
ChangeFreeSituation114(_local2, _local3, _local1 + 1);
ChangeFreeSituation114(_local2, _local3, _local1 - 1);
ChangeFreeSituation114(_local2, _local3 + 1, _local1);
ChangeFreeSituation114(_local2, _local3 - 1, _local1);
ChangeFreeSituation114(_local2 - 1, _local3, _local1);
ChangeFreeSituation114(_local2 - 1, _local3, _local1 + 1);
ChangeFreeSituation114(_local2 - 1, _local3, _local1 - 1);
ChangeFreeSituation114(_local2 - 1, _local3 + 1, _local1);
ChangeFreeSituation114(_local2 - 1, _local3 - 1, _local1);
ChangeFreeSituation114(_local2 - 1, _local3 + 1, _local1 + 1);
ChangeFreeSituation114(_local2 - 1, _local3 - 1, _local1 + 1);
ChangeFreeSituation114(_local2 - 1, _local3 + 1, _local1 - 1);
ChangeFreeSituation114(_local2 - 1, _local3 - 1, _local1 - 1);
}
}
function ChangeFreeSituation114(l, r, c) {
if ((l == 1) && (c == 1)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroL114();
} else if ((l == 1) && (c == 6)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroR114();
} else if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
}
function GetNewZeroC114() {
f02.FishkiFree = (!f03.FishkiAviable) || (!f01.FishkiAviable);
f03.FishkiFree = (!f111.FishkiAviable) || (!f02.FishkiAviable);
f04.FishkiFree = (!f116.FishkiAviable) || (!f05.FishkiAviable);
f05.FishkiFree = (!f04.FishkiAviable) || (!f06.FishkiAviable);
f020.FishkiFree = (!f019.FishkiAviable) || (!f021.FishkiAviable);
f021.FishkiFree = (!f020.FishkiAviable) || (!f161.FishkiAviable);
f022.FishkiFree = (!f166.FishkiAviable) || (!f023.FishkiAviable);
f023.FishkiFree = (!f022.FishkiAviable) || (!f024.FishkiAviable);
f010.FishkiFree = (!f014.FishkiAviable) || ((!f08.FishkiAviable) && (!f013.FishkiAviable));
f016.FishkiFree = (!f014.FishkiAviable) || ((!f013.FishkiAviable) && (!f018.FishkiAviable));
f08.FishkiFree = ((!f136.FishkiAviable) && (!f126.FishkiAviable)) || (!f010.FishkiAviable);
f013.FishkiFree = (((!f146.FishkiAviable) && (!f136.FishkiAviable)) || ((!f010.FishkiAviable) && (!f016.FishkiAviable))) && ((!f08.FishkiAviable) || (!f018.FishkiAviable));
f018.FishkiFree = ((!f156.FishkiAviable) && (!f146.FishkiAviable)) || (!f016.FishkiAviable);
f09.FishkiFree = (!f011.FishkiAviable) || ((!f07.FishkiAviable) && (!f012.FishkiAviable));
f015.FishkiFree = (!f011.FishkiAviable) || ((!f012.FishkiAviable) && (!f017.FishkiAviable));
f07.FishkiFree = ((!f131.FishkiAviable) && (!f121.FishkiAviable)) || (!f09.FishkiAviable);
f012.FishkiFree = (((!f141.FishkiAviable) && (!f131.FishkiAviable)) || ((!f09.FishkiAviable) && (!f015.FishkiAviable))) && ((!f07.FishkiAviable) || (!f017.FishkiAviable));
f017.FishkiFree = ((!f151.FishkiAviable) && (!f141.FishkiAviable)) || (!f015.FishkiAviable);
}
function GetNewZeroR114() {
f116.FishkiFree = Center(1, 1, 6);
f116.FishkiFree = f116.FishkiFree && ((!f115.FishkiAviable) || (!f04.FishkiAviable));
f166.FishkiFree = Center(1, 6, 6);
f166.FishkiFree = f166.FishkiFree && ((!f165.FishkiAviable) || (!f022.FishkiAviable));
f126.FishkiFree = Center(1, 2, 6);
f126.FishkiFree = f126.FishkiFree && ((!f08.FishkiAviable) || ((!f125.FishkiAviable) && ((!f116.FishkiAviable) || (!f136.FishkiAviable))));
f136.FishkiFree = Center(1, 3, 6);
f136.FishkiFree = f136.FishkiFree && (((!f08.FishkiAviable) && (!f013.FishkiAviable)) || ((!f135.FishkiAviable) && ((!f126.FishkiAviable) || (!f146.FishkiAviable))));
f146.FishkiFree = Center(1, 4, 6);
f146.FishkiFree = f146.FishkiFree && (((!f013.FishkiAviable) && (!f018.FishkiAviable)) || ((!f145.FishkiAviable) && ((!f136.FishkiAviable) || (!f156.FishkiAviable))));
f156.FishkiFree = Center(1, 5, 6);
f156.FishkiFree = f156.FishkiFree && ((!f018.FishkiAviable) || ((!f155.FishkiAviable) && ((!f146.FishkiAviable) || (!f166.FishkiAviable))));
}
function GetNewZeroL114() {
f111.FishkiFree = Center(1, 1, 1);
f111.FishkiFree = f111.FishkiFree && ((!f112.FishkiAviable) || (!f03.FishkiAviable));
f161.FishkiFree = Center(1, 6, 1);
f161.FishkiFree = f161.FishkiFree && ((!f162.FishkiAviable) || (!f021.FishkiAviable));
f121.FishkiFree = Center(1, 2, 1);
f121.FishkiFree = f121.FishkiFree && ((!f07.FishkiAviable) || ((!f122.FishkiAviable) && ((!f111.FishkiAviable) || (!f131.FishkiAviable))));
f131.FishkiFree = Center(1, 3, 1);
f131.FishkiFree = f131.FishkiFree && (((!f07.FishkiAviable) && (!f012.FishkiAviable)) || ((!f132.FishkiAviable) && ((!f121.FishkiAviable) || (!f141.FishkiAviable))));
f141.FishkiFree = Center(1, 4, 1);
f141.FishkiFree = f141.FishkiFree && (((!f012.FishkiAviable) && (!f017.FishkiAviable)) || ((!f142.FishkiAviable) && ((!f131.FishkiAviable) || (!f151.FishkiAviable))));
f151.FishkiFree = Center(1, 5, 1);
f151.FishkiFree = f151.FishkiFree && ((!f017.FishkiAviable) || ((!f152.FishkiAviable) && ((!f141.FishkiAviable) || (!f161.FishkiAviable))));
}
function GetFreeFunk114() {
FullFree114();
var l = 1;
while (l <= 6) {
var r = 1;
while (r <= (7 - l)) {
var c = 1;
while (c <= (7 - l)) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
c++;
}
r++;
}
l++;
}
GetNewZeroC114();
GetNewZeroR114();
GetNewZeroL114();
}
function FullFree114() {
f01.FishkiFree = true;
f06.FishkiFree = true;
f019.FishkiFree = true;
f024.FishkiFree = true;
f014.FishkiFree = true;
f011.FishkiFree = true;
}
function GetNewOpinion164(l, r, c) {
var _local1 = c;
var _local2 = l;
var _local3 = r;
if (_local2 == 1) {
if (_local1 == 7) {
GetNewZeroC164();
GetNewZeroR164();
} else if (_local1 == 1) {
GetNewZeroC164();
GetNewZeroL164();
}
ChangeFreeSituation164(_local2, _local3, _local1 + 1);
ChangeFreeSituation164(_local2, _local3, _local1 - 1);
ChangeFreeSituation164(_local2, _local3 + 1, _local1);
ChangeFreeSituation164(_local2, _local3 - 1, _local1);
} else if (_local2 == 0) {
GetNewZeroC164();
GetNewZeroR164();
GetNewZeroL164();
} else {
ChangeFreeSituation164(_local2, _local3, _local1 + 1);
ChangeFreeSituation164(_local2, _local3, _local1 - 1);
ChangeFreeSituation164(_local2, _local3 + 1, _local1);
ChangeFreeSituation164(_local2, _local3 - 1, _local1);
ChangeFreeSituation164(_local2 - 1, _local3, _local1);
ChangeFreeSituation164(_local2 - 1, _local3, _local1 + 1);
ChangeFreeSituation164(_local2 - 1, _local3, _local1 - 1);
ChangeFreeSituation164(_local2 - 1, _local3 + 1, _local1);
ChangeFreeSituation164(_local2 - 1, _local3 - 1, _local1);
ChangeFreeSituation164(_local2 - 1, _local3 + 1, _local1 + 1);
ChangeFreeSituation164(_local2 - 1, _local3 - 1, _local1 + 1);
ChangeFreeSituation164(_local2 - 1, _local3 + 1, _local1 - 1);
ChangeFreeSituation164(_local2 - 1, _local3 - 1, _local1 - 1);
}
}
function ChangeFreeSituation164(l, r, c) {
if ((l == 1) && (c == 1)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroL164();
} else if ((l == 1) && (c == 7)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroR164();
} else if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
}
function GetNewZeroC164() {
f02.FishkiFree = (!f03.FishkiAviable) || (!f01.FishkiAviable);
f03.FishkiFree = (!f111.FishkiAviable) || (!f02.FishkiAviable);
f04.FishkiFree = (!f117.FishkiAviable) || (!f05.FishkiAviable);
f05.FishkiFree = (!f04.FishkiAviable) || (!f06.FishkiAviable);
f020.FishkiFree = (!f019.FishkiAviable) || (!f021.FishkiAviable);
f021.FishkiFree = (!f020.FishkiAviable) || (!f171.FishkiAviable);
f022.FishkiFree = (!f177.FishkiAviable) || (!f023.FishkiAviable);
f023.FishkiFree = (!f022.FishkiAviable) || (!f024.FishkiAviable);
f010.FishkiFree = (!f014.FishkiAviable) || ((!f08.FishkiAviable) && (!f013.FishkiAviable));
f016.FishkiFree = (!f014.FishkiAviable) || ((!f013.FishkiAviable) && (!f018.FishkiAviable));
f08.FishkiFree = (!f137.FishkiAviable) || (!f010.FishkiAviable);
f013.FishkiFree = ((!f147.FishkiAviable) || ((!f010.FishkiAviable) && (!f016.FishkiAviable))) && ((!f018.FishkiAviable) || (!f08.FishkiAviable));
f018.FishkiFree = (!f157.FishkiAviable) || (!f016.FishkiAviable);
f09.FishkiFree = (!f011.FishkiAviable) || ((!f07.FishkiAviable) && (!f012.FishkiAviable));
f015.FishkiFree = (!f011.FishkiAviable) || ((!f012.FishkiAviable) && (!f017.FishkiAviable));
f07.FishkiFree = (!f131.FishkiAviable) || (!f09.FishkiAviable);
f012.FishkiFree = ((!f141.FishkiAviable) || ((!f09.FishkiAviable) && (!f015.FishkiAviable))) && ((!f017.FishkiAviable) || (!f07.FishkiAviable));
f017.FishkiFree = (!f151.FishkiAviable) || (!f015.FishkiAviable);
}
function GetNewZeroR164() {
f117.FishkiFree = Center(1, 1, 7);
f117.FishkiFree = f117.FishkiFree && ((!f116.FishkiAviable) || (!f04.FishkiAviable));
f177.FishkiFree = Center(1, 7, 7);
f177.FishkiFree = f177.FishkiFree && ((!f176.FishkiAviable) || (!f022.FishkiAviable));
f137.FishkiFree = Center(1, 3, 7);
f137.FishkiFree = f137.FishkiFree && ((!f08.FishkiAviable) || ((!f136.FishkiAviable) && ((!f127.FishkiAviable) || (!f147.FishkiAviable))));
f147.FishkiFree = Center(1, 4, 7);
f147.FishkiFree = f147.FishkiFree && ((!f013.FishkiAviable) || ((!f146.FishkiAviable) && ((!f137.FishkiAviable) || (!f157.FishkiAviable))));
f157.FishkiFree = Center(1, 5, 7);
f157.FishkiFree = f157.FishkiFree && ((!f018.FishkiAviable) || ((!f156.FishkiAviable) && ((!f147.FishkiAviable) || (!f167.FishkiAviable))));
}
function GetNewZeroL164() {
f111.FishkiFree = Center(1, 1, 1);
f111.FishkiFree = f111.FishkiFree && ((!f112.FishkiAviable) || (!f03.FishkiAviable));
f171.FishkiFree = Center(1, 7, 1);
f171.FishkiFree = f171.FishkiFree && ((!f172.FishkiAviable) || (!f021.FishkiAviable));
f131.FishkiFree = Center(1, 3, 1);
f131.FishkiFree = f131.FishkiFree && ((!f07.FishkiAviable) || ((!f132.FishkiAviable) && ((!f121.FishkiAviable) || (!f141.FishkiAviable))));
f141.FishkiFree = Center(1, 4, 1);
f141.FishkiFree = f141.FishkiFree && ((!f012.FishkiAviable) || ((!f142.FishkiAviable) && ((!f131.FishkiAviable) || (!f151.FishkiAviable))));
f151.FishkiFree = Center(1, 5, 1);
f151.FishkiFree = f151.FishkiFree && ((!f017.FishkiAviable) || ((!f152.FishkiAviable) && ((!f141.FishkiAviable) || (!f161.FishkiAviable))));
}
function GetFreeFunk164() {
FullFree164();
var l = 1;
while (l <= 7) {
var r = 1;
while (r <= (8 - l)) {
var c = 1;
while (c <= (8 - l)) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
c++;
}
r++;
}
l++;
}
GetNewZeroC164();
GetNewZeroR164();
GetNewZeroL164();
}
function FullFree164() {
f711.FishkiFree = true;
f01.FishkiFree = true;
f06.FishkiFree = true;
f019.FishkiFree = true;
f024.FishkiFree = true;
f014.FishkiFree = true;
f011.FishkiFree = true;
}
function GetNewOpinion234(l, r, c) {
var _local1 = c;
var _local2 = l;
var _local3 = r;
if (_local2 == 1) {
if (_local1 == 8) {
GetNewZeroC234();
GetNewZeroR234();
} else if (_local1 == 1) {
GetNewZeroC234();
GetNewZeroL234();
}
ChangeFreeSituation234(_local2, _local3, _local1 + 1);
ChangeFreeSituation234(_local2, _local3, _local1 - 1);
ChangeFreeSituation234(_local2, _local3 + 1, _local1);
ChangeFreeSituation234(_local2, _local3 - 1, _local1);
} else if (_local2 == 0) {
GetNewZeroC234();
GetNewZeroR234();
GetNewZeroL234();
} else {
ChangeFreeSituation234(_local2, _local3, _local1 + 1);
ChangeFreeSituation234(_local2, _local3, _local1 - 1);
ChangeFreeSituation234(_local2, _local3 + 1, _local1);
ChangeFreeSituation234(_local2, _local3 - 1, _local1);
ChangeFreeSituation234(_local2 - 1, _local3, _local1);
ChangeFreeSituation234(_local2 - 1, _local3, _local1 + 1);
ChangeFreeSituation234(_local2 - 1, _local3, _local1 - 1);
ChangeFreeSituation234(_local2 - 1, _local3 + 1, _local1);
ChangeFreeSituation234(_local2 - 1, _local3 - 1, _local1);
ChangeFreeSituation234(_local2 - 1, _local3 + 1, _local1 + 1);
ChangeFreeSituation234(_local2 - 1, _local3 - 1, _local1 + 1);
ChangeFreeSituation234(_local2 - 1, _local3 + 1, _local1 - 1);
ChangeFreeSituation234(_local2 - 1, _local3 - 1, _local1 - 1);
}
}
function ChangeFreeSituation234(l, r, c) {
if ((l == 1) && (c == 1)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroL234();
} else if ((l == 1) && (c == 8)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
GetNewZeroR234();
} else if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
}
}
function GetNewZeroC234() {
f02.FishkiFree = (!f03.FishkiAviable) || (!f01.FishkiAviable);
f03.FishkiFree = (!f04.FishkiAviable) || (!f02.FishkiAviable);
f04.FishkiFree = (!f111.FishkiAviable) || (!f03.FishkiAviable);
f05.FishkiFree = (!f118.FishkiAviable) || (!f06.FishkiAviable);
f06.FishkiFree = (!f05.FishkiAviable) || (!f07.FishkiAviable);
f07.FishkiFree = (!f08.FishkiAviable) || (!f06.FishkiAviable);
f024.FishkiFree = (!f023.FishkiAviable) || (!f025.FishkiAviable);
f025.FishkiFree = (!f024.FishkiAviable) || (!f026.FishkiAviable);
f026.FishkiFree = (!f025.FishkiAviable) || (!f181.FishkiAviable);
f027.FishkiFree = (!f188.FishkiAviable) || (!f028.FishkiAviable);
f028.FishkiFree = (!f027.FishkiAviable) || (!f029.FishkiAviable);
f029.FishkiFree = (!f028.FishkiAviable) || (!f030.FishkiAviable);
f014.FishkiFree = (!f016.FishkiAviable) || ((!f010.FishkiAviable) && (!f013.FishkiAviable));
f020.FishkiFree = (!f016.FishkiAviable) || ((!f019.FishkiAviable) && (!f022.FishkiAviable));
f013.FishkiFree = ((((!f010.FishkiAviable) && (!f014.FishkiAviable)) || ((!f014.FishkiAviable) && (!f019.FishkiAviable))) || ((!f148.FishkiAviable) && (!f019.FishkiAviable))) || ((!f148.FishkiAviable) && (!f010.FishkiAviable));
f019.FishkiFree = ((((!f013.FishkiAviable) && (!f020.FishkiAviable)) || ((!f020.FishkiAviable) && (!f022.FishkiAviable))) || ((!f022.FishkiAviable) && (!f158.FishkiAviable))) || ((!f158.FishkiAviable) && (!f013.FishkiAviable));
f011.FishkiFree = (!f015.FishkiAviable) || ((!f09.FishkiAviable) && (!f012.FishkiAviable));
f017.FishkiFree = (!f015.FishkiAviable) || ((!f018.FishkiAviable) && (!f021.FishkiAviable));
f012.FishkiFree = ((((!f09.FishkiAviable) && (!f141.FishkiAviable)) || ((!f141.FishkiAviable) && (!f018.FishkiAviable))) || ((!f018.FishkiAviable) && (!f011.FishkiAviable))) || ((!f011.FishkiAviable) && (!f09.FishkiAviable));
f018.FishkiFree = ((((!f012.FishkiAviable) && (!f151.FishkiAviable)) || ((!f151.FishkiAviable) && (!f021.FishkiAviable))) || ((!f021.FishkiAviable) && (!f017.FishkiAviable))) || ((!f017.FishkiAviable) && (!f012.FishkiAviable));
}
function GetNewZeroR234() {
f118.FishkiFree = Center(1, 1, 8);
f118.FishkiFree = f118.FishkiFree && ((!f117.FishkiAviable) || (!f05.FishkiAviable));
f188.FishkiFree = Center(1, 8, 8);
f188.FishkiFree = f188.FishkiFree && ((!f187.FishkiAviable) || (!f027.FishkiAviable));
f138.FishkiFree = Center(1, 3, 8);
f138.FishkiFree = f138.FishkiFree && (((!f137.FishkiAviable) && ((!f128.FishkiAviable) || (!f148.FishkiAviable))) || (!f010.FishkiAviable));
f148.FishkiFree = Center(1, 4, 8);
f148.FishkiFree = f148.FishkiFree && (((!f147.FishkiAviable) && ((!f138.FishkiAviable) || (!f158.FishkiAviable))) || (!f013.FishkiAviable));
f158.FishkiFree = Center(1, 5, 8);
f158.FishkiFree = f158.FishkiFree && (((!f157.FishkiAviable) && ((!f148.FishkiAviable) || (!f168.FishkiAviable))) || (!f019.FishkiAviable));
f168.FishkiFree = Center(1, 6, 8);
f168.FishkiFree = f168.FishkiFree && (((!f167.FishkiAviable) && ((!f158.FishkiAviable) || (!f178.FishkiAviable))) || (!f022.FishkiAviable));
}
function GetNewZeroL234() {
f111.FishkiFree = Center(1, 1, 1);
f111.FishkiFree = f111.FishkiFree && ((!f112.FishkiAviable) || (!f04.FishkiAviable));
f181.FishkiFree = Center(1, 8, 1);
f181.FishkiFree = f181.FishkiFree && ((!f182.FishkiAviable) || (!f026.FishkiAviable));
f131.FishkiFree = Center(1, 3, 1);
f131.FishkiFree = f131.FishkiFree && (((!f132.FishkiAviable) && ((!f121.FishkiAviable) || (!f141.FishkiAviable))) || (!f09.FishkiAviable));
f141.FishkiFree = Center(1, 4, 1);
f141.FishkiFree = f141.FishkiFree && (((!f142.FishkiAviable) && ((!f131.FishkiAviable) || (!f151.FishkiAviable))) || (!f012.FishkiAviable));
f151.FishkiFree = Center(1, 5, 1);
f151.FishkiFree = f151.FishkiFree && (((!f152.FishkiAviable) && ((!f141.FishkiAviable) || (!f161.FishkiAviable))) || (!f018.FishkiAviable));
f161.FishkiFree = Center(1, 6, 1);
f161.FishkiFree = f161.FishkiFree && (((!f162.FishkiAviable) && ((!f151.FishkiAviable) || (!f171.FishkiAviable))) || (!f021.FishkiAviable));
}
function GetFreeFunk234() {
FullFree234();
var l = 1;
while (l <= 8) {
var r = 1;
while (r <= (9 - l)) {
var c = 1;
while (c <= (9 - l)) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = Center(l, r, c);
c++;
}
r++;
}
l++;
}
GetNewZeroC234();
GetNewZeroR234();
GetNewZeroL234();
}
function FullFree234() {
f811.FishkiFree = true;
f01.FishkiFree = true;
f08.FishkiFree = true;
f023.FishkiFree = true;
f030.FishkiFree = true;
f016.FishkiFree = true;
f010.FishkiFree = true;
f022.FishkiFree = true;
f015.FishkiFree = true;
f09.FishkiFree = true;
f021.FishkiFree = true;
}
function PasteTwoNew(one, two, frame) {
var numar = 0;
var l1;
var l2;
var r1;
var r3;
var c1;
var c2;
var l = 1;
while (l <= sloyov) {
var r = 1;
while (r <= ((sloyov + 1) - l)) {
var c = 1;
while (c <= ((sloyov + 1) - l)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree && (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable)) {
numar++;
if ((numar == one) || (numar == two)) {
if (numar == one) {
one = -1;
l1 = l;
r1 = r;
c1 = c;
} else {
two = -1;
l2 = l;
r2 = r;
c2 = c;
}
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable = false;
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree = false;
tellTarget (((("f" + String(l)) + String(r)) + String(c)) + ".fishka") {
gotoAndStop(frame);
};
}
}
c++;
}
r++;
}
l++;
}
var t = 1;
while (t <= RestFree) {
if (eval ("f0" + String(t)).FishkiFree && (eval ("f0" + String(t)).FishkiAviable)) {
numar++;
if ((numar == one) || (numar == two)) {
if (numar == one) {
l1 = 0;
r1 = t;
c1 = 0;
} else {
l2 = 0;
r2 = t;
c2 = 0;
}
eval ("f0" + String(t)).FishkiAviable = false;
eval ("f0" + String(t)).FishkiFree = false;
tellTarget (("f0" + String(t)) + ".fishka") {
gotoAndStop(frame);
};
}
}
t++;
}
if (level == 1) {
GetNewOpinion234(l1, r1, c1);
GetNewOpinion234(l2, r2, c2);
} else if (level == 2) {
GetNewOpinion164(l1, r1, c1);
GetNewOpinion164(l2, r2, c2);
} else if (level == 3) {
GetNewOpinion114(l1, r1, c1);
GetNewOpinion114(l2, r2, c2);
} else if (level == 4) {
GetNewOpinion64(l1, r1, c1);
GetNewOpinion64(l2, r2, c2);
} else if (level == 5) {
GetNewOpinion40(l1, r1, c1);
GetNewOpinion40(l2, r2, c2);
}
}
function GetAllFreeNumber() {
var numar = 0;
var l = 1;
while (l <= sloyov) {
var r = 1;
while (r <= ((sloyov + 1) - l)) {
var c = 1;
while (c <= ((sloyov + 1) - l)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree && (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable)) {
numar++;
}
c++;
}
r++;
}
l++;
}
var t = 1;
while (t <= RestFree) {
if (eval ("f0" + String(t)).FishkiFree && (eval ("f0" + String(t)).FishkiAviable)) {
numar++;
}
t++;
}
return(numar);
}
function GetNewFishka() {
return(random(24) + 1);
}
function DisposeFishkiAviable() {
var l = 1;
while (l <= sloyov) {
var r = 1;
while (r <= ((sloyov + 1) - l)) {
var c = 1;
while (c <= ((sloyov + 1) - l)) {
eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable = true;
c++;
}
r++;
}
l++;
}
var t = 1;
while (t <= RestFree) {
eval ("f0" + String(t)).FishkiAviable = true;
t++;
}
}
function ShowFreeFunc() {
var l = 1;
while (l <= sloyov) {
var r = 1;
while (r <= ((sloyov + 1) - l)) {
var c = 1;
while (c <= ((sloyov + 1) - l)) {
if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiFree) {
tellTarget ((("f" + String(l)) + String(r)) + String(c)) {
if (_currentframe == 1) {
gotoAndStop (3);
}
};
} else if (eval ((("f" + String(l)) + String(r)) + String(c)).FishkiAviable) {
tellTarget ((("f" + String(l)) + String(r)) + String(c)) {
if (_currentframe == 3) {
gotoAndStop (1);
}
};
}
c++;
}
r++;
}
l++;
}
var t = 1;
while (t <= RestFree) {
if (eval ("f0" + String(t)).FishkiFree) {
tellTarget ("f0" + String(t)) {
if (_currentframe == 1) {
gotoAndStop (3);
}
};
} else if (eval ("f0" + String(t)).FishkiAviable) {
tellTarget ("f0" + String(t)) {
if (_currentframe == 3) {
gotoAndStop (1);
}
};
}
t++;
}
}
function HideFreeFunc() {
var _local2 = 1;
while (_local2 <= sloyov) {
var _local3 = 1;
while (_local3 <= ((sloyov + 1) - _local2)) {
var _local1 = 1;
while (_local1 <= ((sloyov + 1) - _local2)) {
tellTarget ((("f" + String(_local2)) + String(_local3)) + String(_local1)) {
if (_currentframe == 3) {
gotoAndStop (1);
}
};
_local1++;
}
_local3++;
}
_local2++;
}
var t = 1;
while (t <= RestFree) {
tellTarget ("f0" + String(t)) {
if (_currentframe == 3) {
gotoAndStop (1);
}
};
t++;
}
}
function Center(lev, row, pos) {
var t311 = ((("f" + String(lev)) + String(row - 1)) + String(pos - 1));
var t312 = ((("f" + String(lev)) + String(row - 1)) + String(pos));
var t321 = ((("f" + String(lev)) + String(row)) + String(pos - 1));
var t422 = ((("f" + String(lev + 1)) + String(row)) + String(pos));
var t323 = ((("f" + String(lev)) + String(row)) + String(pos + 1));
var t332 = ((("f" + String(lev)) + String(row + 1)) + String(pos));
var t421 = ((("f" + String(lev + 1)) + String(row)) + String(pos - 1));
var t412 = ((("f" + String(lev + 1)) + String(row - 1)) + String(pos));
var t313 = ((("f" + String(lev)) + String(row - 1)) + String(pos + 1));
var t411 = ((("f" + String(lev + 1)) + String(row - 1)) + String(pos - 1));
var t333 = ((("f" + String(lev)) + String(row + 1)) + String(pos + 1));
var t331 = ((("f" + String(lev)) + String(row + 1)) + String(pos - 1));
var Us1 = ((((((!eval (t311).FishkiAviable) && (!eval (t312).FishkiAviable)) && (!eval (t321).FishkiAviable)) && ((!eval (t422).FishkiAviable) || ((eval (t422).FishkiAviable && (eval (t323).FishkiAviable)) && (eval (t332).FishkiAviable)))) && (!eval (t421).FishkiAviable)) && (!eval (t412).FishkiAviable));
var Us2 = ((((((!eval (t312).FishkiAviable) && (!eval (t313).FishkiAviable)) && (!eval (t323).FishkiAviable)) && ((!eval (t421).FishkiAviable) || ((eval (t321).FishkiAviable && (eval (t332).FishkiAviable)) && (eval (t421).FishkiAviable)))) && (!eval (t411).FishkiAviable)) && (!eval (t422).FishkiAviable));
var Us3 = ((((((!eval (t323).FishkiAviable) && (!eval (t332).FishkiAviable)) && (!eval (t333).FishkiAviable)) && ((!eval (t411).FishkiAviable) || ((eval (t312).FishkiAviable && (eval (t321).FishkiAviable)) && (eval (t411).FishkiAviable)))) && (!eval (t412).FishkiAviable)) && (!eval (t421).FishkiAviable));
var Us4 = ((((((!eval (t321).FishkiAviable) && (!eval (t331).FishkiAviable)) && (!eval (t332).FishkiAviable)) && ((!eval (t412).FishkiAviable) || ((eval (t312).FishkiAviable && (eval (t323).FishkiAviable)) && (eval (t412).FishkiAviable)))) && (!eval (t411).FishkiAviable)) && (!eval (t422).FishkiAviable));
if (((Us1 || (Us2)) || (Us3)) || (Us4)) {
return(true);
}
return(false);
}
Instance of Symbol 141 MovieClip "ErrMSG" in Frame 122
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 200 MovieClip in Frame 122
//component parameters
onClipEvent (initialize) {
wynume = "Mahjong";
wyculoare = 10111489 /* 0x9A4A01 */;
wyasezare = "Vertical";
wyaliniere = "Dreapta";
wypozitie = "Jos";
wyinstructions = true;
}
Frame 123
stop();
Frame 124
stop();
Frame 125
sloyov = 8;
RestFree = 30;
level = 1;
stop();
Instance of Symbol 293 MovieClip in Frame 125
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk234();
FullShagi = 117;
shagi = 1;
FishekTotal = 234;
}
Frame 126
if (_root.sunet == true) {
_root.music.start(0, 999);
}
Instance of Symbol 296 MovieClip "ph" in Frame 126
onClipEvent (mouseDown) {
if (name1 eq "0") {
name1 = _parent.GetClickedNumber();
eval ("_parent." + name1).gotoAndStop(2);
} else {
name2 = _parent.GetClickedNumber();
if (name1 ne name2) {
if (eval (("_parent." + name1) + ".fishka")._currentframe == eval (("_parent." + name2) + ".fishka")._currentframe) {
setProperty("_parent." + name1, _visible , false);
setProperty("_parent." + name2, _visible , false);
eval ("_parent." + name1).FishkiAviable = false;
eval ("_parent." + name2).FishkiAviable = false;
_parent.GetNewOpinion40(Number(name1.substr(1, 1)), Number(name1.substr(2, 1)), Number(name1.substr(3, 1)));
_parent.GetNewOpinion40(Number(name2.substr(1, 1)), Number(name2.substr(2, 1)), Number(name2.substr(3, 1)));
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
var points = Math.floor((60000 - (getTimer() - _parent.tiki.TimeSt)) / 600);
if (points < 0) {
points = 0;
}
points = points + 20;
Set("/gametablo:scores", Number(/gametablo:scores) + points);
_parent.DisSound.gotoAndPlay(2);
_parent.laststep[0] = name1;
_parent.laststep[1] = name2;
_parent.laststep[2] = points;
if (_parent.BackBut._currentframe == 1) {
_parent.BackBut.gotoAndStop(2);
}
steps++;
if (steps == 20) {
_parent.gotoAndPlay("end1");
} else {
play();
}
name1 = "0";
} else if (eval ("_parent." + name2).FishkiAviable && (eval ("_parent." + name2).FishkiFree)) {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
eval ("_parent." + name2).gotoAndStop(2);
name1 = name2;
name2 = "0";
} else {
name2 = "0";
}
} else {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
name1 = "0";
}
name2 = "0";
}
}
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk40();
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
name1 = "0";
name2 = "0";
steps = 0;
}
Instance of Symbol 310 MovieClip "tiki" in Frame 126
onClipEvent (enterFrame) {
Time = getTimer();
if (_root.pauza == false) {
this.play();
TimeSt = TimeSt + dif;
dif = 0;
oldTime = getTimer();
var Sec = Math.floor((Time - TimeSt) / 1000);
var Min = Math.floor(Sec / 60);
Sec = Sec - (Min * 60);
_parent.TimeMin = Min;
if (Sec <= 9) {
_parent.TimeSec = "0" + Sec;
} else {
_parent.TimeSec = Sec;
}
} else {
this.stop();
dif = getTimer() - oldTime;
}
}
onClipEvent (load) {
TimeSt = getTimer();
dif = 0;
}
Instance of Symbol 357 MovieClip "theMeniu" in Frame 126
//component parameters
onClipEvent (initialize) {
wxnume = "Mahjong";
wxaliniere = "Dreapta-Jos";
wxculoare = 9782784 /* 0x954600 */;
wxdownload = true;
wxpause = true;
wxsound = true;
}
Frame 150
if (_currentframe == 150) {
gotoAndPlay ("One");
_root.music.stop();
}
Frame 152
sloyov = 7;
RestFree = 24;
level = 2;
stop();
Instance of Symbol 293 MovieClip in Frame 152
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk164();
FullShagi = 82;
shagi = 1;
FishekTotal = 164;
}
Frame 153
if (_root.sunet == true) {
_root.music.start(0, 999);
}
Instance of Symbol 296 MovieClip "ph" in Frame 153
onClipEvent (mouseDown) {
if (name1 eq "0") {
name1 = _parent.GetClickedNumber();
eval ("_parent." + name1).gotoAndStop(2);
} else {
name2 = _parent.GetClickedNumber();
if (name1 ne name2) {
if (eval (("_parent." + name1) + ".fishka")._currentframe == eval (("_parent." + name2) + ".fishka")._currentframe) {
setProperty("_parent." + name1, _visible , false);
setProperty("_parent." + name2, _visible , false);
eval ("_parent." + name1).FishkiAviable = false;
eval ("_parent." + name2).FishkiAviable = false;
_parent.GetNewOpinion40(Number(name1.substr(1, 1)), Number(name1.substr(2, 1)), Number(name1.substr(3, 1)));
_parent.GetNewOpinion40(Number(name2.substr(1, 1)), Number(name2.substr(2, 1)), Number(name2.substr(3, 1)));
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
var points = Math.floor((60000 - (getTimer() - _parent.tiki.TimeSt)) / 600);
if (points < 0) {
points = 0;
}
points = points + 20;
Set("/gametablo:scores", Number(/gametablo:scores) + points);
_parent.DisSound.gotoAndPlay(2);
_parent.laststep[0] = name1;
_parent.laststep[1] = name2;
_parent.laststep[2] = points;
if (_parent.BackBut._currentframe == 1) {
_parent.BackBut.gotoAndStop(2);
}
steps++;
if (steps == 20) {
_parent.gotoAndPlay("end1");
} else {
play();
}
name1 = "0";
} else if (eval ("_parent." + name2).FishkiAviable && (eval ("_parent." + name2).FishkiFree)) {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
eval ("_parent." + name2).gotoAndStop(2);
name1 = name2;
name2 = "0";
} else {
name2 = "0";
}
} else {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
name1 = "0";
}
name2 = "0";
}
}
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk40();
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
name1 = "0";
name2 = "0";
steps = 0;
}
Instance of Symbol 310 MovieClip "tiki" in Frame 153
onClipEvent (enterFrame) {
Time = getTimer();
if (_root.pauza == false) {
this.play();
TimeSt = TimeSt + dif;
dif = 0;
oldTime = getTimer();
var Sec = Math.floor((Time - TimeSt) / 1000);
var Min = Math.floor(Sec / 60);
Sec = Sec - (Min * 60);
_parent.TimeMin = Min;
if (Sec <= 9) {
_parent.TimeSec = "0" + Sec;
} else {
_parent.TimeSec = Sec;
}
} else {
this.stop();
dif = getTimer() - oldTime;
}
}
onClipEvent (load) {
TimeSt = getTimer();
dif = 0;
}
Instance of Symbol 357 MovieClip "theMeniu" in Frame 153
//component parameters
onClipEvent (initialize) {
wxnume = "Mahjong";
wxaliniere = "Dreapta-Jos";
wxculoare = 9782784 /* 0x954600 */;
wxdownload = true;
wxpause = true;
wxsound = true;
}
Frame 177
if (_currentframe == 177) {
gotoAndPlay ("Two");
_root.music.stop();
}
Frame 179
sloyov = 6;
RestFree = 24;
level = 3;
stop();
Instance of Symbol 293 MovieClip in Frame 179
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk114();
FullShagi = 57;
shagi = 1;
FishekTotal = 114;
}
Frame 180
if (_root.sunet == true) {
_root.music.start(0, 999);
}
Instance of Symbol 296 MovieClip "ph" in Frame 180
onClipEvent (mouseDown) {
if (name1 eq "0") {
name1 = _parent.GetClickedNumber();
eval ("_parent." + name1).gotoAndStop(2);
} else {
name2 = _parent.GetClickedNumber();
if (name1 ne name2) {
if (eval (("_parent." + name1) + ".fishka")._currentframe == eval (("_parent." + name2) + ".fishka")._currentframe) {
setProperty("_parent." + name1, _visible , false);
setProperty("_parent." + name2, _visible , false);
eval ("_parent." + name1).FishkiAviable = false;
eval ("_parent." + name2).FishkiAviable = false;
_parent.GetNewOpinion40(Number(name1.substr(1, 1)), Number(name1.substr(2, 1)), Number(name1.substr(3, 1)));
_parent.GetNewOpinion40(Number(name2.substr(1, 1)), Number(name2.substr(2, 1)), Number(name2.substr(3, 1)));
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
var points = Math.floor((60000 - (getTimer() - _parent.tiki.TimeSt)) / 600);
if (points < 0) {
points = 0;
}
points = points + 20;
Set("/gametablo:scores", Number(/gametablo:scores) + points);
_parent.DisSound.gotoAndPlay(2);
_parent.laststep[0] = name1;
_parent.laststep[1] = name2;
_parent.laststep[2] = points;
if (_parent.BackBut._currentframe == 1) {
_parent.BackBut.gotoAndStop(2);
}
steps++;
if (steps == 20) {
_parent.gotoAndPlay("end1");
} else {
play();
}
name1 = "0";
} else if (eval ("_parent." + name2).FishkiAviable && (eval ("_parent." + name2).FishkiFree)) {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
eval ("_parent." + name2).gotoAndStop(2);
name1 = name2;
name2 = "0";
} else {
name2 = "0";
}
} else {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
name1 = "0";
}
name2 = "0";
}
}
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk40();
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
name1 = "0";
name2 = "0";
steps = 0;
}
Instance of Symbol 310 MovieClip "tiki" in Frame 180
onClipEvent (enterFrame) {
Time = getTimer();
if (_root.pauza == false) {
this.play();
TimeSt = TimeSt + dif;
dif = 0;
oldTime = getTimer();
var Sec = Math.floor((Time - TimeSt) / 1000);
var Min = Math.floor(Sec / 60);
Sec = Sec - (Min * 60);
_parent.TimeMin = Min;
if (Sec <= 9) {
_parent.TimeSec = "0" + Sec;
} else {
_parent.TimeSec = Sec;
}
} else {
this.stop();
dif = getTimer() - oldTime;
}
}
onClipEvent (load) {
TimeSt = getTimer();
dif = 0;
}
Instance of Symbol 357 MovieClip "theMeniu" in Frame 180
//component parameters
onClipEvent (initialize) {
wxnume = "Mahjong";
wxaliniere = "Dreapta-Jos";
wxculoare = 9782784 /* 0x954600 */;
wxdownload = true;
wxpause = true;
wxsound = true;
}
Frame 204
if (_currentframe == 204) {
gotoAndPlay ("Three");
_root.music.stop();
}
Frame 206
sloyov = 5;
RestFree = 10;
level = 4;
stop();
Instance of Symbol 293 MovieClip in Frame 206
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk64();
FullShagi = 32;
shagi = 1;
FishekTotal = 64;
}
Frame 207
if (_root.sunet == true) {
_root.music.start(0, 999);
}
Instance of Symbol 296 MovieClip "ph" in Frame 207
onClipEvent (mouseDown) {
if (name1 eq "0") {
name1 = _parent.GetClickedNumber();
eval ("_parent." + name1).gotoAndStop(2);
} else {
name2 = _parent.GetClickedNumber();
if (name1 ne name2) {
if (eval (("_parent." + name1) + ".fishka")._currentframe == eval (("_parent." + name2) + ".fishka")._currentframe) {
setProperty("_parent." + name1, _visible , false);
setProperty("_parent." + name2, _visible , false);
eval ("_parent." + name1).FishkiAviable = false;
eval ("_parent." + name2).FishkiAviable = false;
_parent.GetNewOpinion40(Number(name1.substr(1, 1)), Number(name1.substr(2, 1)), Number(name1.substr(3, 1)));
_parent.GetNewOpinion40(Number(name2.substr(1, 1)), Number(name2.substr(2, 1)), Number(name2.substr(3, 1)));
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
var points = Math.floor((60000 - (getTimer() - _parent.tiki.TimeSt)) / 600);
if (points < 0) {
points = 0;
}
points = points + 20;
Set("/gametablo:scores", Number(/gametablo:scores) + points);
_parent.DisSound.gotoAndPlay(2);
_parent.laststep[0] = name1;
_parent.laststep[1] = name2;
_parent.laststep[2] = points;
if (_parent.BackBut._currentframe == 1) {
_parent.BackBut.gotoAndStop(2);
}
steps++;
if (steps == 20) {
_parent.gotoAndPlay("end1");
} else {
play();
}
name1 = "0";
} else if (eval ("_parent." + name2).FishkiAviable && (eval ("_parent." + name2).FishkiFree)) {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
eval ("_parent." + name2).gotoAndStop(2);
name1 = name2;
name2 = "0";
} else {
name2 = "0";
}
} else {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
name1 = "0";
}
name2 = "0";
}
}
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk40();
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
name1 = "0";
name2 = "0";
steps = 0;
}
Instance of Symbol 310 MovieClip "tiki" in Frame 207
onClipEvent (enterFrame) {
Time = getTimer();
if (_root.pauza == false) {
this.play();
TimeSt = TimeSt + dif;
dif = 0;
oldTime = getTimer();
var Sec = Math.floor((Time - TimeSt) / 1000);
var Min = Math.floor(Sec / 60);
Sec = Sec - (Min * 60);
_parent.TimeMin = Min;
if (Sec <= 9) {
_parent.TimeSec = "0" + Sec;
} else {
_parent.TimeSec = Sec;
}
} else {
this.stop();
dif = getTimer() - oldTime;
}
}
onClipEvent (load) {
TimeSt = getTimer();
dif = 0;
}
Instance of Symbol 357 MovieClip "theMeniu" in Frame 207
//component parameters
onClipEvent (initialize) {
wxnume = "Mahjong";
wxaliniere = "Dreapta-Jos";
wxculoare = 9782784 /* 0x954600 */;
wxdownload = true;
wxpause = true;
wxsound = true;
}
Frame 231
if (_currentframe == 231) {
gotoAndPlay ("Four");
_root.music.stop();
}
Frame 233
sloyov = 4;
RestFree = 10;
level = 5;
stop();
Instance of Symbol 293 MovieClip in Frame 233
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk40();
FullShagi = 20;
shagi = 1;
FishekTotal = 40;
}
Frame 234
if (_root.sunet == true) {
_root.music.start(0, 999);
}
Instance of Symbol 296 MovieClip "ph" in Frame 234
onClipEvent (mouseDown) {
if (name1 eq "0") {
name1 = _parent.GetClickedNumber();
eval ("_parent." + name1).gotoAndStop(2);
} else {
name2 = _parent.GetClickedNumber();
if (name1 ne name2) {
if (eval (("_parent." + name1) + ".fishka")._currentframe == eval (("_parent." + name2) + ".fishka")._currentframe) {
setProperty("_parent." + name1, _visible , false);
setProperty("_parent." + name2, _visible , false);
eval ("_parent." + name1).FishkiAviable = false;
eval ("_parent." + name2).FishkiAviable = false;
_parent.GetNewOpinion40(Number(name1.substr(1, 1)), Number(name1.substr(2, 1)), Number(name1.substr(3, 1)));
_parent.GetNewOpinion40(Number(name2.substr(1, 1)), Number(name2.substr(2, 1)), Number(name2.substr(3, 1)));
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
var points = Math.floor((60000 - (getTimer() - _parent.tiki.TimeSt)) / 600);
if (points < 0) {
points = 0;
}
points = points + 20;
Set("/gametablo:scores", Number(/gametablo:scores) + points);
_parent.DisSound.gotoAndPlay(2);
_parent.laststep[0] = name1;
_parent.laststep[1] = name2;
_parent.laststep[2] = points;
if (_parent.BackBut._currentframe == 1) {
_parent.BackBut.gotoAndStop(2);
}
steps++;
if (steps == 20) {
_parent.gotoAndPlay("end1");
} else {
play();
}
name1 = "0";
} else if (eval ("_parent." + name2).FishkiAviable && (eval ("_parent." + name2).FishkiFree)) {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
eval ("_parent." + name2).gotoAndStop(2);
name1 = name2;
name2 = "0";
} else {
name2 = "0";
}
} else {
if (_parent.SowFree) {
eval ("_parent." + name1).gotoAndStop(3);
} else {
eval ("_parent." + name1).gotoAndStop(1);
}
name1 = "0";
}
name2 = "0";
}
}
onClipEvent (load) {
_parent.DisposeFishkiAviable();
_parent.GetFreeFunk40();
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
name1 = "0";
name2 = "0";
steps = 0;
}
Instance of Symbol 310 MovieClip "tiki" in Frame 234
onClipEvent (enterFrame) {
Time = getTimer();
if (_root.pauza == false) {
this.play();
TimeSt = TimeSt + dif;
dif = 0;
oldTime = getTimer();
var Sec = Math.floor((Time - TimeSt) / 1000);
var Min = Math.floor(Sec / 60);
Sec = Sec - (Min * 60);
_parent.TimeMin = Min;
if (Sec <= 9) {
_parent.TimeSec = "0" + Sec;
} else {
_parent.TimeSec = Sec;
}
} else {
this.stop();
dif = getTimer() - oldTime;
}
}
onClipEvent (load) {
TimeSt = getTimer();
dif = 0;
}
Instance of Symbol 357 MovieClip "theMeniu" in Frame 234
//component parameters
onClipEvent (initialize) {
wxnume = "Mahjong";
wxaliniere = "Dreapta-Jos";
wxculoare = 9782784 /* 0x954600 */;
wxdownload = true;
wxpause = true;
wxsound = true;
}
Frame 258
if (_currentframe == 258) {
gotoAndPlay ("Five");
_root.music.stop();
}
Frame 259
if (level == 1) {
Set("/gametablo:scores", Number(/gametablo:scores) + 9360);
bonus = 9360;
_root.scorFinal = bonus;
} else if (level == 2) {
Set("/gametablo:scores", Number(/gametablo:scores) + 6560);
bonus = 6560;
_root.scorFinal = bonus;
} else if (level == 3) {
Set("/gametablo:scores", Number(/gametablo:scores) + 4560);
bonus = 4560;
_root.scorFinal = bonus;
} else if (level == 4) {
Set("/gametablo:scores", Number(/gametablo:scores) + 2560);
bonus = 2560;
_root.scorFinal = bonus;
} else if (level == 5) {
Set("/gametablo:scores", Number(/gametablo:scores) + 1600);
bonus = 1600;
_root.scorFinal = bonus;
}
Instance of Symbol 200 MovieClip in Frame 259
//component parameters
onClipEvent (initialize) {
wynume = "Mahjong";
wyculoare = 10111489 /* 0x9A4A01 */;
wyasezare = "Vertical";
wyaliniere = "Centru";
wypozitie = "Jos";
wyinstructions = false;
}
Frame 284
setProperty("/Game", _visible , 0);
trace("scor:" + _root.scorFinal);
setProperty("/Rating", _visible , 1);
tellTarget ("/Rating") {
gotoAndStop ("Save");
};
stop();
Frame 310
setProperty("/Game", _visible , 0);
gotoAndStop ("coperta");
setProperty("/Rating", _visible , 1);
tellTarget ("/Rating") {
gotoAndStop ("Save");
};
stop();
Frame 311
removeMovieClip(_root.xxc1);
removeMovieClip(_root.xxc2);
removeMovieClip(_root.xxc3);
removeMovieClip(_root.xxc4);
stopAllSounds();
Frame 312
_root.menu.removeMovieClip();
_root.gameid = "Mahjong";
_root.best = _root.scorFinal;
_root.scorFinal = 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 314
cale = "http://www.freeonlinegames.com/scoreboard/score.php?game=" + _root.gameid;
loadVariablesNum (cale, 0, "POST");
Frame 315
if (false) {
}
Frame 322
if (done != 1) {
gotoAndPlay ("loopLoad");
} else {
gotoAndPlay ("scoreTable");
}
Frame 326
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 327
stop();
if (_root.best > everscor[100]) {
scoreWind.gotoAndStop("submitScoreYes");
} else {
scoreWind.gotoAndStop("submitScoreNo");
}
if (_root.xdada == 1) {
scoreWind.gotoAndStop("topEver");
}
Symbol 4 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 17 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 26 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 35 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 36 MovieClip [UpArrow] Frame 1
stop();
Symbol 36 MovieClip [UpArrow] Frame 2
stop();
Symbol 36 MovieClip [UpArrow] Frame 3
stop();
Symbol 42 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 51 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 56 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 57 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 65 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 73 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 81 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 82 MovieClip [DownArrow] Frame 1
stop();
Symbol 82 MovieClip [DownArrow] Frame 2
stop();
Symbol 82 MovieClip [DownArrow] Frame 3
stop();
Symbol 84 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 85 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 87 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?Mahjong", "_blank");
}
Symbol 91 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 50
stop();
_parent.play();
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 28
gotoAndPlay ("loop");
Symbol 151 Button
on (release) {
_root.hiden.start();
setProperty("/gametablo", _visible , true);
Set("/gametablo:scores", 0);
gotoAndStop (124);
}
Symbol 156 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?Mahjong", "_blank");
}
Symbol 159 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 167 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 167 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 167 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 168 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 175 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 175 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 175 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 176 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wynume;
getURL (targetul3, "_blank");
}
Symbol 179 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 179 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 179 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 184 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wynume) + ".exe";
getURL (targetul1);
}
Symbol 185 MovieClip Frame 1
stop();
Symbol 188 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wynume;
getURL (targetul2, "_blank");
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 190 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 197 MovieClip Frame 1
stop();
if (_parent.wyaliniere == "Centru") {
this.gotoAndStop(2);
}
if (_parent.wyaliniere == "Dreapta") {
this.gotoAndStop(3);
}
Symbol 197 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 197 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 198 Button
on (release, keyPress "p") {
_parent.instructionsFunction();
}
Symbol 199 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
function instructionsFunction() {
_root.gotoAndStop("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 200 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 200 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 200 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 200 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 200 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 208 Button
on (release) {
prevFrame();
}
Symbol 210 Button
on (release) {
setProperty("/gametablo", _visible , true);
Set("/gametablo:scores", 0);
gotoAndStop (124);
}
Symbol 222 Button
on (release) {
gotoAndStop (125);
}
on (rollOver) {
_root.hiden.start(0, 1);
}
Symbol 223 Button
on (release) {
gotoAndStop (152);
}
on (rollOver) {
_root.hiden.start(0, 1);
}
Symbol 224 Button
on (release) {
gotoAndStop (179);
}
on (rollOver) {
_root.hiden.start(0, 1);
}
Symbol 226 Button
on (release) {
gotoAndStop (206);
}
on (rollOver) {
_root.hiden.start(0, 1);
}
Symbol 228 Button
on (release) {
gotoAndStop (233);
}
on (rollOver) {
_root.hiden.start(0, 1);
}
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 279 MovieClip Frame 3
stop();
Symbol 279 MovieClip Frame 4
stop();
Symbol 279 MovieClip Frame 5
stop();
Symbol 279 MovieClip Frame 6
stop();
Symbol 279 MovieClip Frame 7
stop();
Symbol 279 MovieClip Frame 8
stop();
Symbol 279 MovieClip Frame 9
stop();
Symbol 279 MovieClip Frame 10
stop();
Symbol 279 MovieClip Frame 11
stop();
Symbol 279 MovieClip Frame 12
stop();
Symbol 279 MovieClip Frame 13
stop();
Symbol 279 MovieClip Frame 14
stop();
Symbol 279 MovieClip Frame 15
stop();
Symbol 279 MovieClip Frame 16
stop();
Symbol 279 MovieClip Frame 17
stop();
Symbol 279 MovieClip Frame 18
stop();
Symbol 279 MovieClip Frame 19
stop();
Symbol 279 MovieClip Frame 20
stop();
Symbol 279 MovieClip Frame 21
stop();
Symbol 279 MovieClip Frame 22
stop();
Symbol 279 MovieClip Frame 23
stop();
Symbol 279 MovieClip Frame 24
stop();
Symbol 285 MovieClip Frame 1
stop();
Instance of Symbol 281 MovieClip in Symbol 285 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.pauza == false) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 285 MovieClip Frame 2
stop();
Symbol 285 MovieClip Frame 3
stop();
Instance of Symbol 284 MovieClip in Symbol 285 MovieClip Frame 3
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.pauza == false) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 293 MovieClip Frame 1
if (((shagi - 1) * 2) < 10) {
FishekPut = "00" + ((shagi - 1) * 2);
} else if (((shagi - 1) * 2) < 100) {
FishekPut = "0" + ((shagi - 1) * 2);
} else {
FishekPut = (shagi - 1) * 2;
}
FishekPercent = Math.floor(((shagi - 1) / FullShagi) * 100);
if (shagi < FullShagi) {
shagi++;
var t_one = _parent.GetAllFreeNumber();
if (t_one > 1) {
var t_two = (random(t_one) + 1);
var t_three = (random(t_one) + 1);
if (t_three == t_two) {
if (t_three < t_one) {
t_three++;
} else {
t_three--;
}
}
_parent.PasteTwoNew(t_two, t_three, _parent.GetNewFishka());
}
} else {
_parent.DisposeFishkiAviable();
_parent.play();
}
Symbol 293 MovieClip Frame 2
if (((shagi - 1) * 2) < 10) {
FishekPut = "00" + ((shagi - 1) * 2);
} else if (((shagi - 1) * 2) < 100) {
FishekPut = "0" + ((shagi - 1) * 2);
} else {
FishekPut = (shagi - 1) * 2;
}
FishekPercent = Math.floor(((shagi - 1) / FullShagi) * 100);
if (shagi < FullShagi) {
shagi++;
var t_one = _parent.GetAllFreeNumber();
if (t_one > 0) {
var t_two = (random(t_one) + 1);
var t_three = (random(t_one) + 1);
if (t_three == t_two) {
if (t_three < t_one) {
t_three++;
} else {
t_three--;
}
}
_parent.PasteTwoNew(t_two, t_three, _parent.GetNewFishka());
}
} else {
_parent.DisposeFishkiAviable();
_parent.play();
}
Symbol 296 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 2
if (!_parent.GetDublikatesExist()) {
_parent.ErrMSG._visible = true;
}
Symbol 298 Button
on (release) {
_parent.EvSound.play();
nextFrame();
}
Symbol 300 Button
on (release) {
_parent.EvSound.play();
prevFrame();
}
Symbol 302 MovieClip Frame 1
!!!ERROR
Symbol 302 MovieClip Frame 2
_parent.SowFree = true;
_parent.ShowFreeFunc();
stop();
Symbol 302 MovieClip Frame 3
_parent.SowFree = false;
_parent.HideFreeFunc();
stop();
Symbol 305 Button
on (release) {
if (_parent.ph.name1 ne "0") {
eval ("_parent." + _parent.ph.name1).gotoAndStop(1);
_parent.ph.name1 = "0";
}
_parent.ph.steps--;
setProperty("_parent." + _parent.laststep[0], _visible , true);
eval ("_parent." + _parent.laststep[0]).gotoAndStop(1);
eval ("_parent." + _parent.laststep[0]).FishkiAviable = true;
setProperty("_parent." + _parent.laststep[1], _visible , true);
eval ("_parent." + _parent.laststep[1]).gotoAndStop(1);
eval ("_parent." + _parent.laststep[1]).FishkiAviable = true;
Set("/gametablo:scores", Number(/gametablo:scores) - Number(_parent.laststep[2]));
if (_parent.level == 1) {
_parent.GetFreeFunk234();
} else if (_parent.level == 2) {
_parent.GetFreeFunk164();
} else if (_parent.level == 3) {
_parent.GetFreeFunk114();
} else if (_parent.level == 4) {
_parent.GetFreeFunk64();
} else if (_parent.level == 5) {
_parent.GetFreeFunk40();
}
if (_parent.SowFree) {
_parent.ShowFreeFunc();
}
_parent.EvSound.play();
if (_parent.ErrMSG._visible) {
_parent.ErrMSG._visible = false;
}
prevFrame();
}
Symbol 306 MovieClip Frame 1
!!!ERROR
Symbol 306 MovieClip Frame 2
!!!ERROR
Symbol 312 Button
on (release) {
targetul3 = "http://www.freegamesforyourwebsite.com/?" + _parent.wxnume;
getURL (targetul3, "_blank");
}
Symbol 313 Button
on (release) {
targetul2 = "http://www.freeonlinegames.com/?" + _parent.wxnume;
getURL (targetul2, "_blank");
}
Symbol 314 Button
on (release) {
!!!ERROR
Symbol 315 Button
on (release) {
targetul1 = ("http://www.freeonlinegames.com/downloads/" + _parent.wxnume) + ".exe";
getURL (targetul1);
}
Symbol 316 Button
on (release, keyPress "p") {
!!!ERROR
Symbol 317 Button
on (release, keyPress "s") {
!!!ERROR
Symbol 328 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 328 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 328 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 328 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 328 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 328 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 328 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 328 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 333 Button
on (press) {
!!!ERROR
Symbol 336 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 336 MovieClip Frame 2
tg._x = 147;
tg._y = 1.1;
Symbol 336 MovieClip Frame 3
tg._x = 147;
tg._y = -174.9;
Symbol 336 MovieClip Frame 4
tg._x = 1.5;
tg._y = -174.9;
Symbol 336 MovieClip Frame 5
tg._x = 147;
tg._y = -152.4;
Symbol 336 MovieClip Frame 6
tg._x = 147;
tg._y = -128.9;
Symbol 336 MovieClip Frame 7
tg._x = 147;
tg._y = -104.9;
Symbol 336 MovieClip Frame 8
tg._x = 1.5;
tg._y = -151.4;
Symbol 336 MovieClip Frame 9
tg._x = 1.5;
tg._y = -128.4;
Symbol 336 MovieClip Frame 10
tg._x = 1.5;
tg._y = -104.9;
Symbol 355 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 356 MovieClip Frame 1
stop();
if ((_parent.wxaliniere == "Stanga-Sus") || (_parent.wxaliniere == "Dreapta-Sus")) {
this.gotoAndStop(2);
}
Symbol 357 MovieClip Frame 1
function pauseFunction() {
var _local1 = _root;
if (_local1.pauza == false) {
_local1.theMeniu.gotoAndStop("deskis");
_local1.pauza = true;
_local1.pau._visible = 1;
} else {
_local1.theMeniu.gotoAndStop("inkis");
_local1.pauza = false;
_local1.pau._visible = 0;
}
}
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;
EvSound.play();
if (_local1.ErrMSG._visible) {
_local1.ErrMSG._visible = false;
}
_local1.gotoAndPlay("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 357 MovieClip Frame 10
!!!ERROR
Symbol 357 MovieClip Frame 20
!!!ERROR
Symbol 358 MovieClip Frame 1
!!!ERROR
Symbol 358 MovieClip Frame 2
if (_root.sunet == true) {
_root.piesa.start();
}
Symbol 359 MovieClip Frame 1
!!!ERROR
Symbol 359 MovieClip Frame 2
if (_root.sunet == true) {
_root.hiden.start();
}
Symbol 374 Button
on (release) {
EvSound.play();
if (_root.ErrMSG._visible) {
_root.ErrMSG._visible = false;
}
_root.gotoAndPlay("coperta");
}
Symbol 377 Button
on (release) {
_root.xdada = 0;
_root.gotoAndPlay("submitScore");
}
Symbol 387 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 394 Button
on (release) {
!!!ERROR
Symbol 699 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 85 MovieClip [FScrollBarSymbol] "scroll1" in Symbol 699 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
!!!ERROR
Symbol 705 Button
on (release) {
!!!ERROR
Symbol 721 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 727 Button
on (release) {
!!!ERROR
Symbol 731 MovieClip Frame 1
!!!ERROR
Symbol 731 MovieClip Frame 9
!!!ERROR
Symbol 731 MovieClip Frame 22
!!!ERROR
Symbol 731 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 731 MovieClip Frame 45
if (_root.updated != 1) {
gotoAndPlay ("loop");
} else {
_root.best = 0;
_root.score = 0;
_root.xdada = 1;
_root.gotoAndPlay("submitScore");
}