Frame 1
version = getVersion().split(",").shift();
if (version.substr(4, 5) < 8) {
_parent.gotoAndStop(4);
} else {
_parent.gotoAndStop(2);
}
storyFirst = true;
stop();
Instance of Symbol 500 MovieClip "Pointer" in Frame 1
onClipEvent (enterFrame) {
this.swapDepths(19993);
}
Frame 3
linksXML = new XML();
linksXML.ignoreWhite = true;
linksXML.onLoad = function (success) {
if (success) {
menuItem = this.firstChild.childNodes;
_root.downloadLink = menuItem[0].attributes.url;
_root.buyLink = menuItem[1].attributes.url;
}
};
url = _url.substr(0, _url.lastIndexOf("/") + 1);
linksXML.load(url + "Mah-Jomino_links.xml");
function __com_mochibot__(swfid, mc, lv) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = ((((((((((("http://" + mbc) + "/my/core.swf?mv=5&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("1b451e32", this, 10301);
menuText = "";
menuBG.fullVersionText._visible = false;
stop();
function level1Array() {
this["myMap1" + n] = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 200, 0, 200, 0, 0, 0, 200, 0, 200, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 200, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 200, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 200, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 200, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 200, 0, 122, 0, 200, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 200, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 200, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 200, 0, 123, 0, 200, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 200, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 200, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 200, 0, 0, 200, 0, 0, 0, 0, 0, 0, 0, 200, 0, 0, 200, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 200, 0, 200, 0, 0, 0, 200, 0, 200, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 201, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
this["myMap12" + n] = [[0, 0, 0, 0, 0, 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ECTOR BEFORE: " + tile.tile.graphic.selector._currentframe);
if (tile.swapped == false) {
tile.swapped = true;
} else if (tile.swapped == true) {
tile.swapped = false;
}
if (SFXOn == true) {
swapUsedSnd.start(0, 1);
}
colorFlash(tile, 6);
oldLeft = tile.leftside;
oldRight = tile.rightside;
tile.tile.graphic.rightSymbol.blah5641.removeMovieClip();
tile.tile.graphic.leftSymbol.blah5642.removeMovieClip();
tile.tile.graphic.rightSymbol.attachMovie(tile.leftside, "blah5641", 12455);
tile.tile.graphic.leftSymbol.attachMovie(tile.rightside, "blah5642", 12456);
tile.leftside = oldRight;
tile.rightside = oldLeft;
swap = false;
_root["old1_" + undonum1] = tile;
_root["old2_" + undonum2] = tile;
if (tile.swapped == true) {
_root["old1_" + undonum1].swapped = true;
}
_root["old1_" + undonum1].numSwapped++;
numSwaps--;
undonum1++;
undonum2++;
tile.select = true;
if (tile.jewel == true) {
tile.tile.graphic.domino.gotoAndStop(4);
} else {
tile.tile.graphic.domino.gotoAndStop(2);
}
tile.tile.graphic.selector.gotoAndStop(oldSelector);
trace("OLD SELECTOR: " + oldSelector);
trace("SELECTOR AFTER: " + tile.tile.graphic.selector._currentframe);
trace("DOMINO FRAME: " + tile.tile.graphic.domino._currentframe);
}
function tweenBall1(mc1, tile) {
easeType = mx.transitions.easing.Regular.easeIn;
var _local3 = mc1._x;
var _local2 = mc1._y;
var _local5 = ((Stage.width / 2) - (mc1._width / 2)) + 100;
var _local4 = (Stage.height / 2) - 44;
var _local1 = 0.3;
ballTween = new mx.transitions.Tween(mc1, "_x", easeType, _local3, _local5, _local1, true);
ballTween = new mx.transitions.Tween(mc1, "_y", easeType, _local2, _local4, _local1, true);
ballTween.onMotionFinished = function () {
if (SFXOn == true) {
clickSnd.start(0, 1);
}
if ((tile.leftside == "Mah") || (tile.leftside == "Jomino")) {
tweenBallRotate1(mc1);
} else {
tweenBallDown1(mc1);
}
};
}
function tweenBall2(mc2, tile) {
easeType = mx.transitions.easing.Regular.easeIn;
var _local5 = mc2._x;
var _local4 = mc2._y;
var _local3 = ((Stage.width / 2) - (mc2._width / 2)) + 45;
var _local2 = (Stage.height / 2) - 44;
var _local1 = 0.3;
ballTween = new mx.transitions.Tween(mc2, "_x", easeType, _local5, _local3, _local1, true);
ballTween = new mx.transitions.Tween(mc2, "_y", easeType, _local4, _local2, _local1, true);
ballTween.onMotionFinished = function () {
if ((tile.leftside == "Mah") || (tile.leftside == "Jomino")) {
tweenBallRotate2(mc2);
} else {
tweenBallDown2(mc2);
}
};
}
function tweenBallDown1(mc1) {
easeType = mx.transitions.easing.Bounce.easeOut;
var _local2 = mc1._x;
var _local5 = mc1._y;
var _local7 = _local2 + 20;
var _local6 = 306;
var _local3 = 0.7;
ballTween = new mx.transitions.Tween(mc1, "_x", easeType, _local2, _local7, _local3, true);
ballTween = new mx.transitions.Tween(mc1, "_y", easeType, _local5, _local6, _local3, true);
ballTween.onMotionFinished = function () {
_root["previous1" + (undonum1 - 2)]._visible = false;
};
}
function tweenBallDown2(mc2) {
easeType = mx.transitions.easing.Bounce.easeOut;
var _local3 = mc2._x;
var _local7 = mc2._y;
var _local6 = _local3;
var _local5 = 306;
var _local2 = 0.7;
ballTween = new mx.transitions.Tween(mc2, "_x", easeType, _local3, _local6, _local2, true);
ballTween = new mx.transitions.Tween(mc2, "_y", easeType, _local7, _local5, _local2, true);
ballTween.onMotionFinished = function () {
_root["previous2" + (undonum2 - 2)]._visible = false;
};
}
function tweenJewel1(mc1) {
easeType = mx.transitions.easing.Regular.easeIn;
var _local3 = mc1._x;
var _local2 = mc1._y;
var _local5 = ((Stage.width / 2) - (mc1._width / 2)) + 15;
var _local4 = (Stage.height / 2) - 30;
var _local1 = 0.3;
ballTween = new mx.transitions.Tween(mc1, "_x", easeType, _local3, _local5, _local1, true);
ballTween = new mx.transitions.Tween(mc1, "_y", easeType, _local2, _local4, _local1, true);
ballTween.onMotionFinished = function () {
mc1.gotoAndPlay(3);
};
}
function tweenJewel2(mc2) {
easeType = mx.transitions.easing.Regular.easeIn;
var _local5 = mc2._x;
var _local4 = mc2._y;
var _local3 = ((Stage.width / 2) - (mc2._width / 2)) + 15;
var _local2 = (Stage.height / 2) - 30;
var _local1 = 0.3;
ballTween = new mx.transitions.Tween(mc2, "_x", easeType, _local5, _local3, _local1, true);
ballTween = new mx.transitions.Tween(mc2, "_y", easeType, _local4, _local2, _local1, true);
ballTween.onMotionFinished = function () {
mc2.gotoAndStop(1);
};
}
function tweenBallRotate1(mc1) {
easeType = mx.transitions.easing.Strong.easeOut;
var _local1 = mc1._x;
var _local4 = mc1._y;
var _local3 = mc2._x;
var _local7 = mc2._y;
var _local9 = _local1 - 10;
var _local8 = 344;
var _local6 = _local3 + 10;
var _local5 = 344;
var _local2 = 0.8;
mc1.gotoAndPlay(3);
ballTween = new mx.transitions.Tween(mc1, "_rotation", easeType, 360, 0, _local2, true);
ballTween.onMotionFinished = function () {
tweenBallDown1(mc1);
};
}
function tweenBallRotate2(mc2) {
easeType = mx.transitions.easing.Strong.easeOut;
var _local1 = mc1._x;
var _local4 = mc1._y;
var _local3 = mc2._x;
var _local7 = mc2._y;
var _local9 = _local1 - 10;
var _local8 = 344;
var _local6 = _local3 + 10;
var _local5 = 344;
var _local2 = 0.8;
mc2.gotoAndPlay(3);
ballTween = new mx.transitions.Tween(mc2, "_rotation", easeType, 0, 360, _local2, true);
ballTween.onMotionFinished = function () {
tweenBallDown2(mc2);
};
}
function colorFlash(mc, flashAmount) {
function whiteTint() {
myColor.setTint(255, 255, 255, 100);
trace("f: " + _root.f);
_root.f++;
if (_root.f == flashAmount) {
clearInterval(interval1);
}
}
function noTint() {
myColor.setTint(0, 0, 0, 0);
trace("l: " + _root.l);
_root.l++;
if (_root.l == flashAmount) {
clearInterval(interval2);
if ((mc.jewel == true) && (this.swap == true)) {
trace("THIS IS A JEWEL PIECE");
mc.tile.graphic.domino.gotoAndStop(4);
} else {
mc.tile.graphic.domino.gotoAndStop(2);
}
}
}
_root.f = 0;
_root.l = 0;
myColor = new Color(mc);
interval1 = setInterval(whiteTint, 30, _root.f);
interval2 = setInterval(noTint, 60, _root.l);
}
function removeTiles(tile1, tile2, sides) {
addScore = 0;
_root.tileScore1MC.gotoAndStop(1);
_root.tileScore2MC.gotoAndStop(1);
trace("FINDING: " + tile1.levelabove[9][10]);
if (_root.firstTime == true) {
if (_root.tutorialPresses == 1) {
_root.tutorialPresses++;
_root["display" + n].tiles.t_6_13_l_1.tile.graphic.overlay.gotoAndStop(1);
_root.overlayMC.gotoAndStop(4);
} else if (_root.tutorialPresses == 3) {
_root.tutorialPresses++;
_root["display" + n].tiles.t_1_4_l_1.tile.graphic.overlay.gotoAndStop(1);
_root["display" + n].tiles.t_1_5_l_2.tile.graphic.overlay.gotoAndStop(1);
_root["display" + n].tiles.t_1_11_l_2.tile.graphic.overlay.gotoAndStop(1);
_root.overlayMC.gotoAndStop(6);
} else if (_root.tutorialPresses == 4) {
_root.tutorialPresses++;
_root["display" + n].tiles.t_1_14_l_1.tile.graphic.overlay.gotoAndStop(1);
_root["display" + n].tiles.t_3_11_l_1.tile.graphic.overlay.gotoAndStop(1);
_root["display" + n].tiles.t_9_14_l_2.tile.graphic.overlay.gotoAndStop(1);
_root["display" + n].tiles.t_9_4_l_2.tile.graphic.overlay.gotoAndStop(1);
_root["display" + n].tiles.t_4_5_l_1.tile.graphic.overlay.gotoAndStop(1);
_root["display" + n].tiles.t_1_4_l_1.tile.graphic.overlay.gotoAndStop(1);
_root.overlayMC.gotoAndStop(7);
} else if (_root.tutorialPresses == 5) {
_root.tutorialPresses++;
i = 0;
while (i < _root.goodTiles.length) {
_root.goodTiles[i].tile.graphic.overlay.gotoAndStop(2);
i++;
}
_root.overlayMC.gotoAndStop(8);
}
}
trace(sides);
if (sides == "right") {
trace(tile1.rightside);
trace(tile2.rightside);
addScore = tile1.rightside * 10;
} else if (sides == "left") {
trace(tile1.leftside);
trace(tile2.leftside);
addScore = tile1.leftside * 10;
} else if (sides == "rightleft") {
trace(tile1.rightside);
trace(tile2.leftside);
addScore = tile1.rightside * 10;
} else if (sides == "leftright") {
trace(tile1.leftside);
trace(tile2.rightside);
addScore = tile1.leftside * 10;
} else if (sides == "mahjomino") {
trace(tile1.leftside);
trace(tile2.rightside);
}
if (addScore == _root["previousScore" + undonum1]) {
trace("x 2!!!");
addScore = addScore * 2;
scorex2MC1.gotoAndPlay(2);
scorex2MC2.gotoAndPlay(2);
}
matching = true;
tile1.tileLevel[tile1.y][tile1.x] = 0;
tile2.tileLevel[tile2.y][tile2.x] = 0;
if ((tile1.swap == true) || (tile2.swap == true)) {
if (SFXOn == true) {
swapearnedSnd.start(0, 1);
}
_root.interfaceMC.bottom.swapMC.gotoAndPlay(2);
if ((tile1.swap == true) && (tile2.swap == true)) {
numSwaps++;
}
numSwaps++;
if (_root.tutorialPresses == 6) {
_root.mahjominoTut.gotoAndStop(3);
_root.previousMC._visible = false;
_root.tutorialPresses++;
}
}
previousMatch1(tile1, tile2);
previousMatch2(tile1, tile2);
previousSelect = null;
previousSelect.select = false;
visibleMatches = 0;
addTimeTXT = 0;
if ((tile1.jewel == true) && (tile2.jewel == true)) {
pairsMade++;
addScore = jewelScore;
tile1.tile.gotoAndStop(85);
tile2.tile.gotoAndStop(85);
var _local5 = _root.jewel1.attachMovie("jewelAnimation", "jewelAnimation_" + undonum1, 10012, {_x:tile1._x - 10, _y:tile1._y + 75});
getXY(_local5, tile1, false);
_local5.gotoAndStop(2);
tweenJewel1(_local5);
var _local6 = _root.jewel2.attachMovie("jewelAnimation", "jewelAnimation_" + undonum2, 10013, {_x:tile2._x - 10, _y:tile2._y + 75});
getXY(_local6, tile2, false);
_local6.gotoAndStop(2);
tweenJewel2(_local6);
trace("ADDTIME1: " + addTimeTXT);
if (tile1.addedAlready != true) {
_root.addTime = true;
tile1.addedAlready = true;
addTimeTXT = addTimeTXT + 15;
_root.timeAdded = _root.timeAdded + addTimeTXT;
}
if (tile2.addedAlready != true) {
_root.addTime = true;
tile2.addedAlready = true;
addTimeTXT = addTimeTXT + 15;
_root.timeAdded = _root.timeAdded + addTimeTXT;
}
if (addTimeTXT > 0) {
_root.addTimeTXTMC = "+" + addTimeTXT;
_root.interfaceMC.upper.timerParticle.gotoAndPlay(2);
_root.timeAnimation.gotoAndPlay(2);
}
trace("ADDTIME2: " + addTimeTXT);
if (SFXOn == true) {
matchSuccessSnd.start(0, 1);
}
_root.scoreAnimation.gotoAndPlay(2);
scoreAnimation.scoreMC.scoreTXT.setTextFormat(myTextFormat);
score = score + addScore;
_root["previousScore" + undonum1] = addScore;
jewelScore = jewelScore + 500;
} else {
tile1.tile.gotoAndPlay(59);
tile2.tile.gotoAndPlay(59);
if (sides != "mahjomino") {
_root.tileScore1MC.gotoAndPlay(2);
_root.tileScore2MC.gotoAndPlay(2);
myTextFormat = new TextFormat();
myTextFormat.letterSpacing = 5;
tileScore1MC.scoreMC.scoreTXT.setTextFormat(myTextFormat);
tileScore2MC.scoreMC.scoreTXT.setTextFormat(myTextFormat);
score = score + (addScore * 2);
_root["previousScore" + undonum1] = addScore;
}
}
_root.scorerestartTime();
remainingTiles--;
remainingTiles--;
trace(remainingTiles);
if (((tile1.rightside != "Jomino") && (_root.mahjominoUnlocked != true)) || ((tile1.leftside != "Jomino") && (_root.mahjominoUnlocked != true))) {
if (((_root.firstTime == true) && (_level0._root["display" + n].tiles.t_9_8_l_2.tile._currentframe != 1)) && (_level0._root["display" + n].tiles.t_9_6_l_1.tile._currentframe != 1)) {
_root.previousMC._visible = false;
_root.mahjominoTut.gotoAndStop(2);
_root.mahjominoUnlocked = true;
}
}
i = 0;
while (i < tilesRemaining.length) {
if (tilesRemaining[i] == tile1) {
tilesRemaining.splice(i, 1);
break;
}
i++;
}
t = 0;
while (t < tilesRemaining.length) {
if (tilesRemaining[t] == tile2) {
tilesRemaining.splice(t, 1);
break;
}
t++;
}
_root.mustSwap = false;
visibleMatchFunc();
}
function visibleMatchFunc() {
visibleMatches = 0;
r = 0;
while (r < tilesRemaining.length) {
selectableSide(tilesRemaining[r]);
if ((tilesRemaining[r].leftSelect == true) || (tilesRemaining[r].rightSelect == true)) {
m = 0;
while (m < tilesRemaining.length) {
selectableSide(tilesRemaining[m]);
if (tilesRemaining[m] != tilesRemaining[r]) {
if (tilesRemaining[m].leftSelect == true) {
if ((tilesRemaining[m].leftside == tilesRemaining[r].leftside) && (tilesRemaining[r].leftSelect == true)) {
visibleMatches++;
}
if ((tilesRemaining[m].leftside == tilesRemaining[r].rightside) && (tilesRemaining[r].rightSelect == true)) {
visibleMatches++;
}
}
if (tilesRemaining[m].rightSelect == true) {
if ((tilesRemaining[m].rightside == tilesRemaining[r].rightside) && (tilesRemaining[r].rightSelect == true)) {
visibleMatches++;
}
if ((tilesRemaining[m].rightside == tilesRemaining[r].leftside) && (tilesRemaining[r].leftSelect == true)) {
visibleMatches++;
}
}
}
m++;
}
}
r++;
}
visibleMatches = visibleMatches / 2;
if ((_root.mahjominoTiles[0].leftSelect == true) && (_root.mahjominoTiles[1].leftSelect == true)) {
visibleMatches++;
} else if ((_root.mahjominoTiles[0].rightSelect == true) && (_root.mahjominoTiles[1].rightSelect == true)) {
visibleMatches++;
} else if ((_root.mahjominoTiles[0].rightSelect == true) && (_root.mahjominoTiles[1].leftSelect == true)) {
visibleMatches++;
} else if ((_root.mahjominoTiles[0].leftSelect == true) && (_root.mahjominoTiles[1].rightSelect == true)) {
visibleMatches++;
}
if ((visibleMatches == 0) && (numSwaps != 0)) {
visibleSwaps();
} else if ((visibleMatches == 0) && (numSwaps == 0)) {
fade(snd1, 0, 2);
gameoverSnd.start(0, 1);
_root.mustSwap = false;
_root.paused = true;
_root.scorepause();
_root.previousMC._visible = false;
_root.darkenScreen.gotoAndStop(60);
_root.overlayMC._visible = false;
_root.scoreAnimation._visible = false;
_root.jewel1._visible = false;
_root.jewel2._visible = false;
tileScore1MC._visible = false;
tileScore2MC._visible = false;
scorex2MC1._visible = false;
scorex2MC2._visible = false;
timeAnimation._visible = false;
_root._root["display" + _root.n].tiles._visible = false;
pause();
} else {
_root.mustSwap = false;
_root.interfaceMC.bottom.swapButton.gotoAndStop(1);
}
trace("NUMBER OF TILES: " + _root.tilesRemaining.length);
}
function visibleSwaps() {
visibleSwapNum = 0;
r = 0;
while (r < tilesRemaining.length) {
selectableSide(tilesRemaining[r]);
if ((tilesRemaining[r].leftSelect == true) || (tilesRemaining[r].rightSelect == true)) {
m = 0;
while (m < tilesRemaining.length) {
selectableSide(tilesRemaining[m]);
if (tilesRemaining[m] != tilesRemaining[r]) {
if (tilesRemaining[m].leftSelect == true) {
if ((tilesRemaining[m].rightside == tilesRemaining[r].leftside) && (tilesRemaining[r].leftSelect == true)) {
visibleSwapNum++;
}
if ((tilesRemaining[m].rightside == tilesRemaining[r].rightside) && (tilesRemaining[r].rightSelect == true)) {
if (tilesRemaining[r].rightSelect != tilesRemaining[r].leftSelect) {
visibleSwapNum++;
}
}
}
if (tilesRemaining[m].rightSelect == true) {
if ((tilesRemaining[m].leftside == tilesRemaining[r].rightside) && (tilesRemaining[r].rightSelect == true)) {
visibleSwapNum++;
}
if ((tilesRemaining[m].leftside == tilesRemaining[r].leftside) && (tilesRemaining[r].leftSelect == true)) {
if (tilesRemaining[r].rightSelect != tilesRemaining[r].leftSelect) {
visibleSwapNum++;
}
}
}
}
m++;
}
}
r++;
}
if (visibleSwapNum > 0) {
_root.interfaceMC.bottom.swapButton.gotoAndPlay(4);
_root.mustSwap = true;
} else {
trace("NO POSSIBLE SWAP MATCHES");
fade(snd1, 0, 2);
gameoverSnd.start(0, 1);
_root.paused = true;
_root.scorepause();
_root.previousMC._visible = false;
_root.darkenScreen.gotoAndStop(60);
_root.scoreAnimation._visible = false;
_root.jewel1._visible = false;
_root.jewel2._visible = false;
_root.overlayMC._visible = false;
tileScore1MC._visible = false;
tileScore2MC._visible = false;
scorex2MC1._visible = false;
scorex2MC2._visible = false;
timeAnimation._visible = false;
_root._root["display" + _root.n].tiles._visible = false;
pause();
}
visibleSwapNum = 0;
}
function selectableSide(tile) {
if ((((((((((tile.levelabove[tile.y + 1][tile.x] == 0) && (tile.levelabove[tile.y - 1][tile.x] == 0)) && (tile.levelabove[tile.y - 1][tile.x - 1] == 0)) && (tile.levelabove[tile.y - 1][tile.x + 1] == 0)) && (tile.levelabove[tile.y + 1][tile.x - 1] == 0)) && (tile.levelabove[tile.y + 1][tile.x + 1] == 0)) && (tile.levelabove[tile.y][tile.x] == 0)) && (tile.levelabove[tile.y][tile.x + 1] == 0)) && (tile.levelabove[tile.y][tile.x - 1] == 0)) || (tile.levelabove[tile.y][tile.x] == undefined)) {
if (((tile.tileLevel[tile.y][tile.x - 2] == 0) && (tile.tileLevel[tile.y - 1][tile.x - 2] == 0)) && (tile.tileLevel[tile.y + 1][tile.x - 2] == 0)) {
tile.leftSelect = true;
} else {
tile.leftSelect = false;
}
if (((tile.tileLevel[tile.y][tile.x + 2] == 0) && (tile.tileLevel[tile.y - 1][tile.x + 2] == 0)) && (tile.tileLevel[tile.y + 1][tile.x + 2] == 0)) {
tile.rightSelect = true;
} else {
tile.rightSelect = false;
}
}
}
function getXY(jewel, tile, yes) {
if (_root.level == 1) {
if (yes != true) {
jewel._x = tile._x - 10;
jewel._y = tile._y + 25;
} else {
jewel._x = tile._x + 30;
jewel._y = tile._y + 16;
}
} else if (_root.level == 2) {
if (yes != true) {
jewel._x = tile._x - 30;
jewel._y = tile._y + 25;
} else {
jewel._x = tile._x + 10;
jewel._y = tile._y + 31;
}
} else if (_root.level == 3) {
if (yes != true) {
jewel._x = tile._x - 35;
jewel._y = tile._y + 25;
} else {
jewel._x = tile._x + 5;
jewel._y = tile._y + 31;
}
} else if (_root.level == 4) {
if (yes != true) {
jewel._x = tile._x - 55;
jewel._y = tile._y + 45;
} else {
jewel._x = tile._x - 15;
jewel._y = tile._y + 51;
}
} else if (_root.level == 5) {
if (yes != true) {
jewel._x = tile._x - 85;
jewel._y = tile._y + 65;
} else {
jewel._x = tile._x - 45;
jewel._y = tile._y + 71;
}
}
}
function previousMatch1(tile1, tile2) {
var _local4 = previousMC.blank1.old1.getNextHighestDepth();
var _local2 = previousMC.blank1.old1.attachMovie("tile", "t1_" + undonum1, _local4 + 1);
if (tile1.swapped == true) {
_local2.swapped = true;
}
_local2.gotoAndStop(2);
if (tile1.leftside == "Mah") {
_local2.tile.graphic.gotoAndStop(122);
} else if (tile1.leftside == "Jomino") {
_local2.tile.graphic.gotoAndStop(123);
} else {
_local2.leftside = tile1.leftside;
_local2.rightside = tile1.rightside;
trace("CB1 LEFT: " + _local2.leftside);
trace("CB1 RIGHT: " + _local2.rightside);
_local2.tile.gotoAndPlay(62);
_local2.tile.graphic.rightSymbol.attachMovie(_local2.rightside, "blah5641", 12455);
_local2.tile.graphic.leftSymbol.attachMovie(_local2.leftside, "blah5642", 12456);
}
if ((tile1.jewel == true) && (tile2.jewel == true)) {
_local2._x = 330;
_local2._y = 306;
} else {
getXY(_local2, tile1, true);
tweenBall1(_local2, tile1);
}
if (tile1.swap != true) {
_local2.tile.graphic.domino.gotoAndStop(1);
} else {
if (tile1.jewel == true) {
trace("PREVIOUS WAS AS SWAP AND A JEWEL");
}
_local2.swap = true;
_local2.tile.graphic.domino.gotoAndStop(3);
}
trace("CURRENT FRAME OF PREVIOUS: " + _local2.tile.graphic.domino._currentframe);
_local2.origX = tile1._x;
_local2.origY = tile1._y;
_root["previous1" + undonum1] = _local2;
_root["old1_" + undonum1] = tile1;
if (tile1.swapped == true) {
_root["old1_" + undonum1].swapped = true;
}
undonum1++;
return(_root["old1_" + undonum1]);
}
function previousMatch2(tile1, tile2) {
var _local4 = previousMC.blank2.old2.getNextHighestDepth();
var _local2 = previousMC.blank2.old2.attachMovie("tile", "t2_" + undonum2, _local4 + 1);
if (tile2.swapped == true) {
_local2.swapped = true;
}
_local2.gotoAndStop(2);
if (tile2.leftside == "Mah") {
_local2.tile.graphic.gotoAndStop(122);
} else if (tile2.leftside == "Jomino") {
_local2.tile.graphic.gotoAndStop(123);
} else {
_local2.leftside = tile2.leftside;
_local2.rightside = tile2.rightside;
trace("CB2 LEFT: " + _local2.leftside);
trace("CB2 RIGHT: " + _local2.rightside);
_local2.tile.gotoAndPlay(62);
_local2.tile.graphic.rightSymbol.attachMovie(_local2.rightside, "blah5641", 12455);
_local2.tile.graphic.leftSymbol.attachMovie(_local2.leftside, "blah5642", 12456);
}
if ((tile1.jewel == true) && (tile2.jewel == true)) {
_local2._x = 255;
_local2._y = 306;
} else {
getXY(_local2, tile2, true);
tweenBall2(_local2, tile2);
}
if (tile2.swap != true) {
_local2.tile.graphic.domino.gotoAndStop(1);
} else {
trace("PREVIOUS WAS AS SWAP");
if (tile2.jewel == true) {
trace("PREVIOUS WAS AS SWAP AND A JEWEL");
}
_local2.swap = true;
_local2.tile.graphic.domino.gotoAndStop(3);
}
trace("CURRENT FRAME OF PREVIOUS: " + _local2.tile.graphic.domino._currentframe);
_local2.origX = tile2._x;
_local2.origY = tile2._y;
_root["previous2" + undonum2] = _local2;
_root["old2_" + undonum2] = tile2;
if (tile2.swapped == true) {
_root["old2_" + undonum2].swapped = true;
}
undonum2++;
return(_root["old2_" + undonum2]);
}
function initCells(map, top, amount, jewelTotal) {
var _local5 = [];
var _local13 = 0;
var _local14 = map.length;
trace(_local14);
this[((("cell_movieclips" + level) + n) + "_") + tileLevel] = [];
var _local4 = 0;
while (_local4 <= (map.length - 1)) {
_local5[_local4] = map[_local4].length + (_local13++);
this[((("cell_movieclips" + level) + n) + "_") + tileLevel][_local4] = new Array();
_local4++;
}
while (_local5[0] > -15) {
_local4 = 0;
while (_local4 <= (map.length - 1)) {
if (((--_local5[_local4]) >= 0) && (_local5[_local4] < map[_local4].length)) {
c = Number([_local5[_local4]].toString());
frame = map[_local4][_local5[_local4]];
var _local7 = _root["display" + n].tiles.getNextHighestDepth();
var _local3 = _root["display" + n].tiles.attachMovie("tile", (((("t_" + _local4) + "_") + c) + "_l_") + tileLevel, _local7, {_x:(c * cell_width) + (tileLevel * 4), _y:(_local4 * cell_height) - (tileLevel * 4)});
if (frame != 0) {
_local3.gotoAndStop(2);
}
if (((frame != 0) && (frame != 122)) && (frame != 123)) {
_root.goodTiles.push(_local3);
}
if (frame != 0) {
_root.tilesRemaining.push(_local3);
}
_local3.y = _local4;
_local3.x = c;
getRandom(_local3, frame, amount, jewelTotal);
_local3.type = _local3._currentframe;
_local3.tileLevel = map;
_local3.numSwapped = 0;
_local3.levelnum = tileLevel;
if (top == false) {
_local3.levelabove = this[("myMap" + (tileLevel + 1)) + n];
} else {
_local3.levelabove = null;
_local3.levelbelow = this[("myMap" + (tileLevel - 1)) + n];
}
_local3.thisframe = _local3.tile.graphic._currentframe;
if ((level == 1) && (tutorialPresses < 5)) {
_local3.tile.graphic.overlay.gotoAndStop(2);
}
_local3.select = false;
_local3.origX = _local3._x;
_local3.origY = _local3._y;
_local3.swapped = false;
_local3.useHandCursor = false;
_local3.onRollOver = cellRollOver;
_local3.onRollOut = cellRollOut;
_local3.onPress = cellPress;
}
_local4++;
}
}
if (top == false) {
tileLevel++;
}
if ((level == 1) && (tutorialPresses < 5)) {
_root["display" + n].tiles.t_1_2_l_1.tile.graphic.overlay.gotoAndStop(1);
}
}
function randomJewel(tileAmount) {
blah = random(_root.goodTiles.length);
jewelTile = _root.goodTiles[blah];
if (jewelTile.jewel == true) {
randomJewel(tileAmount);
return(undefined);
}
jewelExists();
jewelTile.tile.graphic.rightSymbol.attachMovie(_root.randRight, "blah5641", 12455);
jewelTile.tile.graphic.leftSymbol.attachMovie(_root.randLeft, "blah5642", 12456);
jewelTile.leftside = _root.randLeft;
jewelTile.rightside = _root.randRight;
jewelTile.jewel = true;
if (jewelTile.swap == true) {
jewelTile.tile.graphic.domino.gotoAndStop(3);
}
}
function jewelExists() {
do {
randSide = Math.round(Math.random() * 1);
if (randSide == 1) {
_root.randLeft = Math.round(Math.random() * 10) + 1;
_root.randRight = 0;
} else {
_root.randLeft = 0;
_root.randRight = Math.round(Math.random() * 10) + 1;
}
_root.randJewel1 = (_root.randLeft + "|") + _root.randRight;
_root.randJewel2 = (_root.randRight + "|") + _root.randLeft;
} while (checkJewels());
}
function checkJewels() {
r = 0;
while (r < _root.jewelTiles.length) {
if (_root.jewelTiles[r] == _root.randJewel1) {
return(true);
}
r++;
}
_root.jewelTiles.push(_root.randJewel1);
_root.jewelTiles.push(_root.randJewel2);
return(false);
}
function getRandom(cb, frame, amount, jewelTotal) {
if (frame == 122) {
cb.gotoAndStop(2);
cb.tile.graphic.gotoAndStop(122);
_root.mahjominoTiles.push(cb);
totalTiles++;
} else if (frame == 123) {
cb.gotoAndStop(2);
cb.tile.graphic.gotoAndStop(123);
_root.mahjominoTiles.push(cb);
totalTiles++;
} else if (frame == 201) {
tileExists();
cb.tile.graphic.rightSymbol.attachMovie(blaht2, "blah5641", 12455);
cb.tile.graphic.leftSymbol.attachMovie(blaht, "blah5642", 12456);
cb.leftside = _root.blaht;
cb.rightside = _root.blaht2;
cb.tile.graphic.gotoAndStop(1);
cb.tile.graphic.domino.gotoAndStop(3);
cb.swap = true;
totalTiles++;
} else if (frame == 200) {
tileExists();
cb.tile.graphic.rightSymbol.attachMovie(blaht2, "blah5641", 12455);
cb.tile.graphic.leftSymbol.attachMovie(blaht, "blah5642", 12456);
cb.leftside = _root.blaht;
cb.rightside = _root.blaht2;
cb.tile.graphic.gotoAndStop(1);
totalTiles++;
} else if (frame != 0) {
cb.tile.graphic.gotoAndStop(frame);
if (((((((((((((((((((((((cb.tile.graphic._currentframe == 140) || (cb.tile.graphic._currentframe == 141)) || (cb.tile.graphic._currentframe == 142)) || (cb.tile.graphic._currentframe == 143)) || (cb.tile.graphic._currentframe == 144)) || (cb.tile.graphic._currentframe == 145)) || (cb.tile.graphic._currentframe == 146)) || (cb.tile.graphic._currentframe == 147)) || (cb.tile.graphic._currentframe == 148)) || (cb.tile.graphic._currentframe == 149)) || (cb.tile.graphic._currentframe == 150)) || (cb.tile.graphic._currentframe == 151)) || (cb.tile.graphic._currentframe == 152)) || (cb.tile.graphic._currentframe == 153)) || (cb.tile.graphic._currentframe == 154)) || (cb.tile.graphic._currentframe == 155)) || (cb.tile.graphic._currentframe == 156)) || (cb.tile.graphic._currentframe == 157)) || (cb.tile.graphic._currentframe == 158)) || (cb.tile.graphic._currentframe == 159)) || (cb.tile.graphic._currentframe == 160)) || (cb.tile.graphic._currentframe == 161)) || (cb.tile.graphic._currentframe == 162)) {
jewelAmount++;
cb.jewel = true;
}
totalTiles++;
}
}
function tileExists() {
do {
_root.blaht = random(11) + 1;
_root.blaht2 = random(11) + 1;
_root.randTile1 = (_root.blaht + "|") + _root.blaht2;
} while (checkExists());
}
function checkExists() {
trace("CHECKING TILES");
r = 0;
while (r < _root.dominoesUsed.length) {
if (_root.dominoesUsed[r] == _root.randTile1) {
return(true);
}
r++;
}
_root.dominoesUsed.push(_root.randTile1);
return(false);
}
function mapInfo() {
_root.dominoesUsed = [];
_root.jewelTiles = [];
_root.domType = [];
fade(snd0, 0, 5);
jewelScore = 500;
_root.previousMC._visible = true;
trace("LEVEL: " + level);
artifactParticles.swapDepths(1007);
score = 0;
_root.addTime = false;
_root.timeAdded = 0;
jewelAmount = 0;
badgeRank = 0;
scoreMC = 0;
visibleMatches = 0;
timescoreMC = 0;
totalTiles = 0;
percentageComplete = 0;
dominoesClearedMC = 0;
levelRank = "";
scoreDone = false;
_root[("level" + _root.level) + "Array"]();
_root.darkenScreen.gotoAndStop(1);
mapMC._visible = false;
swap = false;
previousSelect = null;
unpause();
_root.goodArrayX = 0;
_root.goodArrayY = 0;
_root.goodTiles = [];
_root.tilesRemaining = [];
_root.mahjominoTiles = [];
pairsMade = 0;
undonum1 = 0;
undonum2 = 0;
numSwaps = 0;
_root.blankPair = 0;
endOfLevel = false;
topLayer = false;
_root.createEmptyMovieClip("display" + n, n + 1);
_root["display" + n].createEmptyMovieClip("tiles", 1);
previousMC.blank1.createEmptyMovieClip("old1", 10021);
previousMC.blank2.createEmptyMovieClip("old2", 10020);
if (level == 1) {
_root.chapter = "Prologue-1";
_root.levelName = "Letter from New Dehli";
_root.tutorialPresses = 0;
_root["display" + n].tiles._y = 59;
_root["display" + n].tiles._x = -11;
levelTime = 600;
tileLevel = 1;
tileAmount = 55;
jewelTotal = 6;
initCells(this["myMap1" + n], topLayer, tileAmount, jewelTotal);
topLayer = true;
initCells(this["myMap2" + n], topLayer, tileAmount, jewelTotal);
if (_root.firstTime == true) {
interfaceMC.bottom.undoButton._visible = false;
trace("FIRST TIME IS TRUE");
overlayMC._visible = true;
overlayMC.gotoAndStop(2);
} else {
overlayMC.gotoAndStop(1);
}
trace(totalTiles);
} else if (level == 2) {
_root.chapter = "Prologue-2";
_root.levelName = "Garrison Town";
levelTime = 360;
tileLevel = 3;
jewelTotal = 8;
tileAmount = 60;
_root["display" + n].tiles._y = 66;
_root["display" + n].tiles._x = -25;
initCells(this["myMap3" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap4" + n], topLayer, tileAmount, jewelTotal);
topLayer = true;
initCells(this["myMap5" + n], topLayer, tileAmount, jewelTotal);
h = 0;
while (h < jewelTotal) {
randomJewel(tileAmount);
h++;
}
} else if (level == 3) {
_root.chapter = "Prologue-3";
_root.levelName = "Kabul Bazaars";
levelTime = 480;
tileLevel = 6;
tileAmount = 120;
jewelTotal = 10;
_root["display" + n].tiles._y = 66;
_root["display" + n].tiles._x = -30;
initCells(this["myMap6" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap7" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap8" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap9" + n], topLayer, tileAmount, jewelTotal);
topLayer = true;
initCells(this["myMap10" + n], topLayer, tileAmount, jewelTotal);
h = 0;
while (h < jewelTotal) {
trace("GETTING RANDOM TILE");
randomJewel(tileAmount);
h++;
}
} else if (level == 4) {
_root.chapter = "Prologue-4";
_root.levelName = "Storehouse";
levelTime = 480;
tileLevel = 11;
jewelTotal = 10;
tileAmount = 120;
_root["display" + n].tiles._y = 101;
_root["display" + n].tiles._x = -50;
initCells(this["myMap11" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap12" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap13" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap14" + n], topLayer, tileAmount, jewelTotal);
topLayer = true;
initCells(this["myMap15" + n], topLayer, tileAmount, jewelTotal);
h = 0;
while (h < jewelTotal) {
randomJewel(tileAmount);
h++;
}
} else if (level == 5) {
_root.chapter = "Prologue-5";
_root.levelName = "Arrival";
levelTime = 480;
tileLevel = 16;
jewelTotal = 10;
tileAmount = 120;
_root["display" + n].tiles._y = 105;
_root["display" + n].tiles._x = -80;
initCells(this["myMap16" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap17" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap18" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap19" + n], topLayer, tileAmount, jewelTotal);
initCells(this["myMap20" + n], topLayer, tileAmount, jewelTotal);
topLayer = true;
initCells(this["myMap21" + n], topLayer, tileAmount, jewelTotal);
h = 0;
while (h < jewelTotal) {
randomJewel(tileAmount);
h++;
}
}
topLayer = false;
_root.restartTime();
jewelPairs = jewelTotal / 2;
remainingTiles = totalTiles;
if (musicOn == true) {
_root.snd1.stop();
_root.snd1.start(0, 99);
_root.fade(_root.snd1, 70, 2);
}
_root.loadingMC.gotoAndStop(1);
if (level != 1) {
visibleMatchFunc();
} else {
visibleMatches = 6;
}
}
cellRollOver = function () {
if (endOfLevel == false) {
if (this.tile.graphic.overlay._currentframe != 2) {
if ((this.tile._currentframe == 1) || (this.tile._currentframe == 58)) {
if ((((((((((this.levelabove[this.y + 1][this.x] == 0) && (this.levelabove[this.y - 1][this.x] == 0)) && (this.levelabove[this.y - 1][this.x - 1] == 0)) && (this.levelabove[this.y - 1][this.x + 1] == 0)) && (this.levelabove[this.y + 1][this.x - 1] == 0)) && (this.levelabove[this.y + 1][this.x + 1] == 0)) && (this.levelabove[this.y][this.x] == 0)) && (this.levelabove[this.y][this.x - 1] == 0)) && (this.levelabove[this.y][this.x + 1] == 0)) || (this.levelabove[this.y][this.x] == undefined)) {
if (((this.tileLevel[this.y][this.x - 2] == 0) && (this.tileLevel[this.y - 1][this.x - 2] == 0)) && (this.tileLevel[this.y + 1][this.x - 2] == 0)) {
this.rollSelectLeft = true;
if (this.select == true) {
if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(13);
} else {
this.tile.graphic.selector.gotoAndStop(9);
}
} else if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(7);
} else {
this.tile.graphic.selector.gotoAndStop(2);
}
}
if (((this.tileLevel[this.y][this.x + 2] == 0) && (this.tileLevel[this.y - 1][this.x + 2] == 0)) && (this.tileLevel[this.y + 1][this.x + 2] == 0)) {
this.rollSelectRight = true;
if (this.select == true) {
if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(13);
} else {
this.tile.graphic.selector.gotoAndStop(10);
}
} else if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(7);
} else {
this.tile.graphic.selector.gotoAndStop(3);
}
}
if ((this.rollSelectLeft == true) && (this.rollSelectRight == true)) {
if (this.select == true) {
if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(13);
} else {
this.tile.graphic.selector.gotoAndStop(11);
}
} else if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(7);
} else {
this.tile.graphic.selector.gotoAndStop(4);
}
}
}
}
}
}
};
cellRollOut = function () {
if (this.tile.graphic.overlay._currentframe != 2) {
if (this.select == false) {
this.tile.graphic.selector.gotoAndStop(1);
if (this.swap != true) {
this.tile.graphic.domino.gotoAndStop(1);
} else {
this.tile.graphic.domino.gotoAndStop(3);
}
} else if ((this.tile.graphic._currentframe != 122) && (this.tile.graphic._currentframe != 123)) {
if ((this.rollSelectLeft == true) && (this.rollSelectRight == true)) {
this.tile.graphic.selector.gotoAndStop(1);
} else if (this.rollSelectLeft == true) {
this.tile.graphic.selector.gotoAndStop(5);
} else if (this.rollSelectRight == true) {
this.tile.graphic.selector.gotoAndStop(6);
}
} else {
if (this.swap != true) {
this.tile.graphic.domino.gotoAndStop(2);
} else {
this.tile.graphic.domino.gotoAndStop(4);
}
this.tile.graphic.selector.gotoAndStop(1);
}
}
};
cellPress = function () {
trace("THIS LEFTSIDE: " + this.leftside);
trace("THIS RIGHTSIDE: " + this.rightside);
if (this.tile.graphic.overlay._currentframe != 2) {
matching = false;
if (_root.firstTime == true) {
if ((_root.tutorialPresses == 0) && (this.tile.graphic._currentframe == 47)) {
_root.tutorialPresses++;
_root.overlayMC.gotoAndStop(3);
_root["display" + n].tiles.t_4_3_l_1.tile.graphic.overlay.gotoAndStop(1);
} else if ((_root.tutorialPresses == 2) && (this.tile.graphic._currentframe == 23)) {
_root.tutorialPresses++;
_root["display" + n].tiles.t_4_13_l_1.tile.graphic.overlay.gotoAndStop(1);
_root.overlayMC.gotoAndStop(5);
}
}
if (endOfLevel == false) {
if (this == previousSelect) {
this.tile.graphic.selector.gotoAndStop(1);
if (this.swap != true) {
this.tile.graphic.domino.gotoAndStop(1);
} else {
this.tile.graphic.domino.gotoAndStop(3);
}
this.select = false;
previousSelect = null;
} else if ((this.tile._currentframe == 1) || (this.tile._currentframe == 58)) {
if ((((((((((this.levelabove[this.y + 1][this.x] == 0) && (this.levelabove[this.y - 1][this.x] == 0)) && (this.levelabove[this.y - 1][this.x - 1] == 0)) && (this.levelabove[this.y - 1][this.x + 1] == 0)) && (this.levelabove[this.y + 1][this.x - 1] == 0)) && (this.levelabove[this.y + 1][this.x + 1] == 0)) && (this.levelabove[this.y][this.x] == 0)) && (this.levelabove[this.y][this.x + 1] == 0)) && (this.levelabove[this.y][this.x - 1] == 0)) || (this.levelabove[this.y][this.x] == undefined)) {
if (((this.tileLevel[this.y][this.x - 2] == 0) && (this.tileLevel[this.y - 1][this.x - 2] == 0)) && (this.tileLevel[this.y + 1][this.x - 2] == 0)) {
if (previousSelect == null) {
if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(8);
} else {
this.tile.graphic.selector.gotoAndStop(9);
}
}
this.leftSelect = true;
this.select = true;
}
if (((this.tileLevel[this.y][this.x + 2] == 0) && (this.tileLevel[this.y - 1][this.x + 2] == 0)) && (this.tileLevel[this.y + 1][this.x + 2] == 0)) {
if (previousSelect == null) {
if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(8);
} else {
this.tile.graphic.selector.gotoAndStop(10);
}
}
this.rightSelect = true;
this.select = true;
}
if ((this.rightSelect == true) && (this.leftSelect == true)) {
if (previousSelect == null) {
if ((this.tile.graphic._currentframe == 122) || (this.tile.graphic._currentframe == 123)) {
this.tile.graphic.selector.gotoAndStop(8);
} else {
this.tile.graphic.selector.gotoAndStop(11);
}
}
this.select = true;
}
}
if (this != previousSelect) {
if ((this.rightSelect == true) && (this.leftSelect != true)) {
if (((this.rightside == previousSelect.rightside) && (previousSelect.rightSelect == true)) && (this.rightSelect == true)) {
sides = "right";
removeTiles(this, previousSelect, sides);
} else if ((this.rightside == previousSelect.leftside) && (previousSelect.leftSelect == true)) {
sides = "rightleft";
removeTiles(this, previousSelect, sides);
} else if (((this.leftside == "Mah") && (previousSelect.rightside == "Jomino")) || ((this.leftside == "Jomino") && (previousSelect.rightside == "Mah"))) {
sides = "mahjomino";
removeTiles(this, previousSelect, sides);
_root.artifact["artifactBG" + farthestlevel].gotoAndPlay(2);
_root.BG.gotoAndPlay(2);
endOfLevel = true;
_root.pause();
fade(snd1, 0, 15);
} else if (previousSelect == null) {
previousSelect.select = false;
previousSelect = this;
if (this.swap != true) {
this.tile.graphic.domino.gotoAndStop(2);
} else {
this.tile.graphic.domino.gotoAndStop(4);
}
if ((matching == false) && (SFXOn == true)) {
selectSnd.start(0, 1);
}
} else {
if ((matching == false) && (SFXOn == true)) {
invalidSnd.start(0, 1);
}
if ((this.leftside == previousSelect.rightside) || (this.leftside == previousSelect.leftside)) {
_root.previousMC._visible = false;
_root.mahjominoTut.gotoAndStop(4);
this.tile.graphic.selector.gotoAndStop(1);
}
previousSelect.select = false;
this.select = false;
previousSelect.tile.graphic.selector.gotoAndStop(1);
if (previousSelect.swap != true) {
previousSelect.tile.graphic.domino.gotoAndStop(1);
} else {
previousSelect.tile.graphic.domino.gotoAndStop(3);
}
previousSelect = null;
}
}
if ((this.leftSelect == true) && (this.rightSelect != true)) {
if (((this.leftside == previousSelect.leftside) && (previousSelect.leftSelect == true)) && (this.leftSelect == true)) {
sides = "left";
removeTiles(this, previousSelect, sides);
} else if ((this.leftside == previousSelect.rightside) && (previousSelect.rightSelect == true)) {
sides = "leftright";
removeTiles(this, previousSelect, sides);
} else if (((this.leftside == "Mah") && (previousSelect.rightside == "Jomino")) || ((this.leftside == "Jomino") && (previousSelect.rightside == "Mah"))) {
sides = "mahjomino";
removeTiles(this, previousSelect, sides);
_root.artifact["artifactBG" + farthestlevel].gotoAndPlay(2);
_root.BG.gotoAndPlay(2);
endOfLevel = true;
_root.pause();
fade(snd1, 0, 15);
} else if (previousSelect == null) {
previousSelect.select = false;
previousSelect = this;
if (this.swap != true) {
this.tile.graphic.domino.gotoAndStop(2);
} else {
this.tile.graphic.domino.gotoAndStop(4);
}
if ((matching == false) && (SFXOn == true)) {
selectSnd.start(0, 1);
}
} else {
if ((matching == false) && (SFXOn == true)) {
invalidSnd.start(0, 1);
}
if ((this.rightside == previousSelect.rightside) || (this.rightside == previousSelect.leftside)) {
_root.previousMC._visible = false;
_root.mahjominoTut.gotoAndStop(4);
this.tile.graphic.selector.gotoAndStop(1);
}
previousSelect.select = false;
this.select = false;
previousSelect.tile.graphic.selector.gotoAndStop(1);
if (previousSelect.swap != true) {
previousSelect.tile.graphic.domino.gotoAndStop(1);
} else {
previousSelect.tile.graphic.domino.gotoAndStop(3);
}
previousSelect = null;
}
}
if ((this.leftSelect == true) && (this.rightSelect == true)) {
if (((this.rightside == previousSelect.rightside) && (previousSelect.rightSelect == true)) && (this.rightSelect == true)) {
sides = "right";
removeTiles(this, previousSelect, sides);
} else if ((this.rightside == previousSelect.leftside) && (previousSelect.leftSelect == true)) {
sides = "rightleft";
removeTiles(this, previousSelect, sides);
} else if (((this.leftside == previousSelect.leftside) && (previousSelect.leftSelect == true)) && (this.leftSelect == true)) {
sides = "left";
removeTiles(this, previousSelect, sides);
} else if ((this.leftside == previousSelect.rightside) && (previousSelect.rightSelect == true)) {
sides = "leftright";
removeTiles(this, previousSelect, sides);
} else if (((this.leftside == "Mah") && (previousSelect.rightside == "Jomino")) || ((this.leftside == "Jomino") && (previousSelect.rightside == "Mah"))) {
sides = "mahjomino";
removeTiles(this, previousSelect, sides);
_root.artifact["artifactBG" + farthestlevel].gotoAndPlay(2);
_root.BG.gotoAndPlay(2);
endOfLevel = true;
fade(snd1, 0, 15);
_root.pause();
} else if (previousSelect == null) {
previousSelect.select = false;
previousSelect = this;
if (this.swap != true) {
this.tile.graphic.domino.gotoAndStop(2);
} else {
this.tile.graphic.domino.gotoAndStop(4);
}
if ((matching == false) && (SFXOn == true)) {
selectSnd.start(0, 1);
}
} else {
if ((matching == false) && (SFXOn == true)) {
invalidSnd.start(0, 1);
}
previousSelect.select = false;
this.select = false;
previousSelect.tile.graphic.selector.gotoAndStop(1);
if (previousSelect.swap != true) {
previousSelect.tile.graphic.domino.gotoAndStop(1);
} else {
previousSelect.tile.graphic.domino.gotoAndStop(3);
}
previousSelect = null;
}
}
}
}
}
}
};
n = 0;
if (farthestlevel == undefined) {
farthestlevel = 1;
}
_root.previousButton = null;
if (level1Best == undefined) {
level1Best = 0;
}
if (level2Best == undefined) {
level2Best = 0;
}
if (level3Best == undefined) {
level3Best = 0;
}
if (level4Best == undefined) {
level4Best = 0;
}
if (level5Best == undefined) {
level5Best = 0;
}
level1BadgeBest = 0;
level2BadgeBest = 0;
level3BadgeBest = 0;
level4BadgeBest = 0;
level5BadgeBest = 0;
level1Cleared = 0;
level2Cleared = 0;
level3Cleared = 0;
level4Cleared = 0;
level5Cleared = 0;
level1GemsBest = 0;
level2GemsBest = 0;
level3GemsBest = 0;
level4GemsBest = 0;
level5GemsBest = 0;
level1MapName = "Level 1 - Letter from New Dehli";
level2MapName = "Level 2 - Garrison Town";
level3MapName = "Level 3 - Kabul Bazaars";
level4MapName = "Level 4 - Storehouse";
level5MapName = "Level 5 - Arrival";
_root.recordScore1Txt = 4752;
_root.recordScore2Txt = 7059;
_root.recordScore3Txt = 14280;
_root.recordScore4Txt = 17581;
_root.recordScore5Txt = 19873;
map1Jewel = false;
matching = false;
cursorOn = false;
SFXOn = true;
musicOn = true;
_root.Pointer._visible = false;
interfaceMC.bottom.menuButton.useHandCursor = false;
interfaceMC.bottom.undoButton.useHandCursor = false;
interfaceMC.bottom.swapButton.useHandCursor = false;
interfaceMC.bottom.hintButton.useHandCursor = false;
interfaceMC.bottom.pauseButton.useHandCursor = false;
swap = false;
paused = false;
tileLevel = 1;
cell_width = 27.5;
cell_height = 13.5;
rowsOftiles = 0;
if (_root.totalScore == undefined) {
_root.totalScore = 0;
}
if (questTotal == 0) {
questTotal = 0;
}
_root.curUrl = _root._url;
_root.curUrl = _root.curUrl.split("/")[2];
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=gamestart&game=mahjomino&source_domain=" + _root.curUrl) + "&version=1.0BFG");
function fade(soundObj, destVal, time) {
trace("IN");
trace(soundObj);
soundObj.vol = soundObj.getVolume();
myTween = new mx.transitions.Tween(soundObj, "vol", mx.transitions.easing.Strong.easeOut, soundObj.vol, destVal, time, true);
myTween.onMotionChanged = function () {
soundObj.setVolume(soundObj.vol);
};
}
var selectSnd = new Sound();
selectSnd.attachSound("domino_select");
var matchSuccessSnd = new Sound();
matchSuccessSnd.attachSound("match_success");
var swapUsedSnd = new Sound();
swapUsedSnd.attachSound("swap_used");
var undoSnd = new Sound();
undoSnd.attachSound("undo_sound");
var scoreSnd = new Sound();
scoreSnd.attachSound("score_tally");
var invalidSnd = new Sound();
invalidSnd.attachSound("invalid_select");
var finalTilesSnd = new Sound();
finalTilesSnd.attachSound("final_tile_sound");
var defaultClickSnd = new Sound();
defaultClickSnd.attachSound("default_click");
var timerSnd = new Sound();
timerSnd.attachSound("out_of_time");
var artifactSnd = new Sound();
artifactSnd.attachSound("india_artifact_piece_earned");
var levelcompleteSnd = new Sound();
levelcompleteSnd.attachSound("level_complete");
var highscoreSnd = new Sound();
highscoreSnd.attachSound("new_high_score");
var clickSnd = new Sound();
clickSnd.attachSound("clickSound");
var swapearnedSnd = new Sound();
swapearnedSnd.attachSound("swap_earned");
var tallymusicSnd = new Sound();
tallymusicSnd.attachSound("tally_ambient");
var gameoverSnd = new Sound();
gameoverSnd.attachSound("game_over");
i = 0;
while (i < 2) {
var myMc = this.createEmptyMovieClip(("sound" + i) + "_mc", i);
this["snd" + i] = new Sound(myMc);
this["snd" + i].attachSound("music" + i);
this["snd" + i].start(0, 999);
if (i == 1) {
this["snd" + i].setVolume(0);
}
i++;
}
function restartTime() {
levelTime = levelTime;
_root.pauseLength = 0;
scorepauseLength = 0;
pauseTime = 0;
unpause();
}
function pause() {
pauseTime = getTimer() / 1000;
_root.timing = false;
}
function unpause() {
unpauseTime = getTimer() / 1000;
_root.pauseLength = (unpauseTime - pauseTime) + _root.pauseLength;
_root.timing = true;
}
function scoreunpause() {
scoreunpauseTime = getTimer() / 1000;
scorepauseLength = ((scoreunpauseTime - scorepauseTime) + scorepauseLength) * 1000;
}
function scorepause() {
scorepauseTime = getTimer() / 1000;
_root.timing = false;
}
function scorerestartTime() {
levelTime = levelTime;
scorepauseLength = 0;
scorepauseTime = 0;
scoreunpause();
}
onEnterFrame = function () {
_root.frame++;
if (_root.jewel1["jewelAnimation_" + _root.undonum1]._currentframe == 40) {
_root.jewel1["jewelAnimation_" + _root.undonum1]._rotation = random(361);
}
if (_root.jewel2["jewelAnimation_" + _root.undonum2]._currentframe == 40) {
_root.jewel2["jewelAnimation_" + _root.undonum2]._rotation = random(361);
}
if (_root.addTime == true) {
totalTime2 = ((getTimer() / 1000) - _root.pauseLength) - _root.timeAdded;
} else {
totalTime2 = (getTimer() / 1000) - _root.pauseLength;
}
goTime = totalTime2;
runTime = -goTime;
_root.Pointer._x = _root._xmouse;
_root.Pointer._y = _root._ymouse;
if (_root.timing == true) {
output = levelTime - totalTime2;
minutes = Math.floor(((runTime + levelTime) / 3600) * 60);
seconds = Math.floor(((((runTime + levelTime) / 3600) * 60) - minutes) * 60);
_root.startTime = getTimer() - scorepauseLength;
_root.timer_txt = _root.startTime;
if (seconds < 10) {
seconds = "0" + seconds;
}
if (output < 30) {
if (SFXOn == true) {
if (t == 0) {
timerSnd.start(0, 99);
t++;
}
}
} else if (output >= 30) {
t = 0;
}
if (output <= 1) {
output = 0;
_root.paused = true;
_root.scorepause();
_root.darkenScreen.gotoAndStop(59);
_root.overlayMC._visible = false;
_root._root["display" + _root.n].tiles._visible = false;
pause();
}
percent = (output / levelTime) * 100;
percentT = int((output / levelTime) * 100);
setProperty(_root.interfaceMC.upper.bar, _rotation , -percent);
}
};
t = 0;
_root.timer_txt = 0;
scorepauseLength = 0;
_root.pauseLength = 0;
scorepauseTime = 0;
pauseTime = 0;
click = false;
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 582 MovieClip "previousMC" in Frame 3
onClipEvent (enterFrame) {
this.swapDepths(10022);
}
Instance of Symbol 885 MovieClip "scoreAnimation" in Frame 3
onClipEvent (load) {
this.swapDepths(10025);
}
Instance of Symbol 888 MovieClip "timeAnimation" in Frame 3
onClipEvent (load) {
this.swapDepths(10025);
}
Instance of Symbol 889 MovieClip "tileScore1MC" in Frame 3
onClipEvent (load) {
this.swapDepths(10030);
}
Instance of Symbol 889 MovieClip "tileScore2MC" in Frame 3
onClipEvent (load) {
this.swapDepths(10031);
}
Instance of Symbol 892 MovieClip "scorex2MC1" in Frame 3
onClipEvent (load) {
this.swapDepths(10035);
}
Instance of Symbol 892 MovieClip "scorex2MC2" in Frame 3
onClipEvent (load) {
this.swapDepths(10036);
}
Instance of Symbol 915 MovieClip "overlayMC" in Frame 3
onClipEvent (load) {
this.swapDepths(10010);
}
Instance of Symbol 917 MovieClip "jewelMC" in Frame 3
onClipEvent (load) {
this.swapDepths(9234);
}
Instance of Symbol 25 MovieClip "jewel1" in Frame 3
onClipEvent (load) {
this.swapDepths(10012);
}
Instance of Symbol 25 MovieClip "bigJewel" in Frame 3
onClipEvent (load) {
this.swapDepths(10004);
}
Instance of Symbol 25 MovieClip "jewel2" in Frame 3
onClipEvent (load) {
this.swapDepths(10013);
}
Instance of Symbol 964 MovieClip "menuBG" in Frame 3
onClipEvent (enterFrame) {
if (this._visible == true) {
_quality = "high";
}
}
Instance of Symbol 966 MovieClip "loadingMC" in Frame 3
onClipEvent (load) {
this.swapDepths(10065);
}
Instance of Symbol 974 MovieClip "mahjominoTut" in Frame 3
onClipEvent (load) {
this.swapDepths(10050);
}
Instance of Symbol 984 MovieClip "mahjominoParticle" in Frame 3
onClipEvent (load) {
this.swapDepths(10456);
}
Frame 4
stop();
Instance of Symbol 763 MovieClip in Frame 4
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash", "_blank");
}
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
stop();
Symbol 24 MovieClip Frame 3
stop();
Symbol 24 MovieClip Frame 4
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
stop();
Symbol 38 MovieClip Frame 3
stop();
Symbol 38 MovieClip Frame 4
stop();
Symbol 38 MovieClip Frame 5
stop();
Symbol 38 MovieClip Frame 6
stop();
Symbol 38 MovieClip Frame 7
stop();
Symbol 38 MovieClip Frame 8
stop();
Symbol 38 MovieClip Frame 9
stop();
Symbol 38 MovieClip Frame 10
stop();
Symbol 38 MovieClip Frame 11
stop();
Symbol 38 MovieClip Frame 12
stop();
Symbol 38 MovieClip Frame 13
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
play();
play();
Symbol 54 MovieClip [jewelAnimation] Frame 1
stop();
Symbol 54 MovieClip [jewelAnimation] Frame 2
stop();
Symbol 54 MovieClip [jewelAnimation] Frame 3
play();
Instance of Symbol 47 MovieClip in Symbol 54 MovieClip [jewelAnimation] Frame 16
onClipEvent (load) {
this.gotoAndPlay(2);
}
Symbol 54 MovieClip [jewelAnimation] Frame 34
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 2;
stop();
Symbol 60 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 1;
stop();
Symbol 65 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 3;
stop();
Symbol 65 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 1;
stop();
Symbol 69 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 4;
stop();
Symbol 69 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 1;
stop();
Symbol 73 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 5;
stop();
Symbol 73 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 1;
stop();
Symbol 77 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 6;
stop();
Symbol 77 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 1;
stop();
Symbol 81 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 7;
stop();
Symbol 81 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 1;
stop();
Symbol 85 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 8;
stop();
Symbol 85 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 1;
stop();
Symbol 89 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 9;
stop();
Symbol 89 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 1;
stop();
Symbol 93 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 10;
stop();
Symbol 93 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 1;
stop();
Symbol 97 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 11;
stop();
Symbol 97 MovieClip Frame 2
_parent._parent._parent.leftside = "eleven";
_parent._parent._parent.rightside = "one";
stop();
Symbol 100 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 1;
stop();
Symbol 100 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 2;
stop();
Symbol 103 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 2;
stop();
Symbol 103 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 2;
stop();
Symbol 106 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 3;
stop();
Symbol 106 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 2;
stop();
Symbol 109 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 4;
stop();
Symbol 109 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 2;
stop();
Symbol 112 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 5;
stop();
Symbol 112 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 2;
stop();
Symbol 115 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 6;
stop();
Symbol 115 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 2;
stop();
Symbol 118 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 7;
stop();
Symbol 118 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 2;
stop();
Symbol 121 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 8;
stop();
Symbol 121 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 2;
stop();
Symbol 124 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 9;
stop();
Symbol 124 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 2;
stop();
Symbol 127 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 10;
stop();
Symbol 127 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 2;
stop();
Symbol 130 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 11;
stop();
Symbol 130 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 2;
stop();
Symbol 133 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 1;
stop();
Symbol 133 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 3;
stop();
Symbol 136 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 2;
stop();
Symbol 136 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 3;
stop();
Symbol 139 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 3;
stop();
Symbol 139 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 3;
stop();
Symbol 142 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 4;
stop();
Symbol 142 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 3;
stop();
Symbol 145 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 5;
stop();
Symbol 145 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 3;
stop();
Symbol 148 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 6;
stop();
Symbol 148 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 3;
stop();
Symbol 151 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 7;
stop();
Symbol 151 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 3;
stop();
Symbol 154 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 8;
stop();
Symbol 154 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 3;
stop();
Symbol 157 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 9;
stop();
Symbol 157 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 3;
stop();
Symbol 160 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 10;
stop();
Symbol 160 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 3;
stop();
Symbol 163 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 11;
stop();
Symbol 163 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 3;
stop();
Symbol 166 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 1;
stop();
Symbol 166 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 4;
stop();
Symbol 169 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 2;
stop();
Symbol 169 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 4;
stop();
Symbol 172 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 3;
stop();
Symbol 172 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 4;
stop();
Symbol 175 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 4;
stop();
Symbol 175 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 4;
stop();
Symbol 178 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 5;
stop();
Symbol 178 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 4;
stop();
Symbol 181 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 6;
stop();
Symbol 181 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 4;
stop();
Symbol 184 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 7;
stop();
Symbol 184 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 4;
stop();
Symbol 187 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 8;
stop();
Symbol 187 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 4;
stop();
Symbol 190 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 9;
stop();
Symbol 190 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 4;
stop();
Symbol 193 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 10;
stop();
Symbol 193 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 4;
stop();
Symbol 196 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 11;
stop();
Symbol 196 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 4;
stop();
Symbol 199 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 1;
stop();
Symbol 199 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 5;
stop();
Symbol 202 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 2;
stop();
Symbol 202 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 5;
stop();
Symbol 205 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 3;
stop();
Symbol 205 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 5;
stop();
Symbol 208 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 4;
stop();
Symbol 208 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 5;
stop();
Symbol 211 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 5;
stop();
Symbol 211 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 5;
stop();
Symbol 214 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 6;
stop();
Symbol 214 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 5;
stop();
Symbol 217 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 7;
stop();
Symbol 217 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 5;
stop();
Symbol 220 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 8;
stop();
Symbol 220 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 5;
stop();
Symbol 223 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 9;
stop();
Symbol 223 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 5;
stop();
Symbol 226 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 10;
stop();
Symbol 226 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 5;
stop();
Symbol 229 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 11;
stop();
Symbol 229 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 5;
stop();
Symbol 232 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 1;
stop();
Symbol 232 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 6;
stop();
Symbol 235 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 2;
stop();
Symbol 235 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 6;
stop();
Symbol 238 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 3;
stop();
Symbol 238 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 6;
stop();
Symbol 241 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 4;
stop();
Symbol 241 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 6;
stop();
Symbol 244 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 5;
stop();
Symbol 244 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 6;
stop();
Symbol 247 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 6;
stop();
Symbol 247 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 6;
stop();
Symbol 250 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 7;
stop();
Symbol 250 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 6;
stop();
Symbol 253 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 8;
stop();
Symbol 253 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 6;
stop();
Symbol 256 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 9;
stop();
Symbol 256 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 6;
stop();
Symbol 259 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 10;
stop();
Symbol 259 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 6;
stop();
Symbol 262 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 11;
stop();
Symbol 262 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 6;
stop();
Symbol 265 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 1;
stop();
Symbol 265 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 7;
stop();
Symbol 268 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 2;
stop();
Symbol 268 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 7;
stop();
Symbol 271 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 3;
stop();
Symbol 271 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 7;
stop();
Symbol 274 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 4;
stop();
Symbol 274 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 7;
stop();
Symbol 277 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 5;
stop();
Symbol 277 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 7;
stop();
Symbol 280 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 6;
stop();
Symbol 280 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 7;
stop();
Symbol 283 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 7;
stop();
Symbol 283 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 7;
stop();
Symbol 286 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 8;
stop();
Symbol 286 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 7;
stop();
Symbol 289 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 9;
stop();
Symbol 289 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 7;
stop();
Symbol 292 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 10;
stop();
Symbol 292 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 7;
stop();
Symbol 295 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 11;
stop();
Symbol 295 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 7;
stop();
Symbol 298 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 1;
stop();
Symbol 298 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 8;
stop();
Symbol 301 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 2;
stop();
Symbol 301 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 8;
stop();
Symbol 304 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 3;
stop();
Symbol 304 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 8;
stop();
Symbol 307 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 4;
stop();
Symbol 307 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 8;
stop();
Symbol 310 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 5;
stop();
Symbol 310 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 8;
stop();
Symbol 313 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 6;
stop();
Symbol 313 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 8;
stop();
Symbol 316 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 7;
stop();
Symbol 316 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 8;
stop();
Symbol 319 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 8;
stop();
Symbol 319 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 8;
stop();
Symbol 322 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 9;
stop();
Symbol 322 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 8;
stop();
Symbol 325 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 10;
stop();
Symbol 325 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 8;
stop();
Symbol 328 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 11;
stop();
Symbol 328 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 8;
stop();
Symbol 331 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 1;
stop();
Symbol 331 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 9;
stop();
Symbol 334 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 2;
stop();
Symbol 334 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 9;
stop();
Symbol 337 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 3;
stop();
Symbol 337 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 9;
stop();
Symbol 340 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 4;
stop();
Symbol 340 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 9;
stop();
Symbol 343 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 5;
stop();
Symbol 343 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 9;
stop();
Symbol 346 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 6;
stop();
Symbol 346 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 9;
stop();
Symbol 349 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 7;
stop();
Symbol 349 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 9;
stop();
Symbol 352 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 8;
stop();
Symbol 352 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 9;
stop();
Symbol 355 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 9;
stop();
Symbol 355 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 9;
stop();
Symbol 358 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 10;
stop();
Symbol 358 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 9;
stop();
Symbol 361 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 11;
stop();
Symbol 361 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 9;
stop();
Symbol 362 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 1;
stop();
Symbol 362 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 10;
stop();
Symbol 363 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 2;
stop();
Symbol 363 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 10;
stop();
Symbol 364 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 3;
stop();
Symbol 364 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 10;
stop();
Symbol 365 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 4;
stop();
Symbol 365 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 10;
stop();
Symbol 366 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 5;
stop();
Symbol 366 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 10;
stop();
Symbol 367 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 6;
stop();
Symbol 367 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 10;
stop();
Symbol 368 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 7;
stop();
Symbol 368 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 10;
stop();
Symbol 369 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 8;
stop();
Symbol 369 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 10;
stop();
Symbol 370 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 9;
stop();
Symbol 370 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 10;
stop();
Symbol 372 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 10;
stop();
Symbol 372 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 10;
stop();
Symbol 375 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 11;
stop();
Symbol 375 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 10;
stop();
Symbol 376 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 1;
stop();
Symbol 376 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 11;
stop();
Symbol 377 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 2;
stop();
Symbol 377 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = 11;
stop();
Symbol 378 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 3;
stop();
Symbol 378 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = 11;
stop();
Symbol 379 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 4;
stop();
Symbol 379 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = 11;
stop();
Symbol 380 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 5;
stop();
Symbol 380 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = 11;
stop();
Symbol 381 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 6;
stop();
Symbol 381 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = 11;
stop();
Symbol 382 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 7;
stop();
Symbol 382 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = 11;
stop();
Symbol 383 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 8;
stop();
Symbol 383 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = 11;
stop();
Symbol 384 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 9;
stop();
Symbol 384 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = 11;
stop();
Symbol 385 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 10;
stop();
Symbol 385 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = 11;
stop();
Symbol 387 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 11;
stop();
Symbol 387 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = 11;
stop();
Symbol 391 MovieClip Frame 1
stop();
Symbol 391 MovieClip Frame 2
stop();
Symbol 392 MovieClip Frame 1
_parent._parent._parent.leftside = "Mah";
_parent._parent._parent.rightside = "Mah";
_level0.leftside = "Mah";
trace("ROOT: " + _root);
stop();
Symbol 392 MovieClip Frame 2
_parent._parent._parent.leftside = "Mah";
_parent._parent._parent.rightside = "Mah";
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
stop();
Symbol 397 MovieClip Frame 1
_parent._parent._parent.leftside = "Jomino";
_parent._parent._parent.rightside = "Jomino";
stop();
Symbol 397 MovieClip Frame 2
_parent._parent._parent.leftside = "Jomino";
_parent._parent._parent.rightside = "Jomino";
stop();
Symbol 399 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 1;
stop();
Symbol 399 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = 1;
stop();
Symbol 403 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 1;
stop();
Symbol 403 MovieClip Frame 2
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 404 MovieClip Frame 1
_parent._parent._parent.leftside = 1;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 404 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 1;
stop();
Symbol 407 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 2;
stop();
Symbol 407 MovieClip Frame 2
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 409 MovieClip Frame 1
_parent._parent._parent.leftside = 2;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 409 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 2;
stop();
Symbol 412 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 3;
stop();
Symbol 412 MovieClip Frame 2
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 414 MovieClip Frame 1
_parent._parent._parent.leftside = 3;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 414 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 3;
stop();
Symbol 417 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 4;
stop();
Symbol 417 MovieClip Frame 2
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 419 MovieClip Frame 1
_parent._parent._parent.leftside = 4;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 419 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 4;
stop();
Symbol 422 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 5;
stop();
Symbol 422 MovieClip Frame 2
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 424 MovieClip Frame 1
_parent._parent._parent.leftside = 5;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 424 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 5;
stop();
Symbol 427 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 6;
stop();
Symbol 427 MovieClip Frame 2
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 428 MovieClip Frame 1
_parent._parent._parent.leftside = 6;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 428 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 6;
stop();
Symbol 431 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 7;
stop();
Symbol 431 MovieClip Frame 2
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 432 MovieClip Frame 1
_parent._parent._parent.leftside = 7;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 432 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 7;
stop();
Symbol 435 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 8;
stop();
Symbol 435 MovieClip Frame 2
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 436 MovieClip Frame 1
_parent._parent._parent.leftside = 8;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 436 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 8;
stop();
Symbol 439 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 9;
stop();
Symbol 439 MovieClip Frame 2
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 440 MovieClip Frame 1
_parent._parent._parent.leftside = 9;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 440 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 9;
stop();
Symbol 443 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 10;
stop();
Symbol 443 MovieClip Frame 2
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 445 MovieClip Frame 1
_parent._parent._parent.leftside = 10;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 445 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 10;
stop();
Symbol 448 MovieClip Frame 1
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 11;
stop();
Symbol 448 MovieClip Frame 2
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 450 MovieClip Frame 1
_parent._parent._parent.leftside = 11;
_parent._parent._parent.rightside = "zero";
stop();
Symbol 450 MovieClip Frame 2
_parent._parent._parent.leftside = "zero";
_parent._parent._parent.rightside = 11;
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 2
stop();
Symbol 451 MovieClip Frame 3
stop();
Symbol 451 MovieClip Frame 4
stop();
Symbol 451 MovieClip Frame 5
stop();
Symbol 451 MovieClip Frame 6
stop();
Symbol 451 MovieClip Frame 7
stop();
Symbol 451 MovieClip Frame 8
stop();
Symbol 451 MovieClip Frame 9
stop();
Symbol 451 MovieClip Frame 10
stop();
Symbol 451 MovieClip Frame 11
stop();
Symbol 451 MovieClip Frame 12
stop();
Symbol 451 MovieClip Frame 13
stop();
Symbol 451 MovieClip Frame 14
stop();
Symbol 451 MovieClip Frame 15
stop();
Symbol 451 MovieClip Frame 16
stop();
Symbol 451 MovieClip Frame 17
stop();
Symbol 451 MovieClip Frame 18
stop();
Symbol 451 MovieClip Frame 19
stop();
Symbol 451 MovieClip Frame 20
stop();
Symbol 451 MovieClip Frame 21
stop();
Symbol 451 MovieClip Frame 22
stop();
Symbol 451 MovieClip Frame 23
stop();
Symbol 451 MovieClip Frame 24
stop();
Symbol 451 MovieClip Frame 25
stop();
Symbol 451 MovieClip Frame 26
stop();
Symbol 451 MovieClip Frame 27
stop();
Symbol 451 MovieClip Frame 28
stop();
Symbol 451 MovieClip Frame 29
stop();
Symbol 451 MovieClip Frame 30
stop();
Symbol 451 MovieClip Frame 31
stop();
Symbol 451 MovieClip Frame 32
stop();
Symbol 451 MovieClip Frame 33
stop();
Symbol 451 MovieClip Frame 34
stop();
Symbol 451 MovieClip Frame 35
stop();
Symbol 451 MovieClip Frame 36
stop();
Symbol 451 MovieClip Frame 37
stop();
Symbol 451 MovieClip Frame 38
stop();
Symbol 451 MovieClip Frame 39
stop();
Symbol 451 MovieClip Frame 40
stop();
Symbol 451 MovieClip Frame 41
stop();
Symbol 451 MovieClip Frame 42
stop();
Symbol 451 MovieClip Frame 43
stop();
Symbol 451 MovieClip Frame 44
stop();
Symbol 451 MovieClip Frame 45
stop();
Symbol 451 MovieClip Frame 46
stop();
Symbol 451 MovieClip Frame 47
stop();
Symbol 451 MovieClip Frame 48
stop();
Symbol 451 MovieClip Frame 49
stop();
Symbol 451 MovieClip Frame 50
stop();
Symbol 451 MovieClip Frame 51
stop();
Symbol 451 MovieClip Frame 52
stop();
Symbol 451 MovieClip Frame 53
stop();
Symbol 451 MovieClip Frame 54
stop();
Symbol 451 MovieClip Frame 55
stop();
Symbol 451 MovieClip Frame 56
stop();
Symbol 451 MovieClip Frame 57
stop();
Symbol 451 MovieClip Frame 58
stop();
Symbol 451 MovieClip Frame 59
stop();
Symbol 451 MovieClip Frame 60
stop();
Symbol 451 MovieClip Frame 61
stop();
Symbol 451 MovieClip Frame 62
stop();
Symbol 451 MovieClip Frame 63
stop();
Symbol 451 MovieClip Frame 64
stop();
Symbol 451 MovieClip Frame 65
stop();
Symbol 451 MovieClip Frame 66
stop();
Symbol 451 MovieClip Frame 67
stop();
Symbol 451 MovieClip Frame 68
stop();
Symbol 451 MovieClip Frame 69
stop();
Symbol 451 MovieClip Frame 70
stop();
Symbol 451 MovieClip Frame 71
stop();
Symbol 451 MovieClip Frame 72
stop();
Symbol 451 MovieClip Frame 73
stop();
Symbol 451 MovieClip Frame 74
stop();
Symbol 451 MovieClip Frame 75
stop();
Symbol 451 MovieClip Frame 76
stop();
Symbol 451 MovieClip Frame 77
stop();
Symbol 451 MovieClip Frame 78
stop();
Symbol 451 MovieClip Frame 79
stop();
Symbol 451 MovieClip Frame 80
stop();
Symbol 451 MovieClip Frame 81
stop();
Symbol 451 MovieClip Frame 82
stop();
Symbol 451 MovieClip Frame 83
stop();
Symbol 451 MovieClip Frame 84
stop();
Symbol 451 MovieClip Frame 85
stop();
Symbol 451 MovieClip Frame 86
stop();
Symbol 451 MovieClip Frame 87
stop();
Symbol 451 MovieClip Frame 88
stop();
Symbol 451 MovieClip Frame 89
stop();
Symbol 451 MovieClip Frame 90
stop();
Symbol 451 MovieClip Frame 91
stop();
Symbol 451 MovieClip Frame 92
stop();
Symbol 451 MovieClip Frame 93
stop();
Symbol 451 MovieClip Frame 94
stop();
Symbol 451 MovieClip Frame 95
stop();
Symbol 451 MovieClip Frame 96
stop();
Symbol 451 MovieClip Frame 97
stop();
Symbol 451 MovieClip Frame 98
stop();
Symbol 451 MovieClip Frame 99
stop();
Symbol 451 MovieClip Frame 100
stop();
Symbol 451 MovieClip Frame 101
stop();
Symbol 451 MovieClip Frame 102
stop();
Symbol 451 MovieClip Frame 103
stop();
Symbol 451 MovieClip Frame 104
stop();
Symbol 451 MovieClip Frame 105
stop();
Symbol 451 MovieClip Frame 106
stop();
Symbol 451 MovieClip Frame 107
stop();
Symbol 451 MovieClip Frame 108
stop();
Symbol 451 MovieClip Frame 109
stop();
Symbol 451 MovieClip Frame 110
stop();
Symbol 451 MovieClip Frame 111
stop();
Symbol 451 MovieClip Frame 112
stop();
Symbol 451 MovieClip Frame 113
stop();
Symbol 451 MovieClip Frame 114
stop();
Symbol 451 MovieClip Frame 115
stop();
Symbol 451 MovieClip Frame 116
stop();
Symbol 451 MovieClip Frame 117
stop();
Symbol 451 MovieClip Frame 118
stop();
Symbol 451 MovieClip Frame 119
stop();
Symbol 451 MovieClip Frame 120
stop();
Symbol 451 MovieClip Frame 121
stop();
Symbol 451 MovieClip Frame 122
stop();
Symbol 451 MovieClip Frame 123
stop();
Symbol 451 MovieClip Frame 124
stop();
Symbol 451 MovieClip Frame 140
stop();
Symbol 451 MovieClip Frame 141
stop();
Symbol 451 MovieClip Frame 142
stop();
Symbol 451 MovieClip Frame 143
stop();
Symbol 451 MovieClip Frame 144
stop();
Symbol 451 MovieClip Frame 145
stop();
Symbol 451 MovieClip Frame 146
stop();
Symbol 451 MovieClip Frame 147
stop();
Symbol 451 MovieClip Frame 148
stop();
Symbol 451 MovieClip Frame 149
stop();
Symbol 451 MovieClip Frame 150
stop();
Symbol 451 MovieClip Frame 151
stop();
Symbol 451 MovieClip Frame 152
stop();
Symbol 451 MovieClip Frame 153
stop();
Symbol 451 MovieClip Frame 154
stop();
Symbol 451 MovieClip Frame 155
stop();
Symbol 451 MovieClip Frame 156
stop();
Symbol 451 MovieClip Frame 157
stop();
Symbol 451 MovieClip Frame 158
stop();
Symbol 451 MovieClip Frame 159
stop();
Symbol 451 MovieClip Frame 160
stop();
Symbol 451 MovieClip Frame 161
stop();
Symbol 452 MovieClip Frame 1
if (_parent.swapped == true) {
trace(graphic._currentframe);
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(2);
} else {
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(1);
}
if (_parent.swap == true) {
trace("WAS A SWAP");
graphic.domino.gotoAndStop(3);
} else {
graphic.domino.gotoAndStop(1);
}
stop();
Symbol 452 MovieClip Frame 2
if (_parent.swapped == true) {
trace(graphic._currentframe);
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(2);
} else {
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(1);
}
stop();
Instance of Symbol 451 MovieClip "graphic" in Symbol 452 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent._parent.swapped == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 452 MovieClip Frame 11
stop();
Symbol 452 MovieClip Frame 21
if (_parent.swapped == true) {
trace(graphic._currentframe);
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(2);
} else {
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(1);
}
play();
Symbol 452 MovieClip Frame 30
if (_parent.swapped == true) {
}
if (_parent.swap == true) {
graphic.domino.gotoAndStop(4);
graphic.selector.gotoAndStop(_root.oldSelector);
} else {
graphic.domino.gotoAndStop(2);
graphic.selector.gotoAndStop(_root.oldSelector);
}
play();
Symbol 452 MovieClip Frame 43
if (_parent.swapped == true) {
}
if (_parent.swap == true) {
graphic.domino.gotoAndStop(4);
graphic.selector.gotoAndStop(_root.oldSelector);
} else {
graphic.domino.gotoAndStop(2);
graphic.selector.gotoAndStop(_root.oldSelector);
}
play();
Symbol 452 MovieClip Frame 58
stop();
if (_parent.swapped == true) {
}
if (_parent.swap == true) {
graphic.domino.gotoAndStop(4);
graphic.selector.gotoAndStop(_root.oldSelector);
} else {
graphic.domino.gotoAndStop(2);
graphic.selector.gotoAndStop(_root.oldSelector);
}
Symbol 452 MovieClip Frame 59
if (_parent.swapped == true) {
}
if (_parent.swap == true) {
graphic.domino.gotoAndStop(4);
}
Symbol 452 MovieClip Frame 61
stop();
Symbol 452 MovieClip Frame 62
if (_parent.swapped == true) {
trace(graphic._currentframe);
graphic.tile.gotoAndStop(2);
} else {
graphic.tile.gotoAndStop(1);
}
trace("IN 62");
if (_parent.swap == true) {
trace("WAS A SWAP");
graphic.domino.gotoAndStop(3);
} else {
graphic.domino.gotoAndStop(1);
}
play();
Symbol 452 MovieClip Frame 75
stop();
if (_parent.swapped == true) {
trace(graphic._currentframe);
graphic.tile.gotoAndStop(2);
} else {
graphic.tile.gotoAndStop(1);
}
if (_parent.swap == true) {
trace("WAS A SWAP");
graphic.domino.gotoAndStop(3);
} else {
graphic.domino.gotoAndStop(1);
}
Symbol 452 MovieClip Frame 86
if (_parent.swapped == true) {
trace(graphic._currentframe);
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(2);
} else {
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(1);
}
play();
Symbol 452 MovieClip Frame 99
if (_parent.swapped == true) {
trace(graphic._currentframe);
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(2);
} else {
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(1);
}
play();
Symbol 452 MovieClip Frame 114
stop();
if (_parent.swapped == true) {
trace(graphic._currentframe);
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(2);
} else {
graphic.gotoAndStop(_parent.thisframe);
graphic.tile.gotoAndStop(1);
}
if (_parent.swap == true) {
graphic.domino.gotoAndStop(3);
}
Instance of Symbol 451 MovieClip "graphic" in Symbol 452 MovieClip Frame 114
onClipEvent (enterFrame) {
this._visible = false;
}
Symbol 453 MovieClip [tile] Frame 1
stop();
Symbol 453 MovieClip [tile] Frame 2
stop();
Symbol 453 MovieClip [tile] Frame 3
play();
Symbol 453 MovieClip [tile] Frame 21
gotoAndStop (2);
Symbol 456 MovieClip Frame 1
stop();
Symbol 457 MovieClip [particle] Frame 30
this.removeMovieClip();
Symbol 461 MovieClip [JewelBigAnim] Frame 1
stop();
Symbol 461 MovieClip [JewelBigAnim] Frame 2
play();
Symbol 497 MovieClip Frame 1
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 300;
this.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
Symbol 497 MovieClip Frame 2
this.gotoAndPlay(1);
Symbol 987 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 988 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 989 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 990 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 991 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 992 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 2
play();
Symbol 506 MovieClip Frame 82
stop();
Symbol 510 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 2
play();
Symbol 510 MovieClip Frame 82
stop();
Symbol 514 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 2
play();
Symbol 514 MovieClip Frame 82
stop();
Symbol 518 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 2
play();
Symbol 518 MovieClip Frame 82
stop();
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 2
play();
Symbol 522 MovieClip Frame 82
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 2
stop();
Symbol 526 MovieClip Frame 3
stop();
Symbol 526 MovieClip Frame 4
stop();
Symbol 526 MovieClip Frame 5
stop();
Symbol 526 MovieClip Frame 6
stop();
Symbol 526 MovieClip Frame 7
stop();
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 2
_root.visibleMatches = 0;
Symbol 528 MovieClip Frame 15
_root.percentageComplete = 0;
_root.percentageComplete = 100 - ((_root.remainingTiles / _root.totalTiles) * 100);
_root.percentageComplete = Math.round(_root.percentageComplete);
if (_root.percentageComplete >= 100) {
_root.mahjominoParticle.gotoAndPlay(62);
} else {
_root.mahjominoParticle.gotoAndPlay(2);
}
Symbol 528 MovieClip Frame 47
if (_root.SFXOn == true) {
_root.finalTilesSnd.start(0, 1);
_root.finalTilesSnd.setVolume(65);
}
Symbol 528 MovieClip Frame 51
_root.colorFlash(_root["display" + _root.n].tiles, 6);
Symbol 528 MovieClip Frame 64
_root["display" + _root.n].removeMovieClip();
Symbol 528 MovieClip Frame 77
_root.colorFlash(_root.previousMC, 6);
Symbol 528 MovieClip Frame 90
_root.previousMC._visible = false;
Symbol 528 MovieClip Frame 108
_root.artifactParticles.gotoAndPlay(2);
stop();
Symbol 528 MovieClip Frame 122
stop();
Symbol 528 MovieClip Frame 136
stop();
Symbol 536 Button
on (release) {
if (_root.endOfLevel == false) {
swapUndo = false;
if (_root.undonum1 > 0) {
if (_root.previousSelect.swap != true) {
_root.previousSelect.tile.graphic.domino.gotoAndStop(1);
} else {
_root.previousSelect.tile.graphic.domino.gotoAndStop(3);
}
_root.previousSelect.tile.graphic.domino.gotoAndStop(1);
_root.previousSelect.tile.graphic.selector.gotoAndStop(1);
_root.previousSelect.select = false;
_root.previousSelect.leftSelect = false;
_root.previousSelect.rightSelect = false;
_root.previousSelect = null;
if (_root.SFXOn == true) {
_root.undoSnd.start(0, 1);
}
if (_root.undonum1 < 1) {
} else {
_root.undonum1 = _root.undonum1 - 1;
_root.undonum2 = _root.undonum2 - 1;
}
if (_root["old2_" + _root.undonum2].swapped != true) {
swapUndo = false;
}
if (_root["old1_" + _root.undonum1].swapped == true) {
trace("OLD1 WAS SWAPPED");
if ((_root["old2_" + _root.undonum2] == undefined) || (_root["old2_" + _root.undonum2] == _root["old1_" + _root.undonum1])) {
_root["old1_" + _root.undonum1].numSwapped--;
if (_root["old1_" + _root.undonum1].numSwapped < 1) {
_root["old1_" + _root.undonum1].swapped = false;
}
oldLeft = _root["old1_" + _root.undonum1].leftside;
oldRight = _root["old1_" + _root.undonum1].rightside;
_root["old1_" + _root.undonum1].tile.graphic.rightSymbol.blah5641.removeMovieClip();
_root["old1_" + _root.undonum1].tile.graphic.leftSymbol.blah5642.removeMovieClip();
_root["old1_" + _root.undonum1].tile.graphic.rightSymbol.attachMovie(_root["old1_" + _root.undonum1].leftside, "blah5641", 12455);
_root["old1_" + _root.undonum1].tile.graphic.leftSymbol.attachMovie(_root["old1_" + _root.undonum1].rightside, "blah5642", 12456);
_root["old1_" + _root.undonum1].leftside = oldRight;
_root["old1_" + _root.undonum1].rightside = oldLeft;
_root.numSwaps++;
swapUndo = true;
}
} else if (_root["old2_" + _root.undonum2].swapped == true) {
trace("OLD2 WAS SWAPPED");
if ((_root["old1_" + _root.undonum1] == undefined) || (_root["old2_" + _root.undonum2] == _root["old1_" + _root.undonum1])) {
_root["old2_" + _root.undonum2].numSwapped--;
if (_root["old2_" + _root.undonum2].numSwapped < 1) {
_root["old2_" + _root.undonum2].swapped = false;
}
oldLeft = _root["old2_" + _root.undonum2].leftside;
oldRight = _root["old2_" + _root.undonum2].rightside;
_root["old2_" + _root.undonum2].tile.graphic.rightSymbol.blah5641.removeMovieClip();
_root["old2_" + _root.undonum2].tile.graphic.leftSymbol.blah5642.removeMovieClip();
_root["old2_" + _root.undonum2].tile.graphic.rightSymbol.attachMovie(_root["old2_" + _root.undonum2].leftside, "blah5641", 12455);
_root["old2_" + _root.undonum2].tile.graphic.leftSymbol.attachMovie(_root["old2_" + _root.undonum2].rightside, "blah5642", 12456);
_root["old2_" + _root.undonum2].leftside = oldRight;
_root["old2_" + _root.undonum2].rightside = oldLeft;
_root.numSwaps++;
swapUndo = true;
}
}
_root["previous1" + _root.undonum1].tile.gotoAndPlay(59);
_root["previous2" + _root.undonum2].tile.gotoAndPlay(59);
_root["previous1" + (_root.undonum1 - 1)]._visible = true;
_root["previous2" + (_root.undonum2 - 1)]._visible = true;
old1 = _root["old1_" + _root.undonum1];
old2 = _root["old2_" + _root.undonum2];
old1.tileLevel[old1.y][old1.x] = 1;
old1.leftSelect = false;
old1.rightSelect = false;
old1.select = false;
old2.tileLevel[old2.y][old2.x] = 1;
old2.leftSelect = false;
old2.rightSelect = false;
old2.select = false;
old1._visible = true;
old1.tile.gotoAndStop(1);
old1.tile.graphic.rightSymbol.attachMovie(old1.rightside, "blah5641", 12455);
old1.tile.graphic.leftSymbol.attachMovie(old1.leftside, "blah5642", 12456);
old2._visible = true;
old2.tile.gotoAndStop(1);
old2.tile.graphic.rightSymbol.attachMovie(old2.rightside, "blah5641", 12455);
old2.tile.graphic.leftSymbol.attachMovie(old2.leftside, "blah5642", 12456);
if (old1.swap != true) {
old1.tile.graphic.domino.gotoAndStop(1);
} else {
_root.numSwaps--;
old1.tile.graphic.domino.gotoAndStop(3);
}
if (old2.swap != true) {
old2.tile.graphic.domino.gotoAndStop(1);
} else {
_root.numSwaps--;
old2.tile.graphic.domino.gotoAndStop(3);
}
_root.scorerestartTime();
if (((old1.jewel == true) && (old2.jewel == true)) && (old1 != old2)) {
trace("SUBTRACTING JEWEL PAIRS!");
_root.pairsMade--;
_root.remainingTiles++;
_root.remainingTiles++;
_root.tilesRemaining.push(old1);
_root.tilesRemaining.push(old2);
_root.jewelScore = _root.jewelScore - 500;
_root.score = _root.score - _root.jewelScore;
} else if (swapUndo != true) {
_root.remainingTiles++;
_root.remainingTiles++;
_root.tilesRemaining.push(old1);
_root.tilesRemaining.push(old2);
if (_root.undonum1 != 0) {
trace("Undo Amount = " + _root["previousScore" + (_root.undonum1 + 1)]);
undoAmount = 0;
undoAmount = _root["previousScore" + (_root.undonum1 + 1)] * 2;
trace("Undo Amount *2 = " + undoAmount);
_root.score = _root.score - undoAmount;
} else {
_root.score = 0;
}
}
}
if (_root.numSwaps < 0) {
_root.numSwaps = 1;
}
_root.visibleMatchFunc();
}
}
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 2
stop();
Symbol 539 MovieClip Frame 3
stop();
Symbol 539 MovieClip Frame 14
gotoAndPlay (4);
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 2
play();
Symbol 542 MovieClip Frame 121
gotoAndPlay (2);
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
stop();
Symbol 545 MovieClip Frame 3
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
play();
Symbol 552 Button
on (release) {
if (_root.endOfLevel == false) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.paused == false) {
_root.paused = true;
_root.pause();
_root.scorepause();
_root.darkenScreen.gotoAndStop(2);
_root.overlayMC._visible = false;
_root.previousMC._visible = false;
_root._root["display" + _root.n].tiles._visible = false;
}
}
}
Symbol 555 Button
on (release) {
if (_root.endOfLevel == false) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.paused == false) {
_root.paused = true;
_root.pause();
_root.scorepause();
_root.darkenScreen.gotoAndStop(55);
_root.overlayMC._visible = false;
_root.previousMC._visible = false;
_root._root["display" + _root.n].tiles._visible = false;
}
}
}
Instance of Symbol 539 MovieClip "swapButton" in Symbol 561 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_root.mustSwap == true) {
this.gotoAndPlay(4);
} else {
this.gotoAndStop(1);
}
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
if (_root.endOfLevel == false) {
this.gotoAndStop(2);
if (_root.swap == false) {
if (_root.numSwaps > 0) {
_root.swap = true;
if (_root.previousSelect != null) {
trace("SWAP NOW");
_root.swapTile(_root.previousSelect);
_root.mustSwap = false;
_root.visibleMatchFunc();
}
}
} else if (_root.swap == true) {
_root.swap = false;
}
}
}
Instance of Symbol 545 MovieClip "hintButton" in Symbol 561 MovieClip Frame 1
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
this.gotoAndStop(3);
}
on (release) {
if (_root.endOfLevel == false) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.firstTime != true) {
if (_root.paused == false) {
_root.paused = true;
_root.pause();
_root.scorepause();
_root.darkenScreen.gotoAndStop(56);
_root.previousMC._visible = false;
_root._root["display" + _root.n].tiles._visible = false;
}
} else {
this.gotoAndStop(1);
}
}
}
Symbol 579 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip in Symbol 580 MovieClip Frame 1
/* no clip actions */
Symbol 581 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 108
stop();
Symbol 581 MovieClip Frame 167
_root.darkenScreen.gotoAndPlay(37);
stop();
Instance of Symbol 25 MovieClip "blank1" in Symbol 582 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(10022);
}
Instance of Symbol 25 MovieClip "blank2" in Symbol 582 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(10023);
}
Symbol 593 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.paused == true) {
_root.paused = false;
_root.unpause();
_root.scorerestartTime();
_root.darkenScreen.gotoAndStop(1);
_root.overlayMC._visible = true;
_root.previousMC._visible = true;
_root._root["display" + _root.n].tiles._visible = true;
}
}
Symbol 614 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 2
stop();
Symbol 614 MovieClip Frame 3
stop();
Symbol 614 MovieClip Frame 4
stop();
Symbol 614 MovieClip Frame 5
stop();
Symbol 614 MovieClip Frame 6
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 20
stop();
Symbol 624 MovieClip Frame 1
stop();
Symbol 624 MovieClip Frame 2
stop();
Symbol 624 MovieClip Frame 3
stop();
Symbol 624 MovieClip Frame 4
stop();
Symbol 624 MovieClip Frame 5
stop();
Symbol 624 MovieClip Frame 6
stop();
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 2
play();
Symbol 634 MovieClip Frame 25
stop();
Symbol 668 MovieClip Frame 1
stop();
Symbol 668 MovieClip Frame 2
stop();
Symbol 668 MovieClip Frame 3
stop();
Symbol 668 MovieClip Frame 4
stop();
Symbol 668 MovieClip Frame 5
stop();
Symbol 668 MovieClip Frame 6
stop();
Symbol 671 Button
on (release) {
_parent.gotoAndStop(57);
}
Symbol 672 Button
on (release) {
if (_root.level == 1) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root.highScore = false;
_root.level++;
_root.tileLevel++;
_root.interfaceMC.gotoAndStop(1);
_root.undonum1 = 0;
_root.undonum2 = 0;
_root.artifact["artifactBG" + _root.farthestlevel].gotoAndStop(1);
_root.BG.gotoAndStop(1);
_root.restartTime();
trace("FARTHEST LEVLE: " + _root.farthestlevel);
_root.mapMC.gotoAndStop(_root.farthestlevel);
_root.mapMC._visible = true;
_root.mapMC["button" + _root.farthestlevel].gotoAndStop(2);
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.previousButton.gotoAndStop(1);
_root.previousButton = _root.mapMC["button" + _root.farthestlevel];
_root.level = _root.farthestlevel;
_root.mapMC.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"]);
_root.mapMC.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_root.tallymusicSnd.stop();
if (_root.musicOn == true) {
_root.snd0.stop();
_root.snd0.start(0, 99);
_root.fade(_root.snd0, 100, 5);
}
} else if (_root.level == 5) {
gotoAndStop (159);
} else {
_parent.gotoAndStop(57);
}
}
Symbol 681 Button
on (release) {
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=buy&game=mahjomino&source_domain=" + _root.curUrl) + "&version=1.0BFG");
getURL (_root.buyLink, "_blank");
}
Symbol 687 Button
on (release) {
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=download&game=mahjomino&source_domain=" + _root.curUrl) + "&version=1.0BFG");
getURL (_root.downloadLink, "_blank");
}
Symbol 688 MovieClip Frame 1
function increaseScore() {
if (_root.blankPair != _root.pairsMade) {
if (_root.SFXOn == true) {
_root.scoreSnd.start(0, 1);
_root.scoreSnd.setVolume(65);
}
_root.blankPair = _root.blankPair + 1;
jewelTally["emptyJewel" + _root.blankPair].gotoAndPlay(2);
} else {
clearInterval(intervalID);
trace("SHOULD STOP");
_root.blankPair = _root.pairsMade;
trace("JEWEL PAIRS: " + _root.jewelPairs);
trace("BLANK PAIRS: " + _root.blankPair);
if (_root.blankPair == _root.jewelPairs) {
_root[("map" + _root.level) + "Jewel"] = true;
}
gotoAndPlay (2);
return(undefined);
}
}
var intervalID;
if (_root.firstTime == true) {
_root.firstTime = false;
}
jewelTally.gotoAndPlay(_root.jewelPairs);
if (_root.blankPair < _root.pairsMade) {
intervalID = setInterval(increaseScore, 300);
} else if (_root.pairsMade == 0) {
gotoAndPlay (2);
}
questTotalMC._visible = false;
totalScoreMC._visible = false;
rankMC._visible = false;
highScore._visible = false;
markerEarned._visible = false;
stop();
Symbol 688 MovieClip Frame 2
play();
questTotalMC._visible = false;
totalScoreMC._visible = false;
rankMC._visible = false;
highScore._visible = false;
markerEarned._visible = false;
play();
Symbol 688 MovieClip Frame 15
if (_root.blankPair == _root.jewelPairs) {
markerEarned._visible = true;
markerEarned.gotoAndPlay(2);
if (_root.SFXOn == true) {
_root.highscoreSnd.start(0, 1);
_root.highscoreSnd.setVolume(65);
}
} else {
markerEarned._visible = false;
}
questTotalMC._visible = false;
totalScoreMC._visible = false;
rankMC._visible = false;
highScore._visible = false;
Symbol 688 MovieClip Frame 28
questTotalMC._visible = false;
totalScoreMC._visible = false;
rankMC._visible = false;
highScore._visible = false;
stop();
Instance of Symbol 598 MovieClip in Symbol 688 MovieClip Frame 28
onClipEvent (enterFrame) {
function increaseScore() {
if (_root.SFXOn == true) {
_root.scoreSnd.start(0, 1);
_root.scoreSnd.setVolume(65);
}
_root.scoreMC = _root.scoreMC + 137;
}
if (_root.scoreMC < _root.score) {
increaseScore();
} else {
_root.scoreMC = _root.score;
_parent.gotoAndPlay(29);
}
}
Symbol 688 MovieClip Frame 29
questTotalMC._visible = false;
totalScoreMC._visible = false;
highScore._visible = false;
rankMC._visible = false;
play();
Symbol 688 MovieClip Frame 47
questTotalMC._visible = false;
totalScoreMC._visible = false;
highScore._visible = false;
rankMC._visible = false;
stop();
Instance of Symbol 598 MovieClip in Symbol 688 MovieClip Frame 47
onClipEvent (enterFrame) {
function increaseScore() {
if (_root.SFXOn == true) {
_root.scoreSnd.start(0, 1);
}
_root.timescoreMC = _root.timescoreMC + 31;
}
if (_root.timescoreMC < _root.timeScore) {
increaseScore();
} else {
_root.timescoreMC = _root.timeScore;
_parent.gotoAndPlay(48);
}
}
Symbol 688 MovieClip Frame 48
questTotalMC._visible = false;
totalScoreMC._visible = false;
highScore._visible = false;
rankMC._visible = false;
play();
Symbol 688 MovieClip Frame 62
questTotalMC._visible = true;
totalScoreMC._visible = true;
if (_root.SFXOn == true) {
_root.scoreSnd.start(0, 1);
}
highScore._visible = false;
rankMC._visible = false;
play();
Symbol 688 MovieClip Frame 79
rankMC._visible = false;
play();
Symbol 688 MovieClip Frame 97
rankMC._visible = false;
stop();
Instance of Symbol 598 MovieClip in Symbol 688 MovieClip Frame 97
onClipEvent (enterFrame) {
function increaseScore() {
if (_root.SFXOn == true) {
_root.scoreSnd.start(0, 1);
_root.scoreSnd.setVolume(65);
}
_root.dominoesClearedMC = _root.dominoesClearedMC + 3;
if (_root.dominoesClearedMC < 85) {
_parent.portraitMC.gotoAndStop(2);
} else if ((_root.dominoesClearedMC > 84) && (_root.dominoesClearedMC < 90)) {
_parent.portraitMC.gotoAndStop(3);
} else if ((_root.dominoesClearedMC > 89) && (_root.dominoesClearedMC < 95)) {
_parent.portraitMC.gotoAndStop(4);
} else if ((_root.dominoesClearedMC > 94) && (_root.dominoesClearedMC < 100)) {
_parent.portraitMC.gotoAndStop(5);
} else if (_root.dominoesClearedMC >= 100) {
_parent.portraitMC.gotoAndStop(6);
}
}
if (_root.dominoesClearedMC < _root.dominoesCleared) {
increaseScore();
} else {
_root.dominoesClearedMC = _root.dominoesCleared;
_parent.gotoAndPlay(98);
}
}
Symbol 688 MovieClip Frame 98
rankMC._visible = false;
play();
Symbol 688 MovieClip Frame 107
rankMC._visible = true;
if (_root.SFXOn == true) {
_root.scoreSnd.start(0, 1);
}
Symbol 688 MovieClip Frame 120
play();
Instance of Symbol 668 MovieClip "badgeMC" in Symbol 688 MovieClip Frame 120
onClipEvent (load) {
this.gotoAndStop(_root.badgeRank + 1);
}
Symbol 688 MovieClip Frame 134
continueButton.useHandCursor = false;
Symbol 688 MovieClip Frame 144
continueButton.useHandCursor = false;
stop();
Symbol 688 MovieClip Frame 159
downloadButton.useHandCursor = false;
buyButton.useHandCursor = false;
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=complete&game=mahjomino&source_domain=" + _root.curUrl) + "&version=1.0BFG");
stop();
Symbol 692 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.paused == true) {
_root.paused = false;
_root.unpause();
_root.scorerestartTime();
_root.darkenScreen.gotoAndStop(1);
_root.previousMC._visible = true;
_root.overlayMC._visible = true;
_root._root["display" + _root.n].tiles._visible = true;
}
}
Symbol 695 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root["display" + _root.n].removeMovieClip();
_root.previousMC._visible = false;
_root.paused = false;
_root.menuBG._visible = true;
if (_root.musicOn == true) {
_root.fade(_root.snd1, 0, 5);
_root.snd0.stop();
_root.snd0.start(0, 99);
_root.fade(_root.snd0, 100, 5);
}
}
Symbol 698 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root.paused = false;
_root["display" + _root.n].removeMovieClip();
_root.n++;
_root.restartTime();
_root.mapInfo();
}
Symbol 701 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
gotoAndStop (58);
}
Symbol 703 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.paused == true) {
_root.paused = false;
_root.unpause();
_root.scorerestartTime();
_root.darkenScreen.gotoAndStop(1);
_root.overlayMC._visible = true;
_root.previousMC._visible = true;
_root._root["display" + _root.n].tiles._visible = true;
}
}
Symbol 724 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root.highScore = false;
_root.level++;
_root.tileLevel++;
_root.interfaceMC.gotoAndStop(1);
_root.undonum1 = 0;
_root.undonum2 = 0;
_root.artifact["artifactBG" + _root.farthestlevel].gotoAndStop(1);
_root.BG.gotoAndStop(1);
_root.restartTime();
trace("FARTHEST LEVLE: " + _root.farthestlevel);
_root.mapMC.gotoAndStop(_root.farthestlevel);
_root.mapMC._visible = true;
_root.mapMC["button" + _root.farthestlevel].gotoAndStop(2);
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.previousButton.gotoAndStop(1);
_root.previousButton = _root.mapMC["button" + _root.farthestlevel];
_root.level = _root.farthestlevel;
_root.mapMC.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"]);
_root.mapMC.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
if (_root.musicOn == true) {
_root.snd0.stop();
_root.snd0.start(0, 99);
_root.fade(_root.snd0, 100, 5);
}
}
Symbol 730 Button
on (release) {
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=download&game=mahjomino&source_domain=" + _root.curUrl) + "&version=1.0GC");
getURL (_root.downloadLink, "_blank");
}
Symbol 738 MovieClip Frame 1
stop();
Symbol 738 MovieClip Frame 2
stop();
Symbol 741 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
gotoAndStop (55);
}
Symbol 744 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root.paused = false;
_root["display" + _root.n].removeMovieClip();
_root.previousMC._visible = false;
_root.n++;
_root.restartTime();
_root.mapInfo();
}
Symbol 745 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root["display" + _root.n].removeMovieClip();
_root.paused = false;
_root.previousMC._visible = false;
_root.menuBG._visible = true;
if (_root.musicOn == true) {
_root.fade(_root.snd1, 0, 5);
_root.snd0.stop();
_root.snd0.start(0, 99);
_root.fade(_root.snd0, 100, 5);
}
}
Symbol 747 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root.paused = false;
_root["display" + _root.n].removeMovieClip();
_root.previousMC._visible = false;
_root.overlayMC._visible = true;
_root.scoreAnimation._visible = true;
_root.jewel1._visible = true;
_root.jewel2._visible = true;
tileScore1MC._visible = true;
tileScore2MC._visible = true;
scorex2MC1._visible = true;
scorex2MC2._visible = true;
timeAnimation._visible = true;
_root.n++;
_root.restartTime();
_root.mapInfo();
}
Symbol 748 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root["display" + _root.n].removeMovieClip();
_root.paused = false;
_root.overlayMC._visible = true;
_root.previousMC._visible = false;
_root.scoreAnimation._visible = true;
_root.jewel1._visible = true;
_root.jewel2._visible = true;
tileScore1MC._visible = true;
tileScore2MC._visible = true;
scorex2MC1._visible = true;
scorex2MC2._visible = true;
timeAnimation._visible = true;
_root.menuBG._visible = true;
if (_root.musicOn == true) {
_root.fade(_root.snd1, 0, 5);
_root.snd0.stop();
_root.snd0.start(0, 99);
_root.fade(_root.snd0, 100, 5);
}
}
Symbol 751 Button
on (release) {
swapUndo = false;
if (_root.undonum1 > 0) {
if (_root.previousSelect.swap != true) {
_root.previousSelect.tile.graphic.domino.gotoAndStop(1);
} else {
_root.previousSelect.tile.graphic.domino.gotoAndStop(3);
}
_root.previousSelect.tile.graphic.domino.gotoAndStop(1);
_root.previousSelect.tile.graphic.selector.gotoAndStop(1);
_root.previousSelect.select = false;
_root.previousSelect.leftSelect = false;
_root.previousSelect.rightSelect = false;
_root.previousSelect = null;
if (_root.SFXOn == true) {
_root.undoSnd.start(0, 1);
}
if (_root.undonum1 < 1) {
} else {
_root.undonum1 = _root.undonum1 - 1;
_root.undonum2 = _root.undonum2 - 1;
}
if (_root["old2_" + _root.undonum2].swapped != true) {
swapUndo = false;
}
if (_root["old1_" + _root.undonum1].swapped == true) {
trace("OLD1 WAS SWAPPED");
if ((_root["old2_" + _root.undonum2] == undefined) || (_root["old2_" + _root.undonum2] == _root["old1_" + _root.undonum1])) {
_root["old1_" + _root.undonum1].numSwapped--;
if (_root["old1_" + _root.undonum1].numSwapped < 1) {
_root["old1_" + _root.undonum1].swapped = false;
}
oldLeft = _root["old1_" + _root.undonum1].leftside;
oldRight = _root["old1_" + _root.undonum1].rightside;
_root["old1_" + _root.undonum1].tile.graphic.rightSymbol.blah5641.removeMovieClip();
_root["old1_" + _root.undonum1].tile.graphic.leftSymbol.blah5642.removeMovieClip();
_root["old1_" + _root.undonum1].tile.graphic.rightSymbol.attachMovie(_root["old1_" + _root.undonum1].leftside, "blah5641", 12455);
_root["old1_" + _root.undonum1].tile.graphic.leftSymbol.attachMovie(_root["old1_" + _root.undonum1].rightside, "blah5642", 12456);
_root["old1_" + _root.undonum1].leftside = oldRight;
_root["old1_" + _root.undonum1].rightside = oldLeft;
_root.numSwaps++;
swapUndo = true;
}
} else if (_root["old2_" + _root.undonum2].swapped == true) {
trace("OLD2 WAS SWAPPED");
if ((_root["old1_" + _root.undonum1] == undefined) || (_root["old2_" + _root.undonum2] == _root["old1_" + _root.undonum1])) {
_root["old2_" + _root.undonum2].numSwapped--;
if (_root["old2_" + _root.undonum2].numSwapped < 1) {
_root["old2_" + _root.undonum2].swapped = false;
}
oldLeft = _root["old2_" + _root.undonum2].leftside;
oldRight = _root["old2_" + _root.undonum2].rightside;
_root["old2_" + _root.undonum2].tile.graphic.rightSymbol.blah5641.removeMovieClip();
_root["old2_" + _root.undonum2].tile.graphic.leftSymbol.blah5642.removeMovieClip();
_root["old2_" + _root.undonum2].tile.graphic.rightSymbol.attachMovie(_root["old2_" + _root.undonum2].leftside, "blah5641", 12455);
_root["old2_" + _root.undonum2].tile.graphic.leftSymbol.attachMovie(_root["old2_" + _root.undonum2].rightside, "blah5642", 12456);
_root["old2_" + _root.undonum2].leftside = oldRight;
_root["old2_" + _root.undonum2].rightside = oldLeft;
_root.numSwaps++;
swapUndo = true;
}
}
_root["previous1" + _root.undonum1].tile.gotoAndPlay(59);
_root["previous2" + _root.undonum2].tile.gotoAndPlay(59);
_root["previous1" + (_root.undonum1 - 1)]._visible = true;
_root["previous2" + (_root.undonum2 - 1)]._visible = true;
old1 = _root["old1_" + _root.undonum1];
old2 = _root["old2_" + _root.undonum2];
old1.tileLevel[old1.y][old1.x] = 1;
old1.leftSelect = false;
old1.rightSelect = false;
old1.select = false;
old2.tileLevel[old2.y][old2.x] = 1;
old2.leftSelect = false;
old2.rightSelect = false;
old2.select = false;
old1._visible = true;
old1.tile.gotoAndStop(1);
old1.tile.graphic.rightSymbol.attachMovie(old1.rightside, "blah5641", 12455);
old1.tile.graphic.leftSymbol.attachMovie(old1.leftside, "blah5642", 12456);
old2._visible = true;
old2.tile.gotoAndStop(1);
old2.tile.graphic.rightSymbol.attachMovie(old2.rightside, "blah5641", 12455);
old2.tile.graphic.leftSymbol.attachMovie(old2.leftside, "blah5642", 12456);
if (old1.swap != true) {
old1.tile.graphic.domino.gotoAndStop(1);
} else {
_root.numSwaps--;
old1.tile.graphic.domino.gotoAndStop(3);
}
if (old2.swap != true) {
old2.tile.graphic.domino.gotoAndStop(1);
} else {
_root.numSwaps--;
old2.tile.graphic.domino.gotoAndStop(3);
}
_root.scorerestartTime();
if (((old1.jewel == true) && (old2.jewel == true)) && (old1 != old2)) {
trace("SUBTRACTING JEWEL PAIRS!");
_root.pairsMade--;
_root.remainingTiles++;
_root.remainingTiles++;
_root.tilesRemaining.push(old1);
_root.tilesRemaining.push(old2);
_root.jewelScore = _root.jewelScore - 500;
_root.score = _root.score - _root.jewelScore;
} else if (swapUndo != true) {
_root.remainingTiles++;
_root.remainingTiles++;
_root.tilesRemaining.push(old1);
_root.tilesRemaining.push(old2);
if (_root.undonum1 != 0) {
trace("Undo Amount = " + _root["previousScore" + (_root.undonum1 + 1)]);
undoAmount = 0;
undoAmount = _root["previousScore" + (_root.undonum1 + 1)] * 2;
trace("Undo Amount *2 = " + undoAmount);
_root.score = _root.score - undoAmount;
} else {
_root.score = 0;
}
}
}
if (_root.numSwaps < 0) {
_root.numSwaps = 1;
}
_root.selectableSide(old1);
_root.selectableSide(old2);
_root.visibleMatchFunc();
if (_root.paused == true) {
_root.paused = false;
_root.unpause();
_root.scorerestartTime();
_root.fade(_root.snd1, 100, 2);
_root.overlayMC._visible = true;
_root.previousMC._visible = true;
_root.scoreAnimation._visible = true;
_root.jewel1._visible = true;
_root.jewel2._visible = true;
tileScore1MC._visible = true;
tileScore2MC._visible = true;
scorex2MC1._visible = true;
scorex2MC2._visible = true;
timeAnimation._visible = true;
_root._root["display" + _root.n].tiles._visible = true;
}
gotoAndStop (1);
}
Symbol 752 MovieClip Frame 1
stop();
Symbol 752 MovieClip Frame 2
resumeGameButton.useHandCursor = false;
stop();
Instance of Symbol 584 MovieClip in Symbol 752 MovieClip Frame 2
on (rollOver) {
this.useHandCursor = false;
}
Symbol 752 MovieClip Frame 3
trace("FARTHEST LEVLE1: " + _root.farthestlevel);
textBox.continueButton.useHandCursor = false;
if (_root[("level" + (_root.level + 1)) + "complete"] != true) {
_root.artifact["artifactBG" + (_root.level + 1)].gotoAndPlay(247);
} else {
_root.artifact["artifactBG" + _root.farthestlevel].gotoAndPlay(247);
}
_root.previousButton.gotoAndStop(1);
_root.BG.gotoAndPlay(123);
_root.timeScore = _root.levelTime - (_root.levelTime - _root.output);
_root.timeScore = Math.round(_root.timeScore);
_root.totalScore = _root.timeScore + _root.score;
_root.questTotal = _root.questTotal + _root.totalScore;
_root.percentageComplete = 100 - ((_root.remainingTiles / _root.totalTiles) * 100);
_root.percentageComplete = Math.round(_root.percentageComplete);
if (_root.totalScore > _root[("level" + _root.level) + "Best"]) {
_root[("level" + _root.level) + "Best"] = _root.totalScore;
_root.highScore = true;
}
trace("_root.percentageComplete: " + _root.percentageComplete);
_root.dominoesCleared = _root.percentageComplete;
if (_root.percentageComplete < 85) {
_root.badgeRank = 1;
_root.levelRank = "Field Assistant";
} else if ((_root.percentageComplete > 84) && (_root.percentageComplete < 90)) {
_root.badgeRank = 2;
_root.levelRank = "Field Technician";
} else if ((_root.percentageComplete > 89) && (_root.percentageComplete < 95)) {
_root.badgeRank = 3;
_root.levelRank = "Field Supervisor";
} else if ((_root.percentageComplete > 94) && (_root.percentageComplete < 100)) {
_root.badgeRank = 4;
_root.levelRank = "Principal Investigator";
} else if (_root.percentageComplete == 100) {
_root.badgeRank = 5;
_root.levelRank = "Professor";
}
if (_root.pairsMade > _root[("level" + _root.level) + "GemsBest"]) {
_root[("level" + _root.level) + "GemsBest"] = _root.pairsMade;
}
if (_root[("level" + _root.level) + "BadgeBest"] < _root.badgeRank) {
_root[("level" + _root.level) + "BadgeBest"] = _root.badgeRank;
}
if (_root[("level" + _root.level) + "Cleared"] < _root.percentageComplete) {
_root[("level" + _root.level) + "Cleared"] = _root.percentageComplete;
}
if (_root.level == 1) {
_root.story = "<b>PROLOGUE-1: Letter from New Dehli</b>\n My journey began on the shores of Karachi, where I had stationed my dirigible. I had just received Father's letter from his colleague, Dr.Sastri. Before I was to meet him in New Dehli, Dr. Sastri told me to collect all the pieces of a known replica of the Pendant of Shiva. Included in the letter was the first piece of the replica, along with the name of my next destination, Quetta.";
}
if (_root.level == 2) {
_root.story = "<b>PROLOGUE-2: Garrison Town</b>\n I arrived in Quetta around early afternoon, where I promptly proceeded to look for the next replica fragment. This old garrison town had a lot of interesting trinkets to offer. After scouring the open markets, I finally obtained another fragment and set my sights on reaching Kabul as soon as possible.";
}
if (_root.level == 3) {
_root.story = "<b>PROLOGUE-3: Kabul Bazaars</b>\n The strategic ancient city of Kabul proved mesmerizing with its myriad of bazaars. Sadly, there was little time to relish the antiques that populated the city. I was able to trade some of my older collectables in exchange for a fragment of the replica. My search for the fragment here over, it was time to leave the valley and head southwest, towards Rawalpindi.";
}
if (_root.level == 4) {
_root.story = "<b>PROLOGUE-4: Storehouse</b>\n The fact that Rawalpindi was the biggest British Military Garrison on the subcontinent definitely made it easier for me to resupply and service my ship. I found another fragment of the replica archived away in the storehouses of the base. With one more piece left to collect, I must make haste for New Dehli.";
}
if (_root.level == 5) {
_root.story = "<b>PROLOGUE-5: Arrival</b>\n Upon my arrival in New Dehli, I quickly established contact with Dr. Sastri. After meeting with him at the loading docks, he provided me with the last fragment of the replica. The assembly of the replica complete, he told me that it was now time to look for the real pendant. I will meet him in his Study tomorrow to discuss matters further and prepare for the long journey ahead.";
}
trace("LEVEL GEMS: " + _root[("level" + _root.level) + "GemsBest"]);
trace(_root.levelRank);
trace("FARTHEST LEVLE2: " + _root.farthestlevel);
trace(_root.previousButton);
_root.previousButton.gotoAndStop(1);
if (_root.musicOn == true) {
_root.tallymusicSnd.stop();
_root.tallymusicSnd.start(0, 99);
_root.fade(_root.tallymusicSnd, 100, 2);
_root.tallymusicSnd.setVolume(65);
}
Symbol 752 MovieClip Frame 8
if (_root.musicOn == true) {
_root.levelcompleteSnd.start(0, 1);
}
Symbol 752 MovieClip Frame 13
textBox.continueButton.useHandCursor = false;
stop();
Symbol 752 MovieClip Frame 55
resumeGameButton.useHandCursor = false;
restartButton.useHandCursor = false;
rulesButton.useHandCursor = false;
optionsButton.useHandCursor = false;
menuButton.useHandCursor = false;
stop();
Symbol 752 MovieClip Frame 56
resumeGameButton.useHandCursor = false;
stop();
Symbol 752 MovieClip Frame 57
returnButton.useHandCursor = false;
downloadButton.useHandCursor = false;
stop();
Instance of Symbol 584 MovieClip in Symbol 752 MovieClip Frame 57
on (rollOver) {
this.useHandCursor = false;
}
Symbol 752 MovieClip Frame 58
doneButton.useHandCursor = false;
musicBox.useHandCursor = false;
SFXBox.useHandCursor = false;
cursorBox.useHandCursor = false;
stop();
Instance of Symbol 584 MovieClip in Symbol 752 MovieClip Frame 58
on (rollOver) {
this.useHandCursor = false;
}
Instance of Symbol 738 MovieClip "musicBox" in Symbol 752 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.musicOn == true) {
this.gotoAndStop(1);
} else if (_root.musicOn == false) {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.musicOn == true) {
this.gotoAndStop(2);
_root.musicOn = false;
_root.fade(_root.snd1, 0, 2);
} else if (_root.musicOn == false) {
this.gotoAndStop(1);
_root.musicOn = true;
_root.fade(_root.snd1, 100, 2);
}
}
Instance of Symbol 738 MovieClip "SFXBox" in Symbol 752 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.SFXOn == true) {
this.gotoAndStop(1);
} else if (_root.SFXOn == false) {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.SFXOn == true) {
this.gotoAndStop(2);
_root.SFXOn = false;
} else if (_root.SFXOn == false) {
this.gotoAndStop(1);
_root.SFXOn = true;
}
}
Instance of Symbol 738 MovieClip "cursorBox" in Symbol 752 MovieClip Frame 58
onClipEvent (enterFrame) {
if (_root.cursorOn == true) {
this.gotoAndStop(1);
} else if (_root.cursorOn == false) {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.cursorOn == true) {
this.gotoAndStop(2);
Mouse.show();
_root.Pointer._visible = false;
_root.cursorOn = false;
} else if (_root.cursorOn == false) {
this.gotoAndStop(1);
Mouse.hide();
_root.Pointer._visible = true;
_root.cursorOn = true;
}
}
Symbol 752 MovieClip Frame 59
restartButton.useHandCursor = false;
menuButton.useHandCursor = false;
stop();
Symbol 752 MovieClip Frame 60
restartButton.useHandCursor = false;
menuButton.useHandCursor = false;
undoButton.useHandCursor = false;
stop();
Symbol 755 MovieClip Frame 1
stop();
Symbol 755 MovieClip Frame 2
stop();
Symbol 761 MovieClip Frame 1
stop();
Symbol 761 MovieClip Frame 2
stop();
Symbol 761 MovieClip Frame 3
stop();
Symbol 761 MovieClip Frame 4
stop();
Symbol 766 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 45
stop();
Symbol 766 MovieClip Frame 85
stop();
Symbol 766 MovieClip Frame 115
stop();
Symbol 766 MovieClip Frame 160
stop();
Symbol 776 MovieClip Frame 1
stop();
Symbol 776 MovieClip Frame 45
stop();
Symbol 776 MovieClip Frame 85
stop();
Symbol 776 MovieClip Frame 115
stop();
Symbol 776 MovieClip Frame 160
stop();
Symbol 778 MovieClip Frame 1
this.createEmptyMovieClip("mc", 1);
mc.c = 10;
mc.onEnterFrame = function () {
if (_root.mapMC._visible == true) {
this._parent.attachMovie("particle", "p" + this.c, this.c);
this._parent["p" + this.c].onLoad = function () {
this.wl = 50 + (50 * Math.random());
this.ampl = 4;
this.as = 1 * Math.random();
this.sp = 1 + (2 * Math.random());
this.bx = random(1) + 0;
this._y = 0;
this._x = this.bx;
};
this._parent["p" + this.c].onLoad();
this._parent["p" + this.c].onEnterFrame = function () {
this._x = this.bx + ((3 * this.ampl) * Math.sin(this._y / this.wl));
this._y = this._y - this.sp;
if ((this._y + this.height) < 0) {
this.removeMovieClip();
}
this.ampl = this.ampl + this.as;
};
this.c++;
}
};
stop();
Symbol 780 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 2
stop();
Symbol 783 Button
on (release) {
function loadLevel() {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
clearInterval(intervalID);
}
var intervalID;
_root.loadingMC.gotoAndStop(2);
intervalID = setInterval(loadLevel, 100);
}
Symbol 784 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root["display" + _root.n].removeMovieClip();
_root.paused = false;
_root.menuBG._visible = true;
}
Symbol 795 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 2
stop();
Symbol 795 MovieClip Frame 3
stop();
Symbol 795 MovieClip Frame 4
stop();
Symbol 795 MovieClip Frame 5
stop();
Symbol 812 MovieClip Frame 1
play();
Symbol 812 MovieClip Frame 15
stop();
Symbol 813 MovieClip Frame 1
stop();
Symbol 813 MovieClip Frame 2
stop();
Symbol 820 MovieClip Frame 1
stop();
Symbol 820 MovieClip Frame 2
stop();
Symbol 820 MovieClip Frame 3
stop();
Symbol 820 MovieClip Frame 4
stop();
Symbol 820 MovieClip Frame 5
stop();
Symbol 838 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 2
stop();
Symbol 838 MovieClip Frame 3
stop();
Symbol 838 MovieClip Frame 4
stop();
Symbol 838 MovieClip Frame 5
stop();
Symbol 838 MovieClip Frame 6
stop();
Symbol 869 MovieClip Frame 1
stop();
Symbol 869 MovieClip Frame 2
stop();
Symbol 869 MovieClip Frame 3
stop();
Symbol 869 MovieClip Frame 4
stop();
Symbol 869 MovieClip Frame 5
stop();
Symbol 869 MovieClip Frame 6
stop();
Symbol 869 MovieClip Frame 7
stop();
Symbol 881 MovieClip Frame 1
_root.level = undefined;
button1.useHandCursor = false;
button2.useHandCursor = false;
button3.useHandCursor = false;
button4.useHandCursor = false;
button5.useHandCursor = false;
playBoardButton.useHandCursor = false;
menuButton.useHandCursor = false;
stop();
Instance of Symbol 761 MovieClip "level1Gems" in Symbol 881 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
_parent.button1.gotoAndStop(2);
_root.previousButton = _root.mapMC.button1;
_root.level = 1;
this.gotoAndStop(_root.level1GemsBest + 1);
this.useHandCursor = false;
if (_parent.button1._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 1;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_parent.button1.gotoAndStop(2);
_root.previousButton = _parent.button1;
}
}
Instance of Symbol 25 MovieClip in Symbol 881 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
if ((_root.map1Jewel == true) && (_parent.mapLevel1._currentframe == 1)) {
_parent.mapLevel1.gotoAndStop(2);
}
if ((_root.map2Jewel == true) && (_parent.mapLevel2._currentframe == 1)) {
_parent.mapLevel2.gotoAndStop(2);
}
if ((_root.map3Jewel == true) && (_parent.mapLevel3._currentframe == 1)) {
_parent.mapLevel3.gotoAndStop(2);
}
if ((_root.map4Jewel == true) && (_parent.mapLevel4._currentframe == 1)) {
_parent.mapLevel4.gotoAndStop(2);
}
if ((_root.map5Jewel == true) && (_parent.mapLevel5._currentframe == 1)) {
_parent.mapLevel5.gotoAndStop(2);
}
}
}
Symbol 881 MovieClip Frame 2
button1.useHandCursor = false;
button2.useHandCursor = false;
button3.useHandCursor = false;
button4.useHandCursor = false;
button5.useHandCursor = false;
playBoardButton.useHandCursor = false;
menuButton.useHandCursor = false;
_root.previousButton = button2;
levelBadge.gotoAndStop(1);
blimp.gotoAndPlay(2);
previewMC.gotoAndStop(2);
blimp.blimpMask.gotoAndPlay(2);
stop();
Instance of Symbol 761 MovieClip "level1Gems" in Symbol 881 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.useHandCursor = false;
this.gotoAndStop(_root.level1GemsBest + 1);
if (_parent.button1._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button1._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 1;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_parent.button1.gotoAndStop(2);
_root.previousButton = _parent.button1;
}
}
Instance of Symbol 820 MovieClip "level2Gems" in Symbol 881 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.gotoAndStop(_root.level2GemsBest + 1);
this.useHandCursor = false;
if (_parent.button2._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button2._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 2;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_parent.button2.gotoAndStop(2);
_root.previousButton = _parent.button2;
}
}
Symbol 881 MovieClip Frame 3
button1.useHandCursor = false;
button2.useHandCursor = false;
button3.useHandCursor = false;
button4.useHandCursor = false;
button5.useHandCursor = false;
playBoardButton.useHandCursor = false;
menuButton.useHandCursor = false;
_root.previousButton = button3;
levelBadge.gotoAndStop(1);
previewMC.gotoAndStop(3);
blimp.gotoAndPlay(46);
blimp.blimpMask.gotoAndPlay(46);
stop();
Instance of Symbol 820 MovieClip "level2Gems" in Symbol 881 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.useHandCursor = false;
this.gotoAndStop(_root.level2GemsBest + 1);
if (_parent.button2._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button2._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 2;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_parent.button2.gotoAndStop(2);
_root.previousButton = _parent.button2;
}
}
Instance of Symbol 838 MovieClip "level3Gems" in Symbol 881 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.gotoAndStop(_root.level3GemsBest + 1);
this.useHandCursor = false;
if (_parent.button3._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button3._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 3;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_parent.button3.gotoAndStop(2);
_root.previousButton = _parent.button3;
}
}
Symbol 881 MovieClip Frame 4
button1.useHandCursor = false;
button2.useHandCursor = false;
button3.useHandCursor = false;
button4.useHandCursor = false;
button5.useHandCursor = false;
playBoardButton.useHandCursor = false;
menuButton.useHandCursor = false;
_root.previousButton = button4;
levelBadge.gotoAndStop(1);
previewMC.gotoAndStop(4);
blimp.gotoAndPlay(86);
blimp.blimpMask.gotoAndPlay(86);
stop();
Instance of Symbol 820 MovieClip "level2Gems" in Symbol 881 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.useHandCursor = false;
this.gotoAndStop(_root.level2GemsBest + 1);
if (_parent.button2._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button2._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 2;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_parent.button2.gotoAndStop(2);
_root.previousButton = _parent.button2;
}
}
Instance of Symbol 838 MovieClip "level3Gems" in Symbol 881 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.useHandCursor = false;
this.gotoAndStop(_root.level3GemsBest + 1);
if (_parent.button3._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button3._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 3;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_parent.button3.gotoAndStop(2);
_root.previousButton = _parent.button3;
}
}
Instance of Symbol 838 MovieClip "level4Gems" in Symbol 881 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.gotoAndStop(_root.level4GemsBest + 1);
this.useHandCursor = false;
if (_parent.button4._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button4._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 4;
_parent.previewMC.gotoAndStop(_root.level);
_root.levelBest = _root[("level" + _root.level) + "Best"];
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_parent.button4.gotoAndStop(2);
_root.previousButton = _parent.button4;
}
}
Symbol 881 MovieClip Frame 5
button1.useHandCursor = false;
button2.useHandCursor = false;
button3.useHandCursor = false;
button4.useHandCursor = false;
button5.useHandCursor = false;
playBoardButton.useHandCursor = false;
menuButton.useHandCursor = false;
_root.previousButton = button5;
levelBadge.gotoAndStop(1);
previewMC.gotoAndStop(5);
blimp.gotoAndPlay(116);
blimp.blimpMask.gotoAndPlay(116);
stop();
Instance of Symbol 838 MovieClip "level4Gems" in Symbol 881 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.useHandCursor = false;
this.gotoAndStop(_root.level4GemsBest + 1);
if (_parent.button4._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button4._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 4;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_parent.button4.gotoAndStop(2);
_root.previousButton = _parent.button4;
}
}
Instance of Symbol 869 MovieClip "level5Gems" in Symbol 881 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.mapMC._visible == true) {
this.gotoAndStop(_root.level5GemsBest + 1);
this.useHandCursor = false;
if (_parent.button5._currentframe == 2) {
this._rotation = this._rotation + 1.5;
}
onRollOver = function () {
onEnterFrame = function () {
if (_parent.button5._currentframe != 2) {
this._rotation = this._rotation + 1.5;
}
};
};
onRollOut = function () {
delete onEnterFrame;
};
}
}
on (press) {
if (!_root.click) {
clicktimer = getTimer() / 1000;
_root.click = true;
} else {
clicktimer2 = getTimer() / 1000;
if ((clicktimer2 - clicktimer) < 0.25) {
_root.click = false;
trace("DOUBLE CLICKED");
_root.loadingMC.gotoAndStop(2);
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.level != undefined) {
if (n == undefined) {
n = 1;
}
_root.n++;
_root.restartTime();
_root.mapInfo();
}
} else {
clicktimer = getTimer() / 1000;
_root.click = true;
}
}
}
on (release) {
if (this != _root.previousButton) {
_root.previousButton.gotoAndStop(1);
_root.level = 5;
_parent.previewMC.gotoAndStop(_root.level);
_parent.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"] + 1);
_parent.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.recordScore = _root[("recordScore" + _root.level) + "Txt"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_parent.button5.gotoAndStop(2);
_root.previousButton = _parent.button5;
}
}
Symbol 885 MovieClip Frame 1
stop();
Symbol 888 MovieClip Frame 1
stop();
Symbol 888 MovieClip Frame 2
play();
Symbol 889 MovieClip Frame 1
stop();
Symbol 889 MovieClip Frame 2
play();
Symbol 892 MovieClip Frame 1
stop();
Symbol 892 MovieClip Frame 2
play();
Symbol 914 Button
on (release) {
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=tutorial&game=mahjomino&source_domain=" + _root.curUrl) + "&version=1.0BFG");
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
i = 0;
while (i < _root.goodTiles.length) {
_root.goodTiles[i].tile.graphic.overlay.gotoAndStop(1);
i++;
}
_root._root["display" + _root.n].tiles.t_9_8_l_1.tile.graphic.overlay.gotoAndStop(1);
_root._root["display" + _root.n].tiles.t_9_10_l_1.tile.graphic.overlay.gotoAndStop(1);
_root.interfaceMC.bottom.undoButton._visible = true;
_root.overlayMC.gotoAndStop(1);
}
Symbol 915 MovieClip Frame 1
stop();
Symbol 915 MovieClip Frame 2
stop();
Symbol 915 MovieClip Frame 3
stop();
Symbol 915 MovieClip Frame 4
stop();
Symbol 915 MovieClip Frame 5
stop();
Symbol 915 MovieClip Frame 6
stop();
Symbol 915 MovieClip Frame 7
stop();
Symbol 915 MovieClip Frame 8
continueButton.useHandCursor = false;
stop();
Instance of Symbol 584 MovieClip in Symbol 915 MovieClip Frame 8
on (rollOver) {
this.useHandCursor = false;
}
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 2
if (_root.level >= _root.farthestlevel) {
_root.BG.BGMC.artifact.gotoAndStop(_root.farthestlevel + 1);
_root.BG.BGMC.artifact["piece" + _root.farthestlevel].gotoAndPlay(2);
}
Symbol 916 MovieClip Frame 3
if (_root.SFXOn == true) {
_root.artifactSnd.start(0, 1);
_root.artifactSnd.setVolume(65);
}
Symbol 916 MovieClip Frame 165
if (_root.level >= _root.farthestlevel) {
_root.farthestlevel++;
}
Symbol 916 MovieClip Frame 166
_root.darkenScreen.gotoAndPlay(3);
stop();
Symbol 917 MovieClip Frame 1
stop();
Symbol 925 Button
on (release) {
if (_root.storyFirst == true) {
mainOptions.gotoAndStop(3);
} else {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root.mapMC.gotoAndStop(_root.farthestlevel);
if (_root.firstTime == undefined) {
_root.firstTime = true;
}
_root.previousButton.gotoAndStop(1);
_root.mapMC._visible = true;
_root.level = _root.farthestlevel;
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.previousButton = _root.mapMC["button" + _root.farthestlevel];
_root.mapMC["button" + _root.farthestlevel].gotoAndStop(1);
_root.mapMC["button" + _root.farthestlevel].gotoAndStop(2);
_root.mapMC.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"]);
_root.mapMC.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.mapMC.previewMC.gotoAndStop(_root.farthestlevel);
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_root.menuBG._visible = false;
}
}
on (rollOver) {
_root.menuText = "Travel to ancient civilizations on a quest for the 12 artifacts.";
}
on (rollOut) {
_root.menuText = "\nWelcome to Mahjomino!";
}
Symbol 928 Button
on (rollOver) {
_root.menuText = "Earn high scores clearing Dominoes from classic Mahjong style game boards.";
fullVersionText._visible = true;
}
on (rollOut) {
_root.menuText = "\nWelcome to Mahjomino!";
fullVersionText._visible = false;
}
Symbol 931 Button
on (rollOver) {
_root.menuText = "Solve mind bending Domino puzzles, one wrong move can spell disaster.";
fullVersionText._visible = true;
}
on (rollOut) {
_root.menuText = "\nWelcome to Mahjomino!";
fullVersionText._visible = false;
}
Symbol 934 Button
on (rollOver) {
_root.menuText = "Classic Domino Solitaire reborn. Clear dominoes by matching their sums.";
fullVersionText._visible = true;
}
on (rollOut) {
_root.menuText = "\nWelcome to Mahjomino!";
fullVersionText._visible = false;
}
Symbol 943 Button
on (release) {
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=download&game=mahjomino&source_domain=" + _root.curUrl) + "&version=GamesCafe");
getURL ("http://www.bigfishgames.com/downloads/mahjomino/download.html", "_blank");
}
Symbol 944 Button
on (release) {
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=download&game=mahjomino&source_domain=" + _root.curUrl) + "&version=1.0BFG");
getURL (_root.downloadLink, "_blank");
}
Symbol 945 MovieClip Frame 13
downloadButton.useHandCursor = false;
stop();
Symbol 951 Button
on (release) {
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=buy&game=mahjomino&source_domain=" + _root.curUrl) + "&version=GamesCafe");
getURL ("http://b.trymedia.com/b/bigfishgames/1h_pkg542_2/bigfishgames/en_mahjomino_inst", "_blank");
}
Symbol 952 Button
on (release) {
var mylv = new LoadVars();
mylv.load(("http://www.gamedataone.com/mahjomino/updateDB.php?action=buy&game=mahjomino&source_domain=" + _root.curUrl) + "&version=1.0BFG");
getURL (_root.buyLink, "_blank");
}
Symbol 953 MovieClip Frame 18
buyButton.useHandCursor = false;
stop();
Symbol 959 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
gotoAndStop (1);
}
Symbol 962 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
_root.storyFirst = false;
_root.mapMC.gotoAndStop(_root.farthestlevel);
if (_root.firstTime == undefined) {
_root.firstTime = true;
}
_root.previousButton.gotoAndStop(1);
_root.mapMC._visible = true;
_root.level = _root.farthestlevel;
_root.levelBest = _root[("level" + _root.level) + "Best"];
_root.previousButton = _root.mapMC["button" + _root.farthestlevel];
_root.mapMC["button" + _root.farthestlevel].gotoAndStop(1);
_root.mapMC["button" + _root.farthestlevel].gotoAndStop(2);
_root.mapMC.levelBadge.gotoAndStop(_root[("level" + _root.level) + "BadgeBest"]);
_root.mapMC.dominosCleared = _root[("level" + _root.level) + "Cleared"];
_root.levelNameMap = _root[("level" + _root.level) + "MapName"];
_root.menuBG._visible = false;
gotoAndStop (1);
}
Symbol 963 MovieClip Frame 1
stop();
Symbol 963 MovieClip Frame 2
doneButton.useHandCursor = false;
musicBox.useHandCursor = false;
SFXBox.useHandCursor = false;
cursorBox.useHandCursor = false;
stop();
Instance of Symbol 584 MovieClip in Symbol 963 MovieClip Frame 2
on (rollOver) {
this.useHandCursor = false;
}
Instance of Symbol 738 MovieClip "musicBox" in Symbol 963 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.musicOn == true) {
this.gotoAndStop(1);
} else if (_root.musicOn == false) {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.musicOn == true) {
this.gotoAndStop(2);
_root.musicOn = false;
_root.fade(_root.snd0, 0, 2);
} else if (_root.musicOn == false) {
this.gotoAndStop(1);
_root.musicOn = true;
_root.fade(_root.snd0, 100, 2);
}
}
Instance of Symbol 738 MovieClip "SFXBox" in Symbol 963 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.SFXOn == true) {
this.gotoAndStop(1);
} else if (_root.SFXOn == false) {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.SFXOn == true) {
this.gotoAndStop(2);
_root.SFXOn = false;
} else if (_root.SFXOn == false) {
this.gotoAndStop(1);
_root.SFXOn = true;
}
}
Instance of Symbol 738 MovieClip "cursorBox" in Symbol 963 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.cursorOn == true) {
this.gotoAndStop(1);
} else if (_root.cursorOn == false) {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.cursorOn == true) {
this.gotoAndStop(2);
Mouse.show();
_root.Pointer._visible = false;
_root.cursorOn = false;
} else if (_root.cursorOn == false) {
this.gotoAndStop(1);
Mouse.hide();
_root.Pointer._visible = true;
_root.cursorOn = true;
}
}
Symbol 963 MovieClip Frame 3
continueButton.useHandCursor = false;
stop();
Symbol 964 MovieClip Frame 1
questButton.useHandCursor = false;
classicButton.useHandCursor = false;
puzzleButton.useHandCursor = false;
solitaireButton.useHandCursor = false;
optionsButton.useHandCursor = false;
downloadButton.useHandCursor = false;
buyButton.useHandCursor = false;
_root.menuText = "\nWelcome to Mahjomino!";
stop();
Symbol 966 MovieClip Frame 1
stop();
Symbol 966 MovieClip Frame 2
stop();
Symbol 969 Button
on (release) {
if (_root.SFXOn == true) {
_root.defaultClickSnd.start(0, 1);
}
if (_root.paused == true) {
_root.paused = false;
_root.unpause();
_root.scorerestartTime();
_root.previousMC._visible = true;
_root.mahjominoTut.gotoAndStop(1);
_root._root["display" + _root.n].tiles._visible = true;
}
}
Symbol 974 MovieClip Frame 1
stop();
Symbol 974 MovieClip Frame 2
resumeButton.useHandCursor = false;
if (_root.paused == false) {
_root.paused = true;
_root._root["display" + _root.n].tiles._visible = false;
_root.pause();
_root.scorepause();
}
stop();
Instance of Symbol 584 MovieClip in Symbol 974 MovieClip Frame 2
on (rollOver) {
this.useHandCursor = false;
}
Symbol 974 MovieClip Frame 3
resumeButton.useHandCursor = false;
if (_root.paused == false) {
_root.paused = true;
_root._root["display" + _root.n].tiles._visible = false;
_root.pause();
_root.scorepause();
}
stop();
Symbol 974 MovieClip Frame 4
resumeButton.useHandCursor = false;
if (_root.paused == false) {
_root.paused = true;
_root._root["display" + _root.n].tiles._visible = false;
_root.pause();
_root.scorepause();
}
stop();
Symbol 984 MovieClip Frame 1
stop();
Symbol 984 MovieClip Frame 2
play();
Symbol 984 MovieClip Frame 61
stop();
Symbol 984 MovieClip Frame 62
play();
Symbol 984 MovieClip Frame 82
play();
Symbol 984 MovieClip Frame 122
stop();