STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228088
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/91718593?noj=FRM91718593-3DC" width="1" height="1"></div>

1295900857.swf

This is the info page for
Flash #10889

(Click the ID number above for more basic data on this flash file.)


Text
000

Sound FX Volume

music Volume

Loading

Options

Completed level 1

Next Level

BONUS SPEED ROUND

Points

time

level 1

Shuffle

000

level 2

Completed Level 2

000

level 3

Completed Level 3

000

level 4

Completed Level 4

000

level 5

Completed Level 5

000

level 6

Completed Level 6

000

level 7

Completed Level 7

000

level 8

Completed Level 8

000

level 9

Completed Level 9

000

level 10

Completed Level 10

000

Bonus Speed Round Complete!
Extra Points Awarded.

Bonus Speed Round Failed!

Bonus Speed Round

000

Game over

ActionScript [AS1/AS2]

Frame 1
fscommand ("showmenu", false);
Instance of Symbol 49 MovieClip in Frame 1
onClipEvent (load) { this.swapDepths(35555); }
Frame 2
optBlock.useHandCursor = false; optBlock._visible = false; _root.slidemusic_X = 0; _root.slidesound_X = 0; countmain = 0; countsound = 0; activate = 0; stop(); flag = new Array(); _root.subLevel = 1; _root.firstTime = 0; _root.timerSpeed = 0; gotoAndStop (4);
Frame 3
options_bt._visible = false;
Frame 4
stop();
Frame 5
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { one = null; two = null; _root.snd4.correctObj.start(0, 1); clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 50; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 1; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel1"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; count = 0; rePosition = false; _root.dbInterface.updateScore(_root.count); maxCards = 102; levelNumber = 1; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile5 = 1; cornertile6 = 1; cornertile7 = 1; cornertile11 = 1; cornertile12 = 1; cornertile15 = 1; cornertile16 = 1; cornertile18 = 1; cornertile19 = 1; cornertile22 = 1; cornertile23 = 1; cornertile25 = 1; cornertile26 = 1; cornertile30 = 1; cornertile31 = 1; cornertile33 = 1; cornertile34 = 1; cornertile35 = 1; cornertile36 = 1; cornertile42 = 1; cornertile43 = 1; cornertile44 = 1; cornertile45 = 1; cornertile47 = 1; cornertile48 = 1; cornertile52 = 1; cornertile53 = 1; cornertile55 = 1; cornertile56 = 1; cornertile59 = 1; cornertile60 = 1; cornertile62 = 1; cornertile63 = 1; cornertile66 = 1; cornertile67 = 1; cornertile71 = 1; cornertile72 = 1; cornertile73 = 1; cornertile77 = 1; cornertile78 = 1; cornertile80 = 1; cornertile81 = 1; cornertile82 = 1; cornertile83 = 1; cornertile84 = 1; cornertile86 = 1; cornertile87 = 1; cornertile88 = 1; cornertile89 = 1; cornertile90 = 1; cornertile92 = 1; cornertile93 = 1; cornertile94 = 1; cornertile95 = 1; cornertile96 = 1; cornertile98 = 1; cornertile99 = 1; cornertile100 = 1; cornertile101 = 1; cornertile102 = 1; decrement = 4;
Frame 7
if (_root.firstTime == 0) { _root.firstTime = 1; _root.snd1.musicObj.start(0, 10000); } function cardCreator() { var _local1 = this; extra = -65; xExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 5) { _local1["card" + i]._x = (xExtra + 10) + ((i - 1) * 30); _local1["card" + i]._y = extra + 135; _local1["card" + i].swapDepths(9000 + i); } if (i == 6) { _local1["card" + i]._x = (xExtra + 190) + ((i - 6) * 30); _local1["card" + i]._y = extra + 135; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 7) && (i <= 11)) { _local1["card" + i]._x = (xExtra + 250) + ((i - 7) * 30); _local1["card" + i]._y = extra + 135; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 12) && (i <= 15)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 12) * 30); _local1["card" + i]._y = extra + 179.6; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 16) && (i <= 18)) { _local1["card" + i]._x = (xExtra + 160) + ((i - 16) * 30); _local1["card" + i]._y = extra + 179.6; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 19) && (i <= 22)) { _local1["card" + i]._x = (xExtra + 280) + ((i - 19) * 30); _local1["card" + i]._y = extra + 179.6; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 23) && (i <= 25)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 23) * 30); _local1["card" + i]._y = extra + 223.4; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 26) && (i <= 30)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 26) * 30); _local1["card" + i]._y = extra + 223.4; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 31) && (i <= 33)) { _local1["card" + i]._x = (xExtra + 310) + ((i - 31) * 30); _local1["card" + i]._y = extra + 223.4; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 34) && (i <= 35)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 34) * 30); _local1["card" + i]._y = extra + 267.4; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 36) && (i <= 42)) { _local1["card" + i]._x = (xExtra + 100) + ((i - 36) * 30); _local1["card" + i]._y = extra + 267.4; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 43) && (i <= 44)) { _local1["card" + i]._x = (xExtra + 340) + ((i - 43) * 30); _local1["card" + i]._y = extra + 267.4; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 45) && (i <= 47)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 45) * 30); _local1["card" + i]._y = extra + 311.5; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 48) && (i <= 52)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 48) * 30); _local1["card" + i]._y = extra + 311.5; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 53) && (i <= 55)) { _local1["card" + i]._x = (xExtra + 310) + ((i - 53) * 30); _local1["card" + i]._y = extra + 311.5; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 56) && (i <= 59)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 56) * 30); _local1["card" + i]._y = extra + 355.6; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 60) && (i <= 62)) { _local1["card" + i]._x = (xExtra + 160) + ((i - 60) * 30); _local1["card" + i]._y = extra + 355.6; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 63) && (i <= 66)) { _local1["card" + i]._x = (xExtra + 280) + ((i - 63) * 30); _local1["card" + i]._y = extra + 355.6; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 67) && (i <= 71)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 67) * 30); _local1["card" + i]._y = extra + 399.6; _local1["card" + i].swapDepths(9000 + i); } if (i == 72) { _local1["card" + i]._x = (xExtra + 190) + ((i - 72) * 30); _local1["card" + i]._y = extra + 399.6; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 73) && (i <= 77)) { _local1["card" + i]._x = (xExtra + 250) + ((i - 73) * 30); _local1["card" + i]._y = extra + 399.6; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 78) && (i <= 80)) { _local1["card" + i]._x = (xExtra + 304) + ((i - 78) * 30); _local1["card" + i]._y = extra + 397.4; _local1["card" + i].swapDepths(9300 + i); } if ((i >= 81) && (i <= 82)) { _local1["card" + i]._x = (xExtra + 334) + ((i - 81) * 30); _local1["card" + i]._y = extra + 353.6; _local1["card" + i].swapDepths(9200 + i); } if (i == 83) { _local1["card" + i]._x = (xExtra + 364) + ((i - 83) * 30); _local1["card" + i]._y = extra + 309; _local1["card" + i].swapDepths(9100 + i); } if ((i >= 84) && (i <= 86)) { _local1["card" + i]._x = (xExtra + 306) + ((i - 84) * 30); _local1["card" + i]._y = extra + 130; _local1["card" + i].swapDepths(9300 + i); } if ((i >= 87) && (i <= 88)) { _local1["card" + i]._x = (xExtra + 336) + ((i - 87) * 30); _local1["card" + i]._y = extra + 174.6; _local1["card" + i].swapDepths(9300 + i); } if (i == 89) { _local1["card" + i]._x = (xExtra + 366) + ((i - 89) * 30); _local1["card" + i]._y = extra + 218.4; _local1["card" + i].swapDepths(9300 + i); } if ((i >= 90) && (i <= 92)) { _local1["card" + i]._x = (xExtra + 4) + ((i - 90) * 30); _local1["card" + i]._y = extra + 128; _local1["card" + i].swapDepths(9300 + i); } if ((i >= 93) && (i <= 94)) { _local1["card" + i]._x = (xExtra + 4) + ((i - 93) * 30); _local1["card" + i]._y = extra + 172.6; _local1["card" + i].swapDepths(9300 + i); } if (i == 95) { _local1["card" + i]._x = (xExtra + 4) + ((i - 95) * 30); _local1["card" + i]._y = extra + 216.4; _local1["card" + i].swapDepths(9300 + i); } if ((i >= 96) && (i <= 98)) { _local1["card" + i]._x = (xExtra + 4) + ((i - 96) * 30); _local1["card" + i]._y = extra + 393.3; _local1["card" + i].swapDepths(9300 + i); } if ((i >= 99) && (i <= 100)) { _local1["card" + i]._x = (xExtra + 4) + ((i - 99) * 30); _local1["card" + i]._y = extra + 349.3; _local1["card" + i].swapDepths(9200 + i); } if (i == 101) { _local1["card" + i]._x = (xExtra + 4) + ((i - 101) * 30); _local1["card" + i]._y = extra + 304.9; _local1["card" + i].swapDepths(9100 + i); } if (i == 102) { _local1["card" + i]._x = (xExtra + 186) + ((i - 102) * 30); _local1["card" + i]._y = extra + 262; _local1["card" + i].swapDepths(9700 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 4) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 8) && (i <= 10)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 13) && (i <= 14)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 17) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 20) && (i <= 21)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 24) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 27) && (i <= 29)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 32) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 37) && (i <= 41)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 46) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 49) && (i <= 51)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 54) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 57) && (i <= 58)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 61) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 64) && (i <= 65)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 68) && (i <= 70)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 74) && (i <= 76)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 79) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 85) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 91) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 97) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } function shuffleCard() { var _local1 = this; _root.snd7.shuffleObj.start(0, 1); tileCurrentFrame = new Array(); i = 1; while (i <= maxCards) { flag[i] = 0; i++; } i = 1; while (i <= maxCards) { tileCurrentFrame[i] = _local1["card" + i]._currentframe; i++; } cardsRemoved = 0; j = 1; while (j <= maxCards) { if (_local1["card" + j]._currentframe != undefined) { swapRandom = undefined; while (tileCurrentFrame[swapRandom] == undefined) { swapRandom = Randomgenerator(); if (tileCurrentFrame[swapRandom] != undefined) { _local1["card" + j].gotoAndStop(tileCurrentFrame[swapRandom]); } } } else { cardsRemoved++; } j++; } if (((maxCards - cardsRemoved) == 4) || ((maxCards - cardsRemoved) < 4)) { cardReposition(); } } function cardReposition() { var _local1 = this; var _local2 = 0; i = 1; while (i <= maxCards) { if (_local1["card" + i]._currentframe != undefined) { _local1["card" + i]._x = (xExtra + 120) + (_local2 * 60); _local1["card" + i]._y = 250 - yAdjust; _local1["card" + i].swapDepths(1000 + _local2); Set(["cornertile" + i], 1); rePosition = true; _local2++; } i++; } } function Randomgenerator() { ran = random(maxCards) + 1; if (flag[ran] == 0) { flag[ran] = 1; return(ran); } i = 1; while (i <= maxCards) { if (flag[i] == 0) { flag[i] = 1; return(i); } i++; } } stop(); cardCreator(); cornertile(); var cardsRemoved = 0;
Instance of Symbol 83 MovieClip "timer" in Frame 7
onClipEvent (load) { once = 0; temptimerX = this._x; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.05); temptimerX = this._x; if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 15
trace(options_bt._visible); options_bt._visible = false; trace(options_bt._visible);
Frame 17
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 100; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 2; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel2"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 122; rePosition = false; levelNumber = 2; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile16 = 1; cornertile17 = 1; cornertile32 = 1; cornertile33 = 1; cornertile48 = 1; cornertile49 = 1; cornertile58 = 1; cornertile59 = 1; cornertile64 = 1; cornertile65 = 1; cornertile67 = 1; cornertile68 = 1; cornertile70 = 1; cornertile71 = 1; cornertile78 = 1; cornertile79 = 1; cornertile90 = 1; cornertile91 = 1; cornertile104 = 1; cornertile105 = 1; cornertile108 = 1; cornertile109 = 1; cornertile114 = 1; cornertile115 = 1; cornertile122 = 1; decrement = 4;
Frame 20
function cardCreator() { var _local1 = this; extra = -65; XExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 16) { _local1["card" + i]._x = (XExtra + -30) + ((i - 1) * 30); _local1["card" + i]._y = (extra + 350) - yAdjust; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 17) && (i <= 32)) { _local1["card" + i]._x = (XExtra + -30) + ((i - 17) * 30); _local1["card" + i]._y = extra + 298; _local1["card" + i].swapDepths(9500 + i); } if ((i >= 33) && (i <= 48)) { _local1["card" + i]._x = (XExtra + -30) + ((i - 33) * 30); _local1["card" + i]._y = extra + 253; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 49) && (i <= 58)) { _local1["card" + i]._x = (XExtra + 60) + ((i - 49) * 30); _local1["card" + i]._y = extra + 208; _local1["card" + i].swapDepths(8500 + i); } if ((i >= 59) && (i <= 64)) { _local1["card" + i]._x = (XExtra + 120) + ((i - 59) * 30); _local1["card" + i]._y = extra + 164; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 65) && (i <= 67)) { _local1["card" + i]._x = (XExtra + 30) + ((i - 65) * 30); _local1["card" + i]._y = extra + 388; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 68) && (i <= 70)) { _local1["card" + i]._x = (XExtra + 300) + ((i - 68) * 30); _local1["card" + i]._y = extra + 388; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 71) && (i <= 78)) { _local1["card" + i]._x = (XExtra + 86) + ((i - 71) * 30); _local1["card" + i]._y = extra + 202; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 79) && (i <= 90)) { _local1["card" + i]._x = (XExtra + 24) + ((i - 79) * 30); _local1["card" + i]._y = extra + 247; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 91) && (i <= 104)) { _local1["card" + i]._x = (XExtra + -5) + ((i - 91) * 30); _local1["card" + i]._y = extra + 292; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 105) && (i <= 108)) { _local1["card" + i]._x = (XExtra + 140) + ((i - 105) * 30); _local1["card" + i]._y = extra + 196; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 109) && (i <= 114)) { _local1["card" + i]._x = (XExtra + 110) + ((i - 109) * 30); _local1["card" + i]._y = extra + 241; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 115) && (i <= 122)) { _local1["card" + i]._x = (XExtra + 80) + ((i - 115) * 30); _local1["card" + i]._y = extra + 286; _local1["card" + i].swapDepths(11000 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 15) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 18) && (i <= 31)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 34) && (i <= 47)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 50) && (i <= 57)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 60) && (i <= 63)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 66) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 69) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 72) && (i <= 77)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 80) && (i <= 89)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 92) && (i <= 103)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 106) && (i <= 107)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 110) && (i <= 113)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 116) && (i <= 121)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); cardCreator(); cornertile();
Instance of Symbol 161 MovieClip "timer" in Frame 20
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.05); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 27
options_bt._visible = false;
Frame 29
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 150; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 3; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel3"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 134; rePosition = false; levelNumber = 3; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile12 = 1; cornertile13 = 1; cornertile22 = 1; cornertile23 = 1; cornertile30 = 1; cornertile31 = 1; cornertile36 = 1; cornertile37 = 1; cornertile40 = 1; cornertile41 = 1; cornertile42 = 1; cornertile43 = 1; cornertile54 = 1; cornertile55 = 1; cornertile57 = 1; cornertile58 = 1; cornertile59 = 1; cornertile60 = 1; cornertile62 = 1; cornertile63 = 1; cornertile64 = 1; cornertile65 = 1; cornertile76 = 1; cornertile77 = 1; cornertile86 = 1; cornertile87 = 1; cornertile94 = 1; cornertile95 = 1; cornertile100 = 1; cornertile101 = 1; cornertile104 = 1; cornertile105 = 1; cornertile106 = 1; cornertile107 = 1; cornertile118 = 1; cornertile119 = 1; cornertile120 = 1; cornertile121 = 1; cornertile122 = 1; cornertile123 = 1; cornertile125 = 1; cornertile126 = 1; cornertile129 = 1; cornertile130 = 1; cornertile134 = 1; decrement = 4;
Frame 32
function cardCreator() { var _local1 = this; xExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 12) { _local1["card" + i]._x = (xExtra + 40) + ((i - 1) * 30); _local1["card" + i]._y = tilePos; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 13) && (i <= 22)) { _local1["card" + i]._x = (xExtra + 70) + ((i - 13) * 30); _local1["card" + i]._y = tilePos - tileHeight; _local1["card" + i].swapDepths(7800 + i); } if ((i >= 23) && (i <= 30)) { _local1["card" + i]._x = (xExtra + 100) + ((i - 23) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 2); _local1["card" + i].swapDepths(7600 + i); } if ((i >= 31) && (i <= 36)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 31) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 3); _local1["card" + i].swapDepths(7400 + i); } if ((i >= 37) && (i <= 40)) { _local1["card" + i]._x = (xExtra + 160) + ((i - 37) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 4); _local1["card" + i].swapDepths(7200 + i); } if ((i >= 41) && (i <= 42)) { _local1["card" + i]._x = (xExtra + 190) + ((i - 41) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 5); _local1["card" + i].swapDepths(7100 + i); } if ((i >= 43) && (i <= 54)) { _local1["card" + i]._x = (xExtra + 40) + ((i - 43) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 6); _local1["card" + i].swapDepths(7000 + i); } if ((i >= 55) && (i <= 57)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 55) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 5); _local1["card" + i].swapDepths(7000 + i); } if ((i >= 58) && (i <= 59)) { _local1["card" + i]._x = (xExtra + 20) + ((i - 58) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 4); _local1["card" + i].swapDepths(7000 + i); } if ((i >= 60) && (i <= 62)) { _local1["card" + i]._x = (xExtra + 340) + ((i - 60) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 5); _local1["card" + i].swapDepths(7000 + i); } if ((i >= 63) && (i <= 64)) { _local1["card" + i]._x = (xExtra + 360) + ((i - 63) * 30); _local1["card" + i]._y = tilePos - (tileHeight * 4); _local1["card" + i].swapDepths(7000 + i); } if ((i >= 65) && (i <= 76)) { _local1["card" + i]._x = (xExtra + 36) + ((i - 65) * 30); _local1["card" + i]._y = tileTopPos; _local1["card" + i].swapDepths(12000 + i); } if ((i >= 77) && (i <= 86)) { _local1["card" + i]._x = (xExtra + 66) + ((i - 77) * 30); _local1["card" + i]._y = tileTopPos - tileHeight; _local1["card" + i].swapDepths(11800 + i); } if ((i >= 87) && (i <= 94)) { _local1["card" + i]._x = (xExtra + 96) + ((i - 87) * 30); _local1["card" + i]._y = tileTopPos - (tileHeight * 2); _local1["card" + i].swapDepths(11600 + i); } if ((i >= 95) && (i <= 100)) { _local1["card" + i]._x = (xExtra + 126) + ((i - 95) * 30); _local1["card" + i]._y = tileTopPos - (tileHeight * 3); _local1["card" + i].swapDepths(11400 + i); } if ((i >= 101) && (i <= 104)) { _local1["card" + i]._x = (xExtra + 156) + ((i - 101) * 30); _local1["card" + i]._y = tileTopPos - (tileHeight * 4); _local1["card" + i].swapDepths(11200 + i); } if ((i >= 105) && (i <= 106)) { _local1["card" + i]._x = (xExtra + 186) + ((i - 105) * 30); _local1["card" + i]._y = tileTopPos - (tileHeight * 5); _local1["card" + i].swapDepths(11100 + i); } if ((i >= 107) && (i <= 118)) { _local1["card" + i]._x = (xExtra + 36) + ((i - 107) * 30); _local1["card" + i]._y = tileTopPos - (tileHeight * 6); _local1["card" + i].swapDepths(11000 + i); } if ((i >= 119) && (i <= 120)) { _local1["card" + i]._x = (xExtra + 6) + ((i - 119) * 30); _local1["card" + i]._y = (tileTopPos - (tileHeight * 5)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 121) && (i <= 122)) { _local1["card" + i]._x = (xExtra + 16) + ((i - 121) * 30); _local1["card" + i]._y = (tileTopPos - (tileHeight * 4)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 123) && (i <= 125)) { _local1["card" + i]._x = (xExtra + 336) + ((i - 123) * 30); _local1["card" + i]._y = (tileTopPos - (tileHeight * 5)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 126) && (i <= 129)) { _local1["card" + i]._x = (xExtra + 150) + ((i - 126) * 30); _local1["card" + i]._y = (tileTopPos - (tileHeight * 2)) - 6; _local1["card" + i].swapDepths(13000 + i); } if ((i >= 130) && (i <= 134)) { _local1["card" + i]._x = (xExtra + 150) + ((i - 130) * 30); _local1["card" + i]._y = (tileTopPos - (tileHeight * 1)) - 6; _local1["card" + i].swapDepths(13000 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 11) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 14) && (i <= 21)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 24) && (i <= 29)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 32) && (i <= 35)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 38) && (i <= 39)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 44) && (i <= 53)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 56) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 61) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 66) && (i <= 75)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 78) && (i <= 85)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 88) && (i <= 93)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 96) && (i <= 99)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 102) && (i <= 103)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 108) && (i <= 117)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 124) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 127) && (i <= 128)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 131) && (i <= 133)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); tileHeight = 44; tilePos = 340.4; tileTopPos = 335.4; cardCreator(); cornertile();
Instance of Symbol 176 MovieClip "timer" in Frame 32
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.05); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 39
options_bt._visible = false;
Frame 41
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 200; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 4; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel4"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 126; rePosition = false; levelNumber = 4; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile12 = 1; cornertile13 = 1; cornertile24 = 1; cornertile25 = 1; cornertile36 = 1; cornertile37 = 1; cornertile48 = 1; cornertile49 = 1; cornertile60 = 1; cornertile61 = 1; cornertile72 = 1; cornertile73 = 1; cornertile84 = 1; cornertile85 = 1; cornertile92 = 1; cornertile93 = 1; cornertile98 = 1; cornertile99 = 1; cornertile102 = 1; cornertile103 = 1; cornertile110 = 1; cornertile111 = 1; cornertile122 = 1; cornertile123 = 1; cornertile124 = 1; cornertile125 = 1; cornertile126 = 1; decrement = 4;
Frame 44
function cardCreator() { var _local1 = this; extra = -65; xExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 12) { _local1["card" + i]._x = (xExtra + 0) + ((i - 1) * 30); _local1["card" + i]._y = (extra + 145) - yAdjust; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 13) && (i <= 24)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 13) * 30); _local1["card" + i]._y = extra + 183.1; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 25) && (i <= 36)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 25) * 30); _local1["card" + i]._y = extra + 228; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 37) && (i <= 48)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 37) * 30); _local1["card" + i]._y = extra + 273; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 49) && (i <= 60)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 49) * 30); _local1["card" + i]._y = extra + 318; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 61) && (i <= 72)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 61) * 30); _local1["card" + i]._y = extra + 363; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 73) && (i <= 84)) { _local1["card" + i]._x = (xExtra + -5) + ((i - 73) * 30); _local1["card" + i]._y = (extra + 140) - yAdjust; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 85) && (i <= 92)) { _local1["card" + i]._x = (xExtra + 52) + ((i - 85) * 30); _local1["card" + i]._y = extra + 178.1; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 93) && (i <= 98)) { _local1["card" + i]._x = (xExtra + 82) + ((i - 93) * 30); _local1["card" + i]._y = extra + 223; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 99) && (i <= 102)) { _local1["card" + i]._x = (xExtra + 112) + ((i - 99) * 30); _local1["card" + i]._y = extra + 268; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 103) && (i <= 110)) { _local1["card" + i]._x = (xExtra + 54) + ((i - 103) * 30); _local1["card" + i]._y = extra + 313.4; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 111) && (i <= 122)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 111) * 30); _local1["card" + i]._y = extra + 358; _local1["card" + i].swapDepths(11000 + i); } if (i == 123) { _local1["card" + i]._x = xExtra + 370; _local1["card" + i]._y = extra + 370; _local1["card" + i].swapDepths(11000 + i); } if (i == 124) { _local1["card" + i]._x = xExtra + 408; _local1["card" + i]._y = extra + 400; _local1["card" + i].swapDepths(11000 + i); } if (i == 125) { _local1["card" + i]._x = xExtra + 448; _local1["card" + i]._y = extra + 400; _local1["card" + i].swapDepths(10000 + i); } if (i == 126) { _local1["card" + i]._x = xExtra + 448; _local1["card" + i]._y = extra + 400; _local1["card" + i].swapDepths(11000 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 11) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 14) && (i <= 23)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 26) && (i <= 35)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 38) && (i <= 47)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 50) && (i <= 59)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 62) && (i <= 71)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 74) && (i <= 83)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 86) && (i <= 91)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 94) && (i <= 97)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 100) && (i <= 101)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 104) && (i <= 109)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 112) && (i <= 121)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); cardCreator(); cornertile();
Instance of Symbol 189 MovieClip "timer" in Frame 44
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.1); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 51
options_bt._visible = false;
Frame 53
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 250; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 451)) { levelNumber = 5; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel5"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 138; rePosition = false; levelNumber = 5; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile4 = 1; cornertile5 = 1; cornertile6 = 1; cornertile9 = 1; cornertile10 = 1; cornertile13 = 1; cornertile14 = 1; cornertile16 = 1; cornertile17 = 1; cornertile20 = 1; cornertile21 = 1; cornertile22 = 1; cornertile32 = 1; cornertile33 = 1; cornertile34 = 1; cornertile44 = 1; cornertile45 = 1; cornertile48 = 1; cornertile49 = 1; cornertile51 = 1; cornertile52 = 1; cornertile55 = 1; cornertile56 = 1; cornertile59 = 1; cornertile60 = 1; cornertile62 = 1; cornertile63 = 1; cornertile66 = 1; cornertile67 = 1; cornertile69 = 1; cornertile70 = 1; cornertile71 = 1; cornertile72 = 1; cornertile74 = 1; cornertile75 = 1; cornertile78 = 1; cornertile79 = 1; cornertile82 = 1; cornertile83 = 1; cornertile86 = 1; cornertile87 = 1; cornertile90 = 1; cornertile91 = 1; cornertile94 = 1; cornertile95 = 1; cornertile98 = 1; cornertile99 = 1; cornertile102 = 1; cornertile103 = 1; cornertile106 = 1; cornertile107 = 1; cornertile110 = 1; cornertile111 = 1; cornertile114 = 1; cornertile115 = 1; cornertile118 = 1; cornertile119 = 1; cornertile122 = 1; cornertile123 = 1; cornertile125 = 1; cornertile126 = 1; cornertile128 = 1; cornertile129 = 1; cornertile130 = 1; cornertile131 = 1; cornertile132 = 1; cornertile133 = 1; cornertile134 = 1; cornertile135 = 1; cornertile136 = 1; cornertile137 = 1; cornertile138 = 1; decrement = 4;
Frame 56
function cardCreator() { var _local1 = this; xExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 4) { _local1["card" + i]._x = (xExtra + -20) + ((i - 1) * 30); _local1["card" + i]._y = tilePos; _local1["card" + i].swapDepths(8000 + i); } if (i == 5) { _local1["card" + i]._x = (xExtra + 190) + ((i - 5) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8200 + i); } if ((i >= 6) && (i <= 9)) { _local1["card" + i]._x = (xExtra + 310) + ((i - 6) * 30); _local1["card" + i]._y = tilePos; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 10) && (i <= 13)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 10) * 30); _local1["card" + i]._y = tilePos + tileHeight; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 14) && (i <= 16)) { _local1["card" + i]._x = (xExtra + 160) + ((i - 14) * 30); _local1["card" + i]._y = tilePos + tileHeight; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 17) && (i <= 20)) { _local1["card" + i]._x = (xExtra + 280) + ((i - 17) * 30); _local1["card" + i]._y = tilePos + tileHeight; _local1["card" + i].swapDepths(8000 + i); } if (i == 21) { _local1["card" + i]._x = (xExtra + 10) + ((i - 21) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) + 20; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 22) && (i <= 32)) { _local1["card" + i]._x = (xExtra + 40) + ((i - 22) * 30); _local1["card" + i]._y = tilePos + (tileHeight * 2); _local1["card" + i].swapDepths(8000 + i); } if (i == 33) { _local1["card" + i]._x = (xExtra + 370) + ((i - 33) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) + 20; _local1["card" + i].swapDepths(8200 + i); } if ((i >= 34) && (i <= 44)) { _local1["card" + i]._x = (xExtra + 40) + ((i - 34) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 45) && (i <= 48)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 45) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) - 1.2; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 49) && (i <= 51)) { _local1["card" + i]._x = (xExtra + 160) + ((i - 49) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) - 1.2; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 52) && (i <= 55)) { _local1["card" + i]._x = (xExtra + 280) + ((i - 52) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) - 1.2; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 56) && (i <= 59)) { _local1["card" + i]._x = (xExtra + -20) + ((i - 56) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 1.2; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 60) && (i <= 62)) { _local1["card" + i]._x = (xExtra + 160) + ((i - 60) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 1.2; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 63) && (i <= 66)) { _local1["card" + i]._x = (xExtra + 310) + ((i - 63) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 1.2; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 67) && (i <= 69)) { _local1["card" + i]._x = (xExtra + -20) + ((i - 67) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 70) && (i <= 71)) { _local1["card" + i]._x = (xExtra + 180) + ((i - 70) * 30); _local1["card" + i]._y = tilePos; _local1["card" + i].swapDepths(7800 + i); } if ((i >= 72) && (i <= 74)) { _local1["card" + i]._x = (xExtra + 340) + ((i - 72) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 75) && (i <= 78)) { _local1["card" + i]._x = (xExtra + -25) + ((i - 75) * 30); _local1["card" + i]._y = tileTopPos; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 79) && (i <= 82)) { _local1["card" + i]._x = (xExtra + 305) + ((i - 79) * 30); _local1["card" + i]._y = tileTopPos; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 83) && (i <= 86)) { _local1["card" + i]._x = (xExtra + 5) + ((i - 83) * 30); _local1["card" + i]._y = tileTopPos + tileHeight; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 87) && (i <= 90)) { _local1["card" + i]._x = (xExtra + 275) + ((i - 87) * 30); _local1["card" + i]._y = tileTopPos + tileHeight; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 91) && (i <= 94)) { _local1["card" + i]._x = (xExtra + 35) + ((i - 91) * 30); _local1["card" + i]._y = tileTopPos + (tileHeight * 2); _local1["card" + i].swapDepths(8600 + i); } if ((i >= 95) && (i <= 98)) { _local1["card" + i]._x = (xExtra + 245) + ((i - 95) * 30); _local1["card" + i]._y = tileTopPos + (tileHeight * 2); _local1["card" + i].swapDepths(8600 + i); } if ((i >= 99) && (i <= 102)) { _local1["card" + i]._x = (xExtra + 35) + ((i - 99) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 103) && (i <= 106)) { _local1["card" + i]._x = (xExtra + 245) + ((i - 103) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 107) && (i <= 110)) { _local1["card" + i]._x = (xExtra + 5) + ((i - 107) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 4)) - 1.2; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 111) && (i <= 114)) { _local1["card" + i]._x = (xExtra + 275) + ((i - 111) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 4)) - 1.2; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 115) && (i <= 118)) { _local1["card" + i]._x = (xExtra + -25) + ((i - 115) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 5)) - 1.2; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 119) && (i <= 122)) { _local1["card" + i]._x = (xExtra + 305) + ((i - 119) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 5)) - 1.2; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 123) && (i <= 125)) { _local1["card" + i]._x = (xExtra + -25) + ((i - 123) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 126) && (i <= 128)) { _local1["card" + i]._x = (xExtra + 335) + ((i - 126) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 129) && (i <= 130)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 129) * 30); _local1["card" + i]._y = tileTopPos1 + tileHeight; _local1["card" + i].swapDepths(8700 + i); } if (i == 131) { _local1["card" + i]._x = (xExtra + 60) + ((i - 131) * 30); _local1["card" + i]._y = tileTopPos1 + (tileHeight * 3); _local1["card" + i].swapDepths(8700 + i); } if ((i >= 132) && (i <= 133)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 132) * 30); _local1["card" + i]._y = tileTopPos1 + (tileHeight * 5); _local1["card" + i].swapDepths(8700 + i); } if ((i >= 134) && (i <= 135)) { _local1["card" + i]._x = (xExtra + 330) + ((i - 134) * 30); _local1["card" + i]._y = tileTopPos1 + tileHeight; _local1["card" + i].swapDepths(8700 + i); } if (i == 136) { _local1["card" + i]._x = (xExtra + 300) + ((i - 136) * 30); _local1["card" + i]._y = tileTopPos1 + (tileHeight * 3); _local1["card" + i].swapDepths(8700 + i); } if ((i >= 137) && (i <= 138)) { _local1["card" + i]._x = (xExtra + 360) + ((i - 137) * 30); _local1["card" + i]._y = tileTopPos1 + (tileHeight * 5); _local1["card" + i].swapDepths(8700 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 3) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 7) && (i <= 8)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 11) && (i <= 12)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 15) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 18) && (i <= 19)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 23) && (i <= 31)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 35) && (i <= 43)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 46) && (i <= 47)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 50) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 53) && (i <= 54)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 57) && (i <= 58)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 61) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 64) && (i <= 65)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 68) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 73) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 76) && (i <= 77)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 80) && (i <= 81)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 84) && (i <= 85)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 88) && (i <= 89)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 92) && (i <= 93)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 96) && (i <= 97)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 100) && (i <= 101)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 104) && (i <= 105)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 108) && (i <= 109)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 112) && (i <= 113)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 116) && (i <= 117)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 120) && (i <= 121)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 124) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 127) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); tileHeight = 44.4; tilePos = 70; tileTopPos = 65; tileTopPos1 = 60; cardCreator(); cornertile();
Instance of Symbol 202 MovieClip "timer" in Frame 56
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.1); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 63
options_bt._visible = false;
Frame 65
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 300; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 6; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel6"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 128; rePosition = false; levelNumber = 6; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile12 = 1; cornertile13 = 1; cornertile16 = 1; cornertile17 = 1; cornertile22 = 1; cornertile23 = 1; cornertile28 = 1; cornertile29 = 1; cornertile34 = 1; cornertile35 = 1; cornertile48 = 1; cornertile49 = 1; cornertile62 = 1; cornertile63 = 1; cornertile66 = 1; cornertile67 = 1; cornertile70 = 1; cornertile71 = 1; cornertile74 = 1; cornertile75 = 1; cornertile78 = 1; cornertile79 = 1; cornertile80 = 1; cornertile81 = 1; cornertile82 = 1; cornertile83 = 1; cornertile84 = 1; cornertile85 = 1; cornertile86 = 1; cornertile87 = 1; cornertile96 = 1; cornertile97 = 1; cornertile106 = 1; cornertile107 = 1; cornertile110 = 1; cornertile111 = 1; cornertile114 = 1; cornertile115 = 1; cornertile118 = 1; cornertile119 = 1; cornertile126 = 1; cornertile127 = 1; cornertile128 = 1; decrement = 4;
Frame 68
function cardCreator() { var _local1 = this; extra = -65; xExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 12) { _local1["card" + i]._x = (xExtra + 40) + ((i - 1) * 30); _local1["card" + i]._y = (extra + 180) - yAdjust; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 13) && (i <= 16)) { _local1["card" + i]._x = (xExtra + 160) + ((i - 13) * 30); _local1["card" + i]._y = extra + 130; _local1["card" + i].swapDepths(9500 + i); } if ((i >= 17) && (i <= 22)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 17) * 30); _local1["card" + i]._y = extra + 218; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 23) && (i <= 28)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 23) * 30); _local1["card" + i]._y = extra + 263; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 29) && (i <= 34)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 29) * 30); _local1["card" + i]._y = extra + 308; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 35) && (i <= 48)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 35) * 30); _local1["card" + i]._y = extra + 353; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 49) && (i <= 62)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 49) * 30); _local1["card" + i]._y = extra + 398; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 63) && (i <= 66)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 63) * 30); _local1["card" + i]._y = extra + 238; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 67) && (i <= 70)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 67) * 30); _local1["card" + i]._y = extra + 283; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 71) && (i <= 74)) { _local1["card" + i]._x = (xExtra + 350) + ((i - 71) * 30); _local1["card" + i]._y = extra + 238; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 75) && (i <= 78)) { _local1["card" + i]._x = (xExtra + 350) + ((i - 75) * 30); _local1["card" + i]._y = extra + 283; _local1["card" + i].swapDepths(9000 + i); } if ((i >= 79) && (i <= 80)) { _local1["card" + i]._x = (xExtra + -4) + ((i - 79) * 30); _local1["card" + i]._y = extra + 232; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 81) && (i <= 82)) { _local1["card" + i]._x = (xExtra + -4) + ((i - 81) * 30); _local1["card" + i]._y = extra + 277; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 83) && (i <= 84)) { _local1["card" + i]._x = (xExtra + 376) + ((i - 83) * 30); _local1["card" + i]._y = extra + 232; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 85) && (i <= 86)) { _local1["card" + i]._x = (xExtra + 376) + ((i - 85) * 30); _local1["card" + i]._y = extra + 277; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 87) && (i <= 96)) { _local1["card" + i]._x = (xExtra + 65) + ((i - 87) * 30); _local1["card" + i]._y = extra + 345; _local1["card" + i].swapDepths(12000 + i); } if ((i >= 97) && (i <= 106)) { _local1["card" + i]._x = (xExtra + 65) + ((i - 97) * 30); _local1["card" + i]._y = extra + 390; _local1["card" + i].swapDepths(12000 + i); } if ((i >= 107) && (i <= 110)) { _local1["card" + i]._x = (xExtra + 156) + ((i - 107) * 30); _local1["card" + i]._y = extra + 210; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 111) && (i <= 114)) { _local1["card" + i]._x = (xExtra + 156) + ((i - 111) * 30); _local1["card" + i]._y = extra + 255; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 115) && (i <= 118)) { _local1["card" + i]._x = (xExtra + 156) + ((i - 115) * 30); _local1["card" + i]._y = extra + 300; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 119) && (i <= 126)) { _local1["card" + i]._x = (xExtra + 96) + ((i - 119) * 30); _local1["card" + i]._y = extra + 165; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 127) && (i <= 128)) { _local1["card" + i]._x = (xExtra + 186) + ((i - 127) * 30); _local1["card" + i]._y = extra + 120; _local1["card" + i].swapDepths(9600 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 11) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 14) && (i <= 15)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 18) && (i <= 21)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 24) && (i <= 27)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 30) && (i <= 33)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 36) && (i <= 47)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 50) && (i <= 61)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 64) && (i <= 65)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 68) && (i <= 69)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 72) && (i <= 73)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 76) && (i <= 77)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 88) && (i <= 95)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 98) && (i <= 105)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 108) && (i <= 109)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 112) && (i <= 113)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 116) && (i <= 117)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 120) && (i <= 125)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); cardCreator(); cornertile();
Instance of Symbol 215 MovieClip "timer" in Frame 68
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.1); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 75
options_bt._visible = false;
Frame 77
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 350; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 7; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel7"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 174; rePosition = false; levelNumber = 7; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile16 = 1; cornertile17 = 1; cornertile30 = 1; cornertile31 = 1; cornertile42 = 1; cornertile43 = 1; cornertile52 = 1; cornertile53 = 1; cornertile66 = 1; cornertile67 = 1; cornertile78 = 1; cornertile79 = 1; cornertile88 = 1; cornertile89 = 1; cornertile98 = 1; cornertile99 = 1; cornertile110 = 1; cornertile111 = 1; cornertile124 = 1; cornertile125 = 1; cornertile136 = 1; cornertile137 = 1; cornertile146 = 1; cornertile147 = 1; cornertile150 = 1; cornertile151 = 1; cornertile154 = 1; cornertile155 = 1; cornertile158 = 1; cornertile159 = 1; cornertile162 = 1; cornertile163 = 1; cornertile166 = 1; cornertile167 = 1; cornertile170 = 1; cornertile171 = 1; cornertile172 = 1; cornertile173 = 1; cornertile174 = 1; decrement = 4;
Frame 80
function cardCreator() { var _local1 = this; extra = -65; xExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 16) { _local1["card" + i]._x = (xExtra + -20) + ((i - 1) * 30); _local1["card" + i]._y = (extra + 280) - yAdjust; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 17) && (i <= 30)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 17) * 30); _local1["card" + i]._y = extra + 317.6; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 31) && (i <= 42)) { _local1["card" + i]._x = (xExtra + 40) + ((i - 31) * 30); _local1["card" + i]._y = extra + 361.4; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 43) && (i <= 52)) { _local1["card" + i]._x = (xExtra + 70) + ((i - 43) * 30); _local1["card" + i]._y = extra + 405.6; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 53) && (i <= 66)) { _local1["card" + i]._x = (xExtra + 10) + ((i - 53) * 30); _local1["card" + i]._y = extra + 229.6; _local1["card" + i].swapDepths(10500 + i); } if ((i >= 67) && (i <= 78)) { _local1["card" + i]._x = (xExtra + 40) + ((i - 67) * 30); _local1["card" + i]._y = extra + 185; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 79) && (i <= 88)) { _local1["card" + i]._x = (xExtra + 70) + ((i - 79) * 30); _local1["card" + i]._y = extra + 140.9; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 89) && (i <= 98)) { _local1["card" + i]._x = (xExtra + 64) + ((i - 89) * 30); _local1["card" + i]._y = extra + 178; _local1["card" + i].swapDepths(11200 + i); } if ((i >= 99) && (i <= 110)) { _local1["card" + i]._x = (xExtra + 34) + ((i - 99) * 30); _local1["card" + i]._y = extra + 222.6; _local1["card" + i].swapDepths(11200 + i); } if ((i >= 111) && (i <= 124)) { _local1["card" + i]._x = (xExtra + 4) + ((i - 111) * 30); _local1["card" + i]._y = extra + 266.6; _local1["card" + i].swapDepths(11200 + i); } if ((i >= 125) && (i <= 136)) { _local1["card" + i]._x = (xExtra + 34) + ((i - 125) * 30); _local1["card" + i]._y = extra + 310.6; _local1["card" + i].swapDepths(11200 + i); } if ((i >= 137) && (i <= 146)) { _local1["card" + i]._x = (xExtra + 64) + ((i - 137) * 30); _local1["card" + i]._y = extra + 354.6; _local1["card" + i].swapDepths(11200 + i); } if ((i >= 147) && (i <= 150)) { _local1["card" + i]._x = (xExtra + 60) + ((i - 147) * 30); _local1["card" + i]._y = extra + 216; _local1["card" + i].swapDepths(11400 + i); } if ((i >= 151) && (i <= 154)) { _local1["card" + i]._x = (xExtra + 60) + ((i - 151) * 30); _local1["card" + i]._y = extra + 260.6; _local1["card" + i].swapDepths(11400 + i); } if ((i >= 155) && (i <= 158)) { _local1["card" + i]._x = (xExtra + 60) + ((i - 155) * 30); _local1["card" + i]._y = extra + 304.7; _local1["card" + i].swapDepths(11400 + i); } if ((i >= 159) && (i <= 162)) { _local1["card" + i]._x = (xExtra + 238) + ((i - 159) * 30); _local1["card" + i]._y = extra + 216; _local1["card" + i].swapDepths(11300 + i); } if ((i >= 163) && (i <= 166)) { _local1["card" + i]._x = (xExtra + 238) + ((i - 163) * 30); _local1["card" + i]._y = extra + 260.6; _local1["card" + i].swapDepths(11300 + i); } if ((i >= 167) && (i <= 170)) { _local1["card" + i]._x = (xExtra + 238) + ((i - 167) * 30); _local1["card" + i]._y = extra + 304.7; _local1["card" + i].swapDepths(11300 + i); } if ((i >= 171) && (i <= 172)) { _local1["card" + i]._x = (xExtra + 84) + ((i - 171) * 30); _local1["card" + i]._y = extra + 253; _local1["card" + i].swapDepths(11500 + i); } if ((i >= 173) && (i <= 174)) { _local1["card" + i]._x = (xExtra + 264) + ((i - 173) * 30); _local1["card" + i]._y = extra + 253; _local1["card" + i].swapDepths(11500 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 15) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 18) && (i <= 29)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 32) && (i <= 41)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 44) && (i <= 51)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 54) && (i <= 65)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 68) && (i <= 77)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 80) && (i <= 87)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 90) && (i <= 97)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 100) && (i <= 109)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 112) && (i <= 123)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 126) && (i <= 135)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 138) && (i <= 145)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 148) && (i <= 149)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 152) && (i <= 153)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 156) && (i <= 157)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 160) && (i <= 161)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 164) && (i <= 165)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 168) && (i <= 169)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); cardCreator(); cornertile();
Instance of Symbol 228 MovieClip "timer" in Frame 80
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.15); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 86
options_bt._visible = false; stop();
Frame 88
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 400; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 451)) { levelNumber = 8; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel8"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 200; rePosition = false; levelNumber = 8; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile14 = 1; cornertile15 = 1; cornertile28 = 1; cornertile29 = 1; cornertile42 = 1; cornertile43 = 1; cornertile56 = 1; cornertile57 = 1; cornertile70 = 1; cornertile71 = 1; cornertile84 = 1; cornertile85 = 1; cornertile98 = 1; cornertile99 = 1; cornertile110 = 1; cornertile111 = 1; cornertile122 = 1; cornertile123 = 1; cornertile134 = 1; cornertile135 = 1; cornertile146 = 1; cornertile147 = 1; cornertile158 = 1; cornertile159 = 1; cornertile168 = 1; cornertile169 = 1; cornertile178 = 1; cornertile179 = 1; cornertile188 = 1; cornertile189 = 1; cornertile192 = 1; cornertile193 = 1; cornertile196 = 1; cornertile197 = 1; cornertile200 = 1; decrement = 4;
Frame 91
function cardCreator() { var _local1 = this; extra = -65; xExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 14) { _local1["card" + i]._x = (xExtra + 0) + ((i - 1) * 30); _local1["card" + i]._y = (extra + 145) - yAdjust; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 15) && (i <= 28)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 15) * 30); _local1["card" + i]._y = extra + 183.1; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 29) && (i <= 42)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 29) * 30); _local1["card" + i]._y = extra + 228; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 43) && (i <= 56)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 43) * 30); _local1["card" + i]._y = extra + 273; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 57) && (i <= 70)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 57) * 30); _local1["card" + i]._y = extra + 318; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 71) && (i <= 84)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 71) * 30); _local1["card" + i]._y = extra + 363; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 85) && (i <= 98)) { _local1["card" + i]._x = (xExtra + 0) + ((i - 85) * 30); _local1["card" + i]._y = extra + 408; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 99) && (i <= 110)) { _local1["card" + i]._x = (xExtra + 24) + ((i - 99) * 30); _local1["card" + i]._y = extra + 180; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 111) && (i <= 122)) { _local1["card" + i]._x = (xExtra + 24) + ((i - 111) * 30); _local1["card" + i]._y = extra + 225; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 123) && (i <= 134)) { _local1["card" + i]._x = (xExtra + 24) + ((i - 123) * 30); _local1["card" + i]._y = extra + 270; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 135) && (i <= 146)) { _local1["card" + i]._x = (xExtra + 24) + ((i - 135) * 30); _local1["card" + i]._y = extra + 315; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 147) && (i <= 158)) { _local1["card" + i]._x = (xExtra + 24) + ((i - 147) * 30); _local1["card" + i]._y = extra + 360; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 159) && (i <= 168)) { _local1["card" + i]._x = (xExtra + 50) + ((i - 159) * 30); _local1["card" + i]._y = extra + 218; _local1["card" + i].swapDepths(12000 + i); } if ((i >= 169) && (i <= 178)) { _local1["card" + i]._x = (xExtra + 50) + ((i - 169) * 30); _local1["card" + i]._y = extra + 263; _local1["card" + i].swapDepths(12000 + i); } if ((i >= 179) && (i <= 188)) { _local1["card" + i]._x = (xExtra + 50) + ((i - 179) * 30); _local1["card" + i]._y = extra + 308; _local1["card" + i].swapDepths(12000 + i); } if ((i >= 189) && (i <= 192)) { _local1["card" + i]._x = (xExtra + 135) + ((i - 189) * 30); _local1["card" + i]._y = extra + 211.6; _local1["card" + i].swapDepths(13000 + i); } if ((i >= 193) && (i <= 196)) { _local1["card" + i]._x = (xExtra + 135) + ((i - 193) * 30); _local1["card" + i]._y = extra + 256; _local1["card" + i].swapDepths(13000 + i); } if ((i >= 197) && (i <= 200)) { _local1["card" + i]._x = (xExtra + 135) + ((i - 197) * 30); _local1["card" + i]._y = extra + 301.2; _local1["card" + i].swapDepths(13000 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 13) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 16) && (i <= 27)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 30) && (i <= 41)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 44) && (i <= 55)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 58) && (i <= 69)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 72) && (i <= 83)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 86) && (i <= 97)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 100) && (i <= 109)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 112) && (i <= 121)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 124) && (i <= 133)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 136) && (i <= 145)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 148) && (i <= 157)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 160) && (i <= 167)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 170) && (i <= 177)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 180) && (i <= 187)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 190) && (i <= 191)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 194) && (i <= 195)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 198) && (i <= 199)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); cardCreator(); cornertile();
Instance of Symbol 241 MovieClip "timer" in Frame 91
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.15); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 97
options_bt._visible = false;
Frame 99
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 450; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 9; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel9"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 210; rePosition = false; levelNumber = 9; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile14 = 1; cornertile15 = 1; cornertile18 = 1; cornertile19 = 1; cornertile22 = 1; cornertile23 = 1; cornertile26 = 1; cornertile27 = 1; cornertile32 = 1; cornertile33 = 1; cornertile36 = 1; cornertile37 = 1; cornertile40 = 1; cornertile41 = 1; cornertile46 = 1; cornertile47 = 1; cornertile50 = 1; cornertile51 = 1; cornertile54 = 1; cornertile55 = 1; cornertile60 = 1; cornertile61 = 1; cornertile64 = 1; cornertile65 = 1; cornertile68 = 1; cornertile69 = 1; cornertile72 = 1; cornertile73 = 1; cornertile86 = 1; cornertile87 = 1; cornertile89 = 1; cornertile90 = 1; cornertile92 = 1; cornertile93 = 1; cornertile95 = 1; cornertile96 = 1; cornertile98 = 1; cornertile99 = 1; cornertile101 = 1; cornertile102 = 1; cornertile103 = 1; cornertile104 = 1; cornertile105 = 1; cornertile106 = 1; cornertile107 = 1; cornertile108 = 1; cornertile109 = 1; cornertile110 = 1; cornertile111 = 1; cornertile112 = 1; cornertile113 = 1; cornertile114 = 1; cornertile115 = 1; cornertile116 = 1; cornertile117 = 1; cornertile119 = 1; cornertile120 = 1; cornertile122 = 1; cornertile123 = 1; cornertile125 = 1; cornertile126 = 1; cornertile128 = 1; cornertile129 = 1; cornertile131 = 1; cornertile132 = 1; cornertile133 = 1; cornertile134 = 1; cornertile135 = 1; cornertile136 = 1; cornertile137 = 1; cornertile138 = 1; cornertile139 = 1; cornertile140 = 1; cornertile141 = 1; cornertile142 = 1; cornertile143 = 1; cornertile144 = 1; cornertile145 = 1; cornertile146 = 1; cornertile147 = 1; cornertile152 = 1; cornertile153 = 1; cornertile158 = 1; cornertile159 = 1; cornertile164 = 1; cornertile165 = 1; cornertile170 = 1; cornertile171 = 1; cornertile176 = 1; cornertile177 = 1; cornertile182 = 1; cornertile183 = 1; cornertile196 = 1; cornertile197 = 1; cornertile210 = 1; decrement = 4;
Frame 102
function cardCreator() { var _local1 = this; xExtra = 130; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 14) { _local1["card" + i]._x = (xExtra + 20) + ((i - 1) * 30); _local1["card" + i]._y = tilePos; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 15) && (i <= 18)) { _local1["card" + i]._x = (xExtra + -10) + ((i - 15) * 30); _local1["card" + i]._y = tilePos + tileHeight; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 19) && (i <= 22)) { _local1["card" + i]._x = (xExtra + 350) + ((i - 19) * 30); _local1["card" + i]._y = tilePos + tileHeight; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 23) && (i <= 26)) { _local1["card" + i]._x = (xExtra + -10) + ((i - 23) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) - 0.4; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 27) && (i <= 32)) { _local1["card" + i]._x = (xExtra + 140) + ((i - 27) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) - 0.4; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 33) && (i <= 36)) { _local1["card" + i]._x = (xExtra + 350) + ((i - 33) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) - 0.4; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 37) && (i <= 40)) { _local1["card" + i]._x = (xExtra + -10) + ((i - 37) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 41) && (i <= 46)) { _local1["card" + i]._x = (xExtra + 140) + ((i - 41) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 47) && (i <= 50)) { _local1["card" + i]._x = (xExtra + 350) + ((i - 47) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 51) && (i <= 54)) { _local1["card" + i]._x = (xExtra + -10) + ((i - 51) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 55) && (i <= 60)) { _local1["card" + i]._x = (xExtra + 140) + ((i - 55) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 61) && (i <= 64)) { _local1["card" + i]._x = (xExtra + 350) + ((i - 61) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 65) && (i <= 68)) { _local1["card" + i]._x = (xExtra + -10) + ((i - 65) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 1.4; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 69) && (i <= 72)) { _local1["card" + i]._x = (xExtra + 350) + ((i - 69) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 1.4; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 73) && (i <= 86)) { _local1["card" + i]._x = (xExtra + 20) + ((i - 73) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 6)) - 1.8; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 87) && (i <= 89)) { _local1["card" + i]._x = (xExtra + -15) + ((i - 87) * 30); _local1["card" + i]._y = tileTopPos + tileHeight; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 90) && (i <= 92)) { _local1["card" + i]._x = (xExtra + -15) + ((i - 90) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 2)) - 0.4; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 93) && (i <= 95)) { _local1["card" + i]._x = (xExtra + -15) + ((i - 93) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 96) && (i <= 98)) { _local1["card" + i]._x = (xExtra + -15) + ((i - 96) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 99) && (i <= 101)) { _local1["card" + i]._x = (xExtra + -15) + ((i - 99) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 5)) - 1.4; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 102) && (i <= 103)) { _local1["card" + i]._x = (xExtra + -20) + ((i - 102) * 30); _local1["card" + i]._y = tileTopPos1 + tileHeight; _local1["card" + i].swapDepths(10300 + i); } if ((i >= 104) && (i <= 105)) { _local1["card" + i]._x = (xExtra + -20) + ((i - 104) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 2)) - 0.2; _local1["card" + i].swapDepths(10300 + i); } if ((i >= 106) && (i <= 107)) { _local1["card" + i]._x = (xExtra + -20) + ((i - 106) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10300 + i); } if ((i >= 108) && (i <= 109)) { _local1["card" + i]._x = (xExtra + -20) + ((i - 108) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10300 + i); } if ((i >= 110) && (i <= 111)) { _local1["card" + i]._x = (xExtra + -20) + ((i - 110) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 5)) - 1.4; _local1["card" + i].swapDepths(10300 + i); } if (i == 112) { _local1["card" + i]._x = (xExtra + -25) + ((i - 112) * 30); _local1["card" + i]._y = tileTopPos2 + tileHeight; _local1["card" + i].swapDepths(10300 + i); } if (i == 113) { _local1["card" + i]._x = (xExtra + -25) + ((i - 113) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 2)) - 0.2; _local1["card" + i].swapDepths(10400 + i); } if (i == 114) { _local1["card" + i]._x = (xExtra + -25) + ((i - 114) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10400 + i); } if (i == 115) { _local1["card" + i]._x = (xExtra + -25) + ((i - 115) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10400 + i); } if (i == 116) { _local1["card" + i]._x = (xExtra + -25) + ((i - 116) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 5)) - 1.4; _local1["card" + i].swapDepths(10400 + i); } if ((i >= 117) && (i <= 119)) { _local1["card" + i]._x = (xExtra + 375) + ((i - 117) * 30); _local1["card" + i]._y = tileTopPos + tileHeight; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 120) && (i <= 122)) { _local1["card" + i]._x = (xExtra + 375) + ((i - 120) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 2)) - 0.4; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 123) && (i <= 125)) { _local1["card" + i]._x = (xExtra + 375) + ((i - 123) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 126) && (i <= 128)) { _local1["card" + i]._x = (xExtra + 375) + ((i - 126) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 129) && (i <= 131)) { _local1["card" + i]._x = (xExtra + 375) + ((i - 129) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 5)) - 1.4; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 132) && (i <= 133)) { _local1["card" + i]._x = (xExtra + 400) + ((i - 132) * 30); _local1["card" + i]._y = tileTopPos1 + tileHeight; _local1["card" + i].swapDepths(10300 + i); } if ((i >= 134) && (i <= 135)) { _local1["card" + i]._x = (xExtra + 400) + ((i - 134) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 2)) - 0.2; _local1["card" + i].swapDepths(10300 + i); } if ((i >= 136) && (i <= 137)) { _local1["card" + i]._x = (xExtra + 400) + ((i - 136) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10300 + i); } if ((i >= 138) && (i <= 139)) { _local1["card" + i]._x = (xExtra + 400) + ((i - 138) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10300 + i); } if ((i >= 140) && (i <= 141)) { _local1["card" + i]._x = (xExtra + 400) + ((i - 140) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 5)) - 1.4; _local1["card" + i].swapDepths(10300 + i); } if (i == 142) { _local1["card" + i]._x = (xExtra + 425) + ((i - 142) * 30); _local1["card" + i]._y = tileTopPos2 + tileHeight; _local1["card" + i].swapDepths(10300 + i); } if (i == 143) { _local1["card" + i]._x = (xExtra + 425) + ((i - 143) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 2)) - 0.2; _local1["card" + i].swapDepths(10400 + i); } if (i == 144) { _local1["card" + i]._x = (xExtra + 425) + ((i - 144) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 3)) - 0.6; _local1["card" + i].swapDepths(10400 + i); } if (i == 145) { _local1["card" + i]._x = (xExtra + 425) + ((i - 145) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(10400 + i); } if (i == 146) { _local1["card" + i]._x = (xExtra + 425) + ((i - 146) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 5)) - 1.4; _local1["card" + i].swapDepths(10400 + i); } if ((i >= 147) && (i <= 152)) { _local1["card" + i]._x = (xExtra + 135) + ((i - 147) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 2)) + 3; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 153) && (i <= 158)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 153) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 2)) + 3; _local1["card" + i].swapDepths(10400 + i); } if ((i >= 159) && (i <= 164)) { _local1["card" + i]._x = (xExtra + 125) + ((i - 159) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 2)) - 2; _local1["card" + i].swapDepths(10600 + i); } if ((i >= 165) && (i <= 170)) { _local1["card" + i]._x = (xExtra + 135) + ((i - 165) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 3)) + 2.4; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 171) && (i <= 176)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 171) * 30); _local1["card" + i]._y = (tileTopPos2 + (tileHeight * 3)) + 2; _local1["card" + i].swapDepths(10400 + i); } if ((i >= 177) && (i <= 182)) { _local1["card" + i]._x = (xExtra + 135) + ((i - 177) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 4)) + 4; _local1["card" + i].swapDepths(10200 + i); } if ((i >= 183) && (i <= 196)) { _local1["card" + i]._x = (xExtra + 20) + ((i - 183) * 30); _local1["card" + i]._y = tileTopPos1 + 5; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 197) && (i <= 210)) { _local1["card" + i]._x = (xExtra + 15) + ((i - 197) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 6)) + 4; _local1["card" + i].swapDepths(10300 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 13) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 16) && (i <= 17)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 20) && (i <= 21)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 24) && (i <= 25)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 28) && (i <= 31)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 34) && (i <= 35)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 38) && (i <= 39)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 42) && (i <= 45)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 48) && (i <= 49)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 52) && (i <= 53)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 56) && (i <= 59)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 62) && (i <= 63)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 66) && (i <= 67)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 70) && (i <= 71)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 74) && (i <= 85)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 88) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 91) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 94) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 97) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 100) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 118) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 121) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 124) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 127) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 130) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 148) && (i <= 151)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 154) && (i <= 157)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 160) && (i <= 163)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 166) && (i <= 169)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 172) && (i <= 175)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 178) && (i <= 181)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 184) && (i <= 195)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 198) && (i <= 209)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); tileHeight = 44.4; tilePos = 70; tileTopPos = 65; tileTopPos1 = 60; tileTopPos2 = 55; cardCreator(); cornertile();
Instance of Symbol 228 MovieClip "timer" in Frame 102
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.15); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 108
options_bt._visible = false;
Frame 110
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 500; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 10; timeRemaining = 450 - Math.round(timer._x); count = count + ((250 * levelNumber) + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); timer._x = timer._x - 7; if (timer._x <= 290) { timer._x = 293; } if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.gotoAndStop("comLevel10"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); if (rePosition == true) { i = 1; while (i <= maxCards) { if (this["card" + i]._currentframe != undefined) { Set(["cornertile" + i], 1); } i++; } } one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe); } } var one = null; var two = null; maxCards = 212; rePosition = false; levelNumber = 10; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile7 = 1; cornertile8 = 1; cornertile14 = 1; cornertile15 = 1; cornertile20 = 1; cornertile21 = 1; cornertile26 = 1; cornertile27 = 1; cornertile31 = 1; cornertile32 = 1; cornertile36 = 1; cornertile37 = 1; cornertile40 = 1; cornertile41 = 1; cornertile44 = 1; cornertile45 = 1; cornertile49 = 1; cornertile50 = 1; cornertile54 = 1; cornertile55 = 1; cornertile60 = 1; cornertile61 = 1; cornertile66 = 1; cornertile67 = 1; cornertile73 = 1; cornertile74 = 1; cornertile80 = 1; cornertile81 = 1; cornertile82 = 1; cornertile83 = 1; cornertile84 = 1; cornertile87 = 1; cornertile88 = 1; cornertile87 = 1; cornertile88 = 1; cornertile91 = 1; cornertile92 = 1; cornertile93 = 1; cornertile94 = 1; cornertile95 = 1; cornertile100 = 1; cornertile101 = 1; cornertile106 = 1; cornertile107 = 1; cornertile111 = 1; cornertile112 = 1; cornertile116 = 1; cornertile117 = 1; cornertile120 = 1; cornertile121 = 1; cornertile124 = 1; cornertile125 = 1; cornertile127 = 1; cornertile128 = 1; cornertile130 = 1; cornertile131 = 1; cornertile134 = 1; cornertile135 = 1; cornertile138 = 1; cornertile139 = 1; cornertile143 = 1; cornertile144 = 1; cornertile148 = 1; cornertile149 = 1; cornertile154 = 1; cornertile155 = 1; cornertile160 = 1; cornertile161 = 1; cornertile165 = 1; cornertile166 = 1; cornertile170 = 1; cornertile171 = 1; cornertile174 = 1; cornertile175 = 1; cornertile178 = 1; cornertile179 = 1; cornertile181 = 1; cornertile182 = 1; cornertile184 = 1; cornertile185 = 1; cornertile186 = 1; cornertile187 = 1; cornertile188 = 1; cornertile189 = 1; cornertile191 = 1; cornertile192 = 1; cornertile194 = 1; cornertile195 = 1; cornertile198 = 1; cornertile199 = 1; cornertile202 = 1; cornertile203 = 1; cornertile207 = 1; cornertile208 = 1; cornertile212 = 1; decrement = 4;
Frame 113
function cardCreator() { var _local1 = this; xExtra = 120; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 7) { _local1["card" + i]._x = (xExtra + -30) + ((i - 1) * 30); _local1["card" + i]._y = tilePos; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 8) && (i <= 14)) { _local1["card" + i]._x = (xExtra + 270) + ((i - 8) * 30); _local1["card" + i]._y = tilePos; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 15) && (i <= 20)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 15) * 30); _local1["card" + i]._y = tilePos + tileHeight; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 21) && (i <= 26)) { _local1["card" + i]._x = (xExtra + 300) + ((i - 21) * 30); _local1["card" + i]._y = tilePos + tileHeight; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 27) && (i <= 31)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 27) * 30); _local1["card" + i]._y = tilePos + (tileHeight * 2); _local1["card" + i].swapDepths(8000 + i); } if ((i >= 32) && (i <= 36)) { _local1["card" + i]._x = (xExtra + 330) + ((i - 32) * 30); _local1["card" + i]._y = tilePos + (tileHeight * 2); _local1["card" + i].swapDepths(8000 + i); } if ((i >= 37) && (i <= 40)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 37) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 41) && (i <= 44)) { _local1["card" + i]._x = (xExtra + 360) + ((i - 41) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 45) && (i <= 49)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 45) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 50) && (i <= 54)) { _local1["card" + i]._x = (xExtra + 330) + ((i - 50) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 55) && (i <= 60)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 55) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 1.6; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 61) && (i <= 66)) { _local1["card" + i]._x = (xExtra + 300) + ((i - 61) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 1.6; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 67) && (i <= 73)) { _local1["card" + i]._x = (xExtra + -30) + ((i - 67) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 74) && (i <= 80)) { _local1["card" + i]._x = (xExtra + 270) + ((i - 74) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8000 + i); } if ((i >= 81) && (i <= 82)) { _local1["card" + i]._x = (xExtra + 195) + ((i - 81) * 30); _local1["card" + i]._y = tilePos + tileHeight; _local1["card" + i].swapDepths(8000 + i); } if (i == 83) { _local1["card" + i]._x = (xExtra + 190) + ((i - 83) * 30); _local1["card" + i]._y = (tilePos + tileHeight) - 5; _local1["card" + i].swapDepths(8400 + i); } if ((i >= 84) && (i <= 87)) { _local1["card" + i]._x = (xExtra + 165) + ((i - 84) * 30); _local1["card" + i]._y = tilePos + (tileHeight * 2); _local1["card" + i].swapDepths(8200 + i); } if ((i >= 88) && (i <= 91)) { _local1["card" + i]._x = (xExtra + 165) + ((i - 88) * 30); _local1["card" + i]._y = tilePos + (tileHeight * 4); _local1["card" + i].swapDepths(8200 + i); } if ((i >= 92) && (i <= 93)) { _local1["card" + i]._x = (xExtra + 195) + ((i - 92) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 0.4; _local1["card" + i].swapDepths(8200 + i); } if (i == 94) { _local1["card" + i]._x = (xExtra + 222) + ((i - 94) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 2; _local1["card" + i].swapDepths(8500 + i); } if ((i >= 95) && (i <= 100)) { _local1["card" + i]._x = (xExtra + -35) + ((i - 95) * 30); _local1["card" + i]._y = tileTopPos; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 101) && (i <= 106)) { _local1["card" + i]._x = (xExtra + 297) + ((i - 101) * 30); _local1["card" + i]._y = tileTopPos; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 107) && (i <= 111)) { _local1["card" + i]._x = (xExtra + -35) + ((i - 107) * 30); _local1["card" + i]._y = tileTopPos + tileHeight; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 112) && (i <= 116)) { _local1["card" + i]._x = (xExtra + 327) + ((i - 112) * 30); _local1["card" + i]._y = tileTopPos + tileHeight; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 117) && (i <= 120)) { _local1["card" + i]._x = (xExtra + -34) + ((i - 117) * 30); _local1["card" + i]._y = tileTopPos + (tileHeight * 2); _local1["card" + i].swapDepths(8600 + i); } if ((i >= 121) && (i <= 124)) { _local1["card" + i]._x = (xExtra + 357) + ((i - 121) * 30); _local1["card" + i]._y = tileTopPos + (tileHeight * 2); _local1["card" + i].swapDepths(8600 + i); } if ((i >= 125) && (i <= 127)) { _local1["card" + i]._x = (xExtra + -34) + ((i - 125) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 128) && (i <= 130)) { _local1["card" + i]._x = (xExtra + 387) + ((i - 128) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 131) && (i <= 134)) { _local1["card" + i]._x = (xExtra + -34) + ((i - 131) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 135) && (i <= 138)) { _local1["card" + i]._x = (xExtra + 357) + ((i - 135) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 139) && (i <= 143)) { _local1["card" + i]._x = (xExtra + -34) + ((i - 139) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 5)) - 1.6; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 144) && (i <= 148)) { _local1["card" + i]._x = (xExtra + 327) + ((i - 144) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 5)) - 1.6; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 149) && (i <= 154)) { _local1["card" + i]._x = (xExtra + -34) + ((i - 149) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 155) && (i <= 160)) { _local1["card" + i]._x = (xExtra + 297) + ((i - 155) * 30); _local1["card" + i]._y = (tileTopPos + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8600 + i); } if ((i >= 161) && (i <= 165)) { _local1["card" + i]._x = (xExtra + -40) + ((i - 161) * 30); _local1["card" + i]._y = tileTopPos1; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 166) && (i <= 170)) { _local1["card" + i]._x = (xExtra + 327) + ((i - 166) * 30); _local1["card" + i]._y = tileTopPos1; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 171) && (i <= 174)) { _local1["card" + i]._x = (xExtra + -40) + ((i - 171) * 30); _local1["card" + i]._y = tileTopPos1 + tileHeight; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 175) && (i <= 178)) { _local1["card" + i]._x = (xExtra + 357) + ((i - 175) * 30); _local1["card" + i]._y = tileTopPos1 + tileHeight; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 179) && (i <= 181)) { _local1["card" + i]._x = (xExtra + -40) + ((i - 179) * 30); _local1["card" + i]._y = tileTopPos1 + (tileHeight * 2); _local1["card" + i].swapDepths(8700 + i); } if ((i >= 182) && (i <= 184)) { _local1["card" + i]._x = (xExtra + 387) + ((i - 182) * 30); _local1["card" + i]._y = tileTopPos1 + (tileHeight * 2); _local1["card" + i].swapDepths(8700 + i); } if ((i >= 185) && (i <= 186)) { _local1["card" + i]._x = (xExtra + -40) + ((i - 185) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 187) && (i <= 188)) { _local1["card" + i]._x = (xExtra + 417) + ((i - 187) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 3)) - 0.4; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 189) && (i <= 191)) { _local1["card" + i]._x = (xExtra + -40) + ((i - 189) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 192) && (i <= 194)) { _local1["card" + i]._x = (xExtra + 387) + ((i - 192) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 4)) - 1; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 195) && (i <= 198)) { _local1["card" + i]._x = (xExtra + -40) + ((i - 195) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 5)) - 1.6; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 199) && (i <= 202)) { _local1["card" + i]._x = (xExtra + 357) + ((i - 199) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 5)) - 1.6; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 203) && (i <= 207)) { _local1["card" + i]._x = (xExtra + -40) + ((i - 203) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8700 + i); } if ((i >= 208) && (i <= 212)) { _local1["card" + i]._x = (xExtra + 327) + ((i - 208) * 30); _local1["card" + i]._y = (tileTopPos1 + (tileHeight * 6)) - 1.6; _local1["card" + i].swapDepths(8700 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 6) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 9) && (i <= 13)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 16) && (i <= 19)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 22) && (i <= 25)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 28) && (i <= 30)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 33) && (i <= 35)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 38) && (i <= 39)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 42) && (i <= 43)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 46) && (i <= 48)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 51) && (i <= 53)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 56) && (i <= 59)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 62) && (i <= 65)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 68) && (i <= 72)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 75) && (i <= 79)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 85) && (i <= 86)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 89) && (i <= 90)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 96) && (i <= 99)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 102) && (i <= 105)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 108) && (i <= 110)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 113) && (i <= 115)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 118) && (i <= 119)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 122) && (i <= 123)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 126) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 129) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 132) && (i <= 133)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 136) && (i <= 137)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 140) && (i <= 142)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 145) && (i <= 147)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 150) && (i <= 153)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 156) && (i <= 159)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 162) && (i <= 164)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 167) && (i <= 169)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 172) && (i <= 173)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 176) && (i <= 177)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 180) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 183) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 190) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 193) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 196) && (i <= 197)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 200) && (i <= 201)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 204) && (i <= 206)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 209) && (i <= 211)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); tileHeight = 44.4; tilePos = 75; tileTopPos = 70; tileTopPos1 = 65; cardCreator(); cornertile();
Instance of Symbol 228 MovieClip "timer" in Frame 113
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + (_root.timerSpeed + 0.15); if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; _root.gotoAndStop("gameOver"); } } }
Frame 119
trace(options_bt._visible); options_bt._visible = false; trace(options_bt._visible);
Frame 121
function cardsCompare() { cornertile(); oneObject = eval (one); twoObject = eval (two); if (oneObject._currentframe == twoObject._currentframe) { _root.snd4.correctObj.start(0, 1); one = null; two = null; clearMe1 = setInterval(FadeMe, 10, oneObject, twoObject); count = count + 50; _root.dbInterface.updateScore(_root.count); balanceCards = balanceCards - 2; if ((balanceCards == 0) && (timer._x < 450)) { levelNumber = 1; timeRemaining = 450 - Math.round(timer._x); trace("timeRemaining-=" + timeRemaining); count = count + (500 + timeRemaining); _root.dbInterface.updateScore(_root.count); } cornertile(); if (balanceCards == 0) { _root.snd3.levelCompleteObj.start(0, 1); _root.RoundWin = true; _root.gotoAndStop("comBRound"); } } else { _root.snd5.wrongObj.start(0, 1); oneObject.highLight.gotoAndPlay(3); twoObject.highLight.gotoAndPlay(3); one = null; two = null; } } function FadeMe(oneObj, twoObj) { var _local1 = oneObj; var _local2 = twoObj; if (_local1._xscale >= 30) { trace("fade speed round ----------- "); _local1._xscale = _local1._xscale - decrement; _local2._xscale = _local2._xscale - decrement; _local1._yscale = _local1._yscale - decrement; _local2._yscale = _local2._yscale - decrement; } else { removeMovieClip(_local1); removeMovieClip(_local2); cornertile(); clearInterval(clearMe1); } } var one = null; var two = null; maxCards = 48; levelNumber = 1; _root.subLevel = _root.subLevel + 1; balanceCards = maxCards; yAdjust = 6.4; options_bt._visible = true; i = 1; while (i <= 3) { this["cornertile" + i] = 0; i++; } cornertile1 = 1; cornertile4 = 1; cornertile5 = 1; cornertile6 = 1; cornertile7 = 1; cornertile8 = 1; cornertile9 = 1; cornertile10 = 1; cornertile13 = 1; cornertile14 = 1; cornertile15 = 1; cornertile16 = 1; cornertile17 = 1; cornertile18 = 1; cornertile21 = 1; cornertile22 = 1; cornertile23 = 1; cornertile25 = 1; cornertile26 = 1; cornertile27 = 1; cornertile28 = 1; cornertile29 = 1; cornertile31 = 1; cornertile32 = 1; cornertile33 = 1; cornertile35 = 1; cornertile36 = 1; cornertile38 = 1; cornertile39 = 1; cornertile40 = 1; cornertile41 = 1; cornertile42 = 1; cornertile43 = 1; cornertile44 = 1; cornertile45 = 1; cornertile46 = 1; cornertile47 = 1; cornertile48 = 1; decrement = 4;
Frame 124
function cardCreator() { var _local1 = this; xExtra = 120; i = 1; while (i <= (maxCards / 2)) { duplicateMovieClip (card, "card" + i, i); ran = random(18) + 2; _local1["card" + i].gotoAndStop(ran); i++; } i = (maxCards / 2) + 1; while (i <= maxCards) { duplicateMovieClip (card, "card" + i, i); _local1["card" + i].gotoAndStop(_local1["card" + (i - (maxCards / 2))]._currentframe); i++; } i = 1; while (i <= maxCards) { if (i <= 4) { _local1["card" + i]._x = (xExtra + 290) + ((i - 1) * 30); _local1["card" + i]._y = tilePos; _local1["card" + i].swapDepths(10000 + i); } if (i == 5) { _local1["card" + i]._x = (xExtra + 410) + ((i - 5) * 30); _local1["card" + i]._y = (tilePos + tileHeight) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if (i == 6) { _local1["card" + i]._x = (xExtra + 440) + ((i - 6) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if (i == 7) { _local1["card" + i]._x = (xExtra + 460) + ((i - 7) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if (i == 8) { _local1["card" + i]._x = (xExtra + 440) + ((i - 8) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if (i == 9) { _local1["card" + i]._x = (xExtra + 410) + ((i - 9) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if ((i >= 10) && (i <= 13)) { _local1["card" + i]._x = (xExtra + 290) + ((i - 10) * 30); _local1["card" + i]._y = tilePos + (tileHeight * 6); _local1["card" + i].swapDepths(11300 + i); } if (i == 14) { _local1["card" + i]._x = (xExtra + 260) + ((i - 14) * 30); _local1["card" + i]._y = (tilePos + tileHeight) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if (i == 15) { _local1["card" + i]._x = (xExtra + 240) + ((i - 15) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if (i == 16) { _local1["card" + i]._x = (xExtra + 240) + ((i - 16) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) + 0.4; _local1["card" + i].swapDepths(11100 + i); } if (i == 17) { _local1["card" + i]._x = (xExtra + 260) + ((i - 17) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) + 0.4; _local1["card" + i].swapDepths(11200 + i); } if ((i >= 18) && (i <= 21)) { _local1["card" + i]._x = (xExtra + 130) + ((i - 18) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) + 0.4; _local1["card" + i].swapDepths(11000 + i); } if (i == 22) { _local1["card" + i]._x = (xExtra + 110) + ((i - 22) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) + 0.4; _local1["card" + i].swapDepths(9800 + i); } if ((i >= 23) && (i <= 25)) { _local1["card" + i]._x = (xExtra + 20) + ((i - 23) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 1)) + 0.4; _local1["card" + i].swapDepths(9500 + i); } if (i == 26) { _local1["card" + i]._x = (xExtra + -10) + ((i - 26) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) + 0.4; _local1["card" + i].swapDepths(9800 + i); } if (i == 27) { _local1["card" + i]._x = (xExtra + -30) + ((i - 27) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) + 0.4; _local1["card" + i].swapDepths(9800 + i); } if (i == 28) { _local1["card" + i]._x = (xExtra + -10) + ((i - 28) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) + 0.4; _local1["card" + i].swapDepths(9800 + i); } if ((i >= 29) && (i <= 31)) { _local1["card" + i]._x = (xExtra + 20) + ((i - 29) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) + 0.4; _local1["card" + i].swapDepths(10000 + i); } if (i == 32) { _local1["card" + i]._x = (xExtra + 110) + ((i - 32) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) + 0.4; _local1["card" + i].swapDepths(11300 + i); } if ((i >= 33) && (i <= 35)) { _local1["card" + i]._x = (xExtra + 140) + ((i - 33) * 30); _local1["card" + i]._y = tilePos + 10; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 36) && (i <= 38)) { _local1["card" + i]._x = (xExtra + 140) + ((i - 36) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) + 30; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 39) && (i <= 40)) { _local1["card" + i]._x = (xExtra + 330) + ((i - 39) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 1)) + 20; _local1["card" + i].swapDepths(10000 + i); } if (i == 41) { _local1["card" + i]._x = (xExtra + 300) + ((i - 41) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) + 20; _local1["card" + i].swapDepths(10000 + i); } if (i == 42) { _local1["card" + i]._x = (xExtra + 300) + ((i - 42) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) + 20.4; _local1["card" + i].swapDepths(10000 + i); } if ((i >= 43) && (i <= 44)) { _local1["card" + i]._x = (xExtra + 330) + ((i - 43) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 4)) + 20; _local1["card" + i].swapDepths(10000 + i); } if (i == 45) { _local1["card" + i]._x = (xExtra + 390) + ((i - 45) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 2)) + 20.4; _local1["card" + i].swapDepths(10000 + i); } if (i == 46) { _local1["card" + i]._x = (xExtra + 390) + ((i - 46) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 3)) + 20.4; _local1["card" + i].swapDepths(10000 + i); } if (i == 47) { _local1["card" + i]._x = (xExtra + 170) + ((i - 47) * 30); _local1["card" + i]._y = (tilePos + (tileHeight * 5)) - 13.4; _local1["card" + i].swapDepths(9700 + i); } if (i == 48) { _local1["card" + i]._x = (xExtra + 170) + ((i - 48) * 30); _local1["card" + i]._y = (tilePos + tileHeight) + 10.4; _local1["card" + i].swapDepths(10000 + i); } i++; } } function cornertile() { var _local1 = this; i = 1; while (i <= maxCards) { if (i <= 3) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 11) && (i <= 12)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if ((i >= 19) && (i <= 20)) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 24) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 30) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 34) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } if (i == 37) { if ((typeof(_local1["card" + (i + 1)]) == "undefined") || (typeof(_local1["card" + (i - 1)]) == "undefined")) { Set(["cornertile" + i], 1); } else { Set(["cornertile" + i], 0); } } i++; } } stop(); tileHeight = 44; tilePos = 70; cardCreator(); cornertile();
Instance of Symbol 228 MovieClip "timer" in Frame 124
onClipEvent (load) { once = 0; } onClipEvent (enterFrame) { if (_root.options != 0) { this._x = this._x + 0.24; if ((this._x >= 450) && (once == 0)) { i = 1; while (i <= _parent.maxCards) { removeMovieClip(_parent["card" + i]); i++; } once = 1; clearInterval(_root.clearMe1); _root.RoundLose = true; _root.gotoAndStop("comBRound"); } } }
Frame 125
setDeactive(); levelNumberText = "level " + levelNumber; _root.snd8.gOverObj.start(0, 1);
Symbol 13 MovieClip Frame 1
musicObj = new Sound(this); musicObj.attachSound("bgmusic");
Symbol 14 MovieClip Frame 1
bonusSndObj = new Sound(this); bonusSndObj.attachSound("speedRound");
Symbol 15 MovieClip Frame 1
levelCompleteObj = new Sound(this); levelCompleteObj.attachSound("levelOver");
Symbol 16 MovieClip Frame 1
correctObj = new Sound(this); correctObj.attachSound("correctPairs");
Symbol 17 MovieClip Frame 1
wrongObj = new Sound(this); wrongObj.attachSound("wrongPairs");
Symbol 18 MovieClip Frame 1
BsrLoseObj = new Sound(this); BsrLoseObj.attachSound("bsrLose");
Symbol 19 MovieClip Frame 1
shuffleObj = new Sound(this); shuffleObj.attachSound("shuffsnd");
Symbol 20 MovieClip Frame 1
gOverObj = new Sound(this); gOverObj.attachSound("gOversnd");
Symbol 30 Button
on (press) { startDrag (this, true, left_M, top_M, right_M, bottom_M); } on (release, releaseOutside) { stopDrag(); }
Symbol 32 Button
on (press) { startDrag (this, false, left_j, top_j, right_j, bottom_j); } on (release, releaseOutside) { stopDrag(); }
Symbol 35 Button
on (release) { _root.options = 1; _parent.optBlock._visible = false; _root.slidemusic_X = slidemusic._x; _root.slidesound_X = slidesound._x; _root.controls.swapDepths(_parent.tempdepth); gotoAndStop (1); }
Symbol 36 MovieClip Frame 1
stop(); _root.activate = 0;
Symbol 36 MovieClip Frame 2
blocker.useHandCursor = false; _root.activate = 1;
Symbol 36 MovieClip Frame 23
stop(); _root.activate = 1;
Instance of Symbol 31 MovieClip "slidemusic" in Symbol 36 MovieClip Frame 23
onClipEvent (load) { right_M = _x + 100; top_M = _y; bottom_M = _y; left_M = _x; if (_root.countmain == 0) { _x = (_x + 100); } else { _x = _root.slidemusic_X; } } onClipEvent (enterFrame) { _root.countmain = 1; _root.snd1.musicObj.setVolume(_x - left_M); _root.snd2.bonusSndObj.setVolume(_x - left_M); }
Instance of Symbol 33 MovieClip "slidesound" in Symbol 36 MovieClip Frame 23
onClipEvent (load) { top_j = _y; bottom_j = _y; left_j = _x; right_j = _x + 100; if (_root.countsound == 0) { _x = (_x + 100); } else { _x = _root.slidesound_X; } } onClipEvent (enterFrame) { _root.countsound = 1; _root.snd3.levelCompleteObj.setVolume(_x - left_j); _root.snd4.correctObj.setVolume(_x - left_j); _root.snd5.wrongObj.setVolume(_x - left_j); _root.snd6.BsrLoseObj.setVolume(_x - left_j); _root.snd7.shuffleObj.setVolume(_x - left_j); _root.snd8.gOverObj.setVolume(_x - left_j); }
Symbol 48 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 1
stop(); LoaderBlk.useHandCursor = false;
Instance of Symbol 48 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (load) { total = _parent._parent.getBytesTotal(); } onClipEvent (enterFrame) { loaded = _parent._parent.getBytesLoaded(); percent = int((loaded / total) * 100); gotoAndStop(percent); perText = percent + "%"; if (percent >= 100) { _parent.gotoAndStop(2); } }
Symbol 49 MovieClip Frame 2
stop(); _parent.gotoAndStop(2);
Symbol 54 Button
on (release) { _root.options = 0; optBlock._visible = true; beginX = timer.temptimerX; tempdepth = controls.getDepth(); controls.swapDepths(18000); controls.gotoAndPlay(2); }
Symbol 67 Button
on (press) { stop(); stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); trace("timerSpeed=" + _root.timerSpeed); gotoAndPlay ("speedRoundStart"); }
Symbol 69 MovieClip Frame 1
Symbol 69 MovieClip Frame 16
stop();
Symbol 69 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 81 Button
on (release) { gotoAndPlay ("Mlevel1"); }
Symbol 86 Button
on (release) { myname = _name; mynum = Number(myname.substr(4)); if (_parent["cornertile" + mynum] == 1) { if (_root.options != 0) { if (_parent.one == null) { _parent.one = _name; highLight.gotoAndStop(2); } else if (_parent.one != _name) { highLight.gotoAndPlay(3); _parent.two = _name; _parent.cardsCompare(); } else { highLight.gotoAndStop(1); _parent.one = null; } } } }
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 97 MovieClip Frame 1
Symbol 100 MovieClip Frame 1
Symbol 103 MovieClip Frame 1
Symbol 109 MovieClip Frame 1
Symbol 112 MovieClip Frame 1
Symbol 115 MovieClip Frame 1
Symbol 118 MovieClip Frame 1
Symbol 121 MovieClip Frame 1
Symbol 127 MovieClip Frame 1
Symbol 130 MovieClip Frame 1
Symbol 133 MovieClip Frame 1
Symbol 136 MovieClip Frame 1
Symbol 139 MovieClip Frame 1
Symbol 142 MovieClip Frame 1
Symbol 145 MovieClip Frame 1
var cornertile = false;
Symbol 146 MovieClip Frame 1
myname = ""; stop(); t1.a1._visible = false; blockBut.useHandCursor = false;
Symbol 148 Button
on (press) { if (_root.options != 0) { timer._x = timer._x + 10; _root.count = _root.count - 50; if (_root.count < 0) { _root.count = 0; } shuffleCard(); } }
Symbol 155 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); trace("timerSpeed=" + _root.timerSpeed); gotoAndPlay ("speedRoundStart"); }
Symbol 156 MovieClip Frame 16
stop();
Symbol 156 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 163 Button
on (release) { i = 1; while (i <= maxCards) { trace((i + "X=") + this["card" + i]._x); trace((i + "Y=") + this["card" + i]._y); i++; } }
Symbol 170 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); trace("timerSpeed=" + _root.timerSpeed); gotoAndPlay ("speedRoundStart"); }
Symbol 171 MovieClip Frame 16
stop();
Symbol 171 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 183 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); trace("timerSpeed=" + _root.timerSpeed); gotoAndPlay ("speedRoundStart"); }
Symbol 184 MovieClip Frame 16
stop();
Symbol 184 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 196 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); trace("timerSpeed=" + _root.timerSpeed); gotoAndPlay ("speedRoundStart"); }
Symbol 197 MovieClip Frame 16
stop();
Symbol 197 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 209 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); gotoAndPlay ("speedRoundStart"); }
Symbol 210 MovieClip Frame 16
stop();
Symbol 210 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 222 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); trace("timerSpeed=" + _root.timerSpeed); gotoAndPlay ("speedRoundStart"); }
Symbol 223 MovieClip Frame 16
stop();
Symbol 223 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 235 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); gotoAndPlay ("speedRoundStart"); }
Symbol 236 MovieClip Frame 16
stop();
Symbol 236 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 246 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); gotoAndPlay ("speedRoundStart"); }
Symbol 247 MovieClip Frame 16
stop();
Symbol 247 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 254 Button
on (press) { stopAllSounds(); _root.snd2.bonusSndObj.start(0, 10000); _root.timeReducer = _root.timeReducer + 0.2; gotoAndPlay ("speedRoundStart"); }
Symbol 255 MovieClip Frame 16
stop();
Symbol 255 MovieClip Frame 45
_root.gotoAndPlay("bsRound");
Symbol 261 Button
on (press) { tempLevel = "Mlevel" + _root.subLevel; stopAllSounds(); _root.snd1.musicObj.start(0, 10000); if (tempLevel == "Mlevel11") { _root.subLevel = 1; _root.timerSpeed = _root.timerSpeed + 0.03; _root.gotoAndPlay("Mlevel1"); } else { _root.gotoAndPlay(tempLevel); } }
Symbol 264 MovieClip Frame 1
stop(); if (_root.RoundLose == true) { _root.RoundLose = false; gotoAndPlay ("speedRoundLose"); } else if (_root.RoundWin == true) { _root.RoundWin = false; gotoAndPlay ("speedRoundWin"); }
Symbol 264 MovieClip Frame 16
stop();
Symbol 264 MovieClip Frame 32
stop(); _root.snd6.BsrLoseObj.start(0, 1);
Symbol 268 Button
on (press) { if (_root.options != 0) { shuffleCard(); } }
Symbol 278 Button
on (release) { _parent.gotoAndStop(2); }
Symbol 280 Button
on (release) { getURL ("http://www.ikoncity.com/ic-master.asp?pageID=805", "_blank"); }
Symbol 281 MovieClip Frame 56
stop(); stopAllSounds();

Library Items

Symbol 1 Sound [wrongPairs]
Symbol 2 Sound [gOversnd]
Symbol 3 Sound [shuffsnd]
Symbol 4 Sound [correctPairs]
Symbol 5 Sound [levelOver]
Symbol 6 Sound [speedRound]
Symbol 7 Sound [bgmusic]
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:Timeline
Symbol 10 FontUsed by:11 149 164 177 190 203 216 229 242 250 258 269 276
Symbol 11 EditableTextUses:10Used by:Timeline
Symbol 12 GraphicUsed by:13 14 15 16 17 18 19 20
Symbol 13 MovieClipUses:12Used by:Timeline
Symbol 14 MovieClipUses:12Used by:Timeline
Symbol 15 MovieClipUses:12Used by:Timeline
Symbol 16 MovieClipUses:12Used by:Timeline
Symbol 17 MovieClipUses:12Used by:Timeline
Symbol 18 MovieClipUses:12Used by:Timeline
Symbol 19 MovieClipUses:12Used by:Timeline
Symbol 20 MovieClipUses:12Used by:Timeline
Symbol 21 GraphicUsed by:31 33 36
Symbol 22 GraphicUsed by:36
Symbol 23 FontUsed by:24 25
Symbol 24 TextUses:23Used by:36
Symbol 25 TextUses:23Used by:36
Symbol 26 GraphicUsed by:27
Symbol 27 ButtonUses:26Used by:36
Symbol 28 GraphicUsed by:36
Symbol 29 GraphicUsed by:30 32
Symbol 30 ButtonUses:29Used by:31
Symbol 31 MovieClipUses:30 21Used by:36
Symbol 32 ButtonUses:29Used by:33
Symbol 33 MovieClipUses:32 21Used by:36
Symbol 34 GraphicUsed by:35
Symbol 35 ButtonUses:34Used by:36
Symbol 36 MovieClipUses:21 22 24 25 27 28 31 33 35Used by:Timeline
Symbol 37 FontUsed by:38
Symbol 38 EditableTextUses:37Used by:Timeline
Symbol 39 GraphicUsed by:40
Symbol 40 ButtonUses:39Used by:49
Symbol 41 GraphicUsed by:48
Symbol 42 GraphicUsed by:48
Symbol 43 GraphicUsed by:48
Symbol 44 GraphicUsed by:48
Symbol 45 FontUsed by:46 47
Symbol 46 EditableTextUses:45Used by:48
Symbol 47 EditableTextUses:45Used by:48
Symbol 48 MovieClipUses:41 42 43 44 46 47Used by:49
Symbol 49 MovieClipUses:40 48Used by:Timeline
Symbol 50 FontUsed by:51 76
Symbol 51 TextUses:50Used by:54
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54 148 268
Symbol 54 ButtonUses:51 52 53Used by:Timeline
Symbol 55 GraphicUsed by:56 84
Symbol 56 ButtonUses:55Used by:Timeline
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:69 156 171 184 197 210 223 236 247 255 264
Symbol 59 GraphicUsed by:69 156 171 184 197 210 223 236 247 255 264 281
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:69 156 171 184 197 210 223 236 247 255 264 281
Symbol 62 FontUsed by:63 68 154 169 182 195 208 221 234 245 253 260 263 273
Symbol 63 TextUses:62Used by:69
Symbol 64 GraphicUsed by:67 155 170 183 196 209 222 235 246 254 261
Symbol 65 FontUsed by:66 70 71 73 151 166 179 192 205 218 231 244 252 265
Symbol 66 TextUses:65Used by:67 155 170 183 196 209 222 235 246 254 261
Symbol 67 ButtonUses:64 66Used by:69
Symbol 68 TextUses:62Used by:69 156 171 184 197 210 223 236 247 255
Symbol 69 MovieClipUses:58 59 61 63 67 68Used by:Timeline
Symbol 70 TextUses:65Used by:Timeline
Symbol 71 TextUses:65Used by:Timeline
Symbol 72 GraphicUsed by:Timeline
Symbol 73 TextUses:65Used by:Timeline
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:83  Timeline
Symbol 76 TextUses:50Used by:148 268  Timeline
Symbol 77 GraphicUsed by:Timeline
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:Timeline
Symbol 80 GraphicUsed by:81
Symbol 81 ButtonUses:80Used by:Timeline
Symbol 82 GraphicUsed by:Timeline
Symbol 83 MovieClipUses:75Used by:Timeline
Symbol 84 ButtonUses:55Used by:146
Symbol 85 GraphicUsed by:86
Symbol 86 ButtonUses:85Used by:146
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:87Used by:89
Symbol 89 MovieClipUses:88Used by:146
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:94 97 100 103 106 109 112 115 118 121 124 127 130 133 136 139 142 145
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:94
Symbol 94 MovieClipUses:91 93Used by:146
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClipUses:91 96Used by:146
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:100
Symbol 100 MovieClipUses:91 99Used by:146
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:103
Symbol 103 MovieClipUses:91 102Used by:146
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClipUses:91 105Used by:146
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:109
Symbol 109 MovieClipUses:91 108Used by:146
Symbol 110 BitmapUsed by:111
Symbol 111 GraphicUses:110Used by:112
Symbol 112 MovieClipUses:91 111Used by:146
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:115
Symbol 115 MovieClipUses:91 114Used by:146
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:118
Symbol 118 MovieClipUses:91 117Used by:146
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:121
Symbol 121 MovieClipUses:91 120Used by:146
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:124
Symbol 124 MovieClipUses:91 123Used by:146
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:127
Symbol 127 MovieClipUses:91 126Used by:146
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:130
Symbol 130 MovieClipUses:91 129Used by:146
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:133
Symbol 133 MovieClipUses:91 132Used by:146
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:136
Symbol 136 MovieClipUses:91 135Used by:146
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:139
Symbol 139 MovieClipUses:91 138Used by:146
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:142
Symbol 142 MovieClipUses:91 141Used by:146
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:145
Symbol 145 MovieClipUses:91 144Used by:146
Symbol 146 MovieClipUses:84 86 89 94 97 100 103 106 109 112 115 118 121 124 127 130 133 136 139 142 145Used by:Timeline
Symbol 147 GraphicUsed by:148
Symbol 148 ButtonUses:76 147 53Used by:Timeline
Symbol 149 EditableTextUses:10Used by:Timeline
Symbol 150 GraphicUsed by:Timeline
Symbol 151 TextUses:65Used by:Timeline
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:156
Symbol 154 TextUses:62Used by:156
Symbol 155 ButtonUses:64 66Used by:156
Symbol 156 MovieClipUses:153 59 61 58 154 155 68Used by:Timeline
Symbol 157 GraphicUsed by:Timeline
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:161  Timeline
Symbol 160 GraphicUsed by:Timeline
Symbol 161 MovieClipUses:159Used by:Timeline
Symbol 162 GraphicUsed by:163
Symbol 163 ButtonUses:162Used by:Timeline
Symbol 164 EditableTextUses:10Used by:Timeline
Symbol 165 GraphicUsed by:Timeline
Symbol 166 TextUses:65Used by:Timeline
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:171
Symbol 169 TextUses:62Used by:171
Symbol 170 ButtonUses:64 66Used by:171
Symbol 171 MovieClipUses:168 59 61 58 169 170 68Used by:Timeline
Symbol 172 GraphicUsed by:Timeline
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:176  Timeline
Symbol 175 GraphicUsed by:Timeline
Symbol 176 MovieClipUses:174Used by:Timeline
Symbol 177 EditableTextUses:10Used by:Timeline
Symbol 178 GraphicUsed by:Timeline
Symbol 179 TextUses:65Used by:Timeline
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:184
Symbol 182 TextUses:62Used by:184
Symbol 183 ButtonUses:64 66Used by:184
Symbol 184 MovieClipUses:181 59 61 58 182 183 68Used by:Timeline
Symbol 185 GraphicUsed by:Timeline
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:189  Timeline
Symbol 188 GraphicUsed by:Timeline
Symbol 189 MovieClipUses:187Used by:Timeline
Symbol 190 EditableTextUses:10Used by:Timeline
Symbol 191 GraphicUsed by:Timeline
Symbol 192 TextUses:65Used by:Timeline
Symbol 193 BitmapUsed by:194
Symbol 194 GraphicUses:193Used by:197
Symbol 195 TextUses:62Used by:197
Symbol 196 ButtonUses:64 66Used by:197
Symbol 197 MovieClipUses:194 59 61 58 195 196 68Used by:Timeline
Symbol 198 GraphicUsed by:Timeline
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:202  Timeline
Symbol 201 GraphicUsed by:Timeline
Symbol 202 MovieClipUses:200Used by:Timeline
Symbol 203 EditableTextUses:10Used by:Timeline
Symbol 204 GraphicUsed by:Timeline
Symbol 205 TextUses:65Used by:Timeline
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:210
Symbol 208 TextUses:62Used by:210
Symbol 209 ButtonUses:64 66Used by:210
Symbol 210 MovieClipUses:207 59 61 58 208 209 68Used by:Timeline
Symbol 211 GraphicUsed by:Timeline
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:215  Timeline
Symbol 214 GraphicUsed by:Timeline
Symbol 215 MovieClipUses:213Used by:Timeline
Symbol 216 EditableTextUses:10Used by:Timeline
Symbol 217 GraphicUsed by:Timeline
Symbol 218 TextUses:65Used by:Timeline
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:223 247 255 264
Symbol 221 TextUses:62Used by:223
Symbol 222 ButtonUses:64 66Used by:223
Symbol 223 MovieClipUses:220 59 61 58 221 222 68Used by:Timeline
Symbol 224 GraphicUsed by:Timeline
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:228  Timeline
Symbol 227 GraphicUsed by:Timeline
Symbol 228 MovieClipUses:226Used by:Timeline
Symbol 229 EditableTextUses:10Used by:Timeline
Symbol 230 GraphicUsed by:Timeline
Symbol 231 TextUses:65Used by:Timeline
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:236
Symbol 234 TextUses:62Used by:236
Symbol 235 ButtonUses:64 66Used by:236
Symbol 236 MovieClipUses:233 59 61 58 234 235 68Used by:Timeline
Symbol 237 GraphicUsed by:Timeline
Symbol 238 BitmapUsed by:239
Symbol 239 GraphicUses:238Used by:241  Timeline
Symbol 240 GraphicUsed by:Timeline
Symbol 241 MovieClipUses:239Used by:Timeline
Symbol 242 EditableTextUses:10Used by:Timeline
Symbol 243 GraphicUsed by:Timeline
Symbol 244 TextUses:65Used by:Timeline
Symbol 245 TextUses:62Used by:247
Symbol 246 ButtonUses:64 66Used by:247
Symbol 247 MovieClipUses:220 59 61 58 245 246 68Used by:Timeline
Symbol 248 GraphicUsed by:Timeline
Symbol 249 GraphicUsed by:Timeline
Symbol 250 EditableTextUses:10Used by:Timeline
Symbol 251 GraphicUsed by:Timeline
Symbol 252 TextUses:65Used by:Timeline
Symbol 253 TextUses:62Used by:255
Symbol 254 ButtonUses:64 66Used by:255
Symbol 255 MovieClipUses:220 59 61 58 253 254 68Used by:Timeline
Symbol 256 GraphicUsed by:Timeline
Symbol 257 GraphicUsed by:Timeline
Symbol 258 EditableTextUses:10Used by:Timeline
Symbol 259 GraphicUsed by:Timeline
Symbol 260 TextUses:62Used by:264
Symbol 261 ButtonUses:64 66Used by:264
Symbol 262 SoundUsed by:264
Symbol 263 TextUses:62Used by:264
Symbol 264 MovieClipUses:220 59 61 58 260 261 262 263Used by:Timeline
Symbol 265 TextUses:65Used by:Timeline
Symbol 266 GraphicUsed by:Timeline
Symbol 267 GraphicUsed by:Timeline
Symbol 268 ButtonUses:76 53Used by:Timeline
Symbol 269 EditableTextUses:10Used by:Timeline
Symbol 270 GraphicUsed by:Timeline
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:281
Symbol 273 TextUses:62Used by:281
Symbol 274 BitmapUsed by:275
Symbol 275 GraphicUses:274Used by:281
Symbol 276 EditableTextUses:10Used by:281
Symbol 277 GraphicUsed by:278
Symbol 278 ButtonUses:277Used by:281
Symbol 279 GraphicUsed by:280
Symbol 280 ButtonUses:279Used by:281
Symbol 281 MovieClipUses:272 59 61 273 275 276 278 280Used by:Timeline

Instance Names

"snd1"Frame 1Symbol 13 MovieClip
"snd2"Frame 1Symbol 14 MovieClip
"snd3"Frame 1Symbol 15 MovieClip
"snd4"Frame 1Symbol 16 MovieClip
"snd5"Frame 1Symbol 17 MovieClip
"snd6"Frame 1Symbol 18 MovieClip
"snd7"Frame 1Symbol 19 MovieClip
"snd8"Frame 1Symbol 20 MovieClip
"controls"Frame 1Symbol 36 MovieClip
"feedback"Frame 1Symbol 38 EditableText
"options_bt"Frame 2Symbol 54 Button
"optBlock"Frame 2Symbol 56 Button
"gover"Frame 3Symbol 69 MovieClip
"options_bt"Frame 5Symbol 54 Button
"optBlock"Frame 5Symbol 56 Button
"timer"Frame 7Symbol 83 MovieClip
"card"Frame 7Symbol 146 MovieClip
"shuff"Frame 7Symbol 148 Button
"timer"Frame 20Symbol 161 MovieClip
"card"Frame 20Symbol 146 MovieClip
"shuff"Frame 20Symbol 148 Button
"timer"Frame 32Symbol 176 MovieClip
"card"Frame 32Symbol 146 MovieClip
"shuff"Frame 32Symbol 148 Button
"timer"Frame 44Symbol 189 MovieClip
"card"Frame 44Symbol 146 MovieClip
"shuff"Frame 44Symbol 148 Button
"timer"Frame 56Symbol 202 MovieClip
"card"Frame 56Symbol 146 MovieClip
"shuff"Frame 56Symbol 148 Button
"timer"Frame 68Symbol 215 MovieClip
"card"Frame 68Symbol 146 MovieClip
"shuff"Frame 68Symbol 148 Button
"timer"Frame 80Symbol 228 MovieClip
"card"Frame 80Symbol 146 MovieClip
"shuff"Frame 80Symbol 148 Button
"timer"Frame 91Symbol 241 MovieClip
"card"Frame 91Symbol 146 MovieClip
"shuff"Frame 91Symbol 148 Button
"timer"Frame 102Symbol 228 MovieClip
"card"Frame 102Symbol 146 MovieClip
"shuff"Frame 102Symbol 148 Button
"timer"Frame 113Symbol 228 MovieClip
"card"Frame 113Symbol 146 MovieClip
"shuff"Frame 113Symbol 148 Button
"timer"Frame 124Symbol 228 MovieClip
"card"Frame 124Symbol 146 MovieClip
"shuff"Frame 124Symbol 268 Button
"timer"Frame 125Symbol 83 MovieClip
"blocker"Symbol 36 MovieClip Frame 2Symbol 27 Button
"slidemusic"Symbol 36 MovieClip Frame 23Symbol 31 MovieClip
"slidesound"Symbol 36 MovieClip Frame 23Symbol 33 MovieClip
"txtPer"Symbol 48 MovieClip Frame 1Symbol 47 EditableText
"LoaderBlk"Symbol 49 MovieClip Frame 1Symbol 40 Button
"blockBut"Symbol 146 MovieClip Frame 1Symbol 84 Button
"highLight"Symbol 146 MovieClip Frame 1Symbol 89 MovieClip
"t1"Symbol 146 MovieClip Frame 2Symbol 94 MovieClip
"t2"Symbol 146 MovieClip Frame 3Symbol 97 MovieClip
"t3"Symbol 146 MovieClip Frame 4Symbol 100 MovieClip
"t4"Symbol 146 MovieClip Frame 5Symbol 103 MovieClip
"t5"Symbol 146 MovieClip Frame 6Symbol 106 MovieClip
"t6"Symbol 146 MovieClip Frame 7Symbol 109 MovieClip
"t7"Symbol 146 MovieClip Frame 8Symbol 112 MovieClip
"t8"Symbol 146 MovieClip Frame 9Symbol 115 MovieClip
"t9"Symbol 146 MovieClip Frame 10Symbol 118 MovieClip
"t10"Symbol 146 MovieClip Frame 11Symbol 121 MovieClip
"t11"Symbol 146 MovieClip Frame 12Symbol 124 MovieClip
"t12"Symbol 146 MovieClip Frame 13Symbol 127 MovieClip
"t13"Symbol 146 MovieClip Frame 14Symbol 130 MovieClip
"t14"Symbol 146 MovieClip Frame 15Symbol 133 MovieClip
"t15"Symbol 146 MovieClip Frame 16Symbol 136 MovieClip
"t16"Symbol 146 MovieClip Frame 17Symbol 139 MovieClip
"t17"Symbol 146 MovieClip Frame 18Symbol 142 MovieClip
"t18"Symbol 146 MovieClip Frame 19Symbol 145 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "wrongPairs"
ExportAssets (56)Timeline Frame 1Symbol 2 as "gOversnd"
ExportAssets (56)Timeline Frame 1Symbol 3 as "shuffsnd"
ExportAssets (56)Timeline Frame 1Symbol 4 as "correctPairs"
ExportAssets (56)Timeline Frame 1Symbol 5 as "levelOver"
ExportAssets (56)Timeline Frame 1Symbol 6 as "speedRound"
ExportAssets (56)Timeline Frame 1Symbol 7 as "bgmusic"

Labels

"comLevel1"Frame 3
"Mlevel1"Frame 5
"comLevel2"Frame 15
"Mlevel2"Frame 17
"comLevel3"Frame 27
"Mlevel3"Frame 29
"comLevel4"Frame 39
"Mlevel4"Frame 41
"comLevel5"Frame 51
"Mlevel5"Frame 53
"comLevel6"Frame 63
"Mlevel6"Frame 65
"comLevel7"Frame 75
"Mlevel7"Frame 77
"comLevel8"Frame 86
"Mlevel8"Frame 88
"comLevel9"Frame 97
"Mlevel9"Frame 99
"comLevel10"Frame 108
"Mlevel10"Frame 110
"comBRound"Frame 119
"bsRound"Frame 121
"gameOver"Frame 125
"speedRoundStart"Symbol 69 MovieClip Frame 17
"speedRoundStart"Symbol 156 MovieClip Frame 17
"speedRoundStart"Symbol 171 MovieClip Frame 17
"speedRoundStart"Symbol 184 MovieClip Frame 17
"speedRoundStart"Symbol 197 MovieClip Frame 17
"speedRoundStart"Symbol 210 MovieClip Frame 17
"speedRoundStart"Symbol 223 MovieClip Frame 17
"speedRoundStart"Symbol 236 MovieClip Frame 17
"speedRoundStart"Symbol 247 MovieClip Frame 17
"speedRoundStart"Symbol 255 MovieClip Frame 17
"speedRoundWin"Symbol 264 MovieClip Frame 2
"speedRoundLose"Symbol 264 MovieClip Frame 17

Dynamic Text Variables

countSymbol 11 EditableText"000"
perTextSymbol 47 EditableText""
countSymbol 149 EditableText"000"
countSymbol 164 EditableText"000"
countSymbol 177 EditableText"000"
countSymbol 190 EditableText"000"
countSymbol 203 EditableText"000"
countSymbol 216 EditableText"000"
countSymbol 229 EditableText"000"
countSymbol 242 EditableText"000"
countSymbol 250 EditableText"000"
countSymbol 258 EditableText"000"
countSymbol 269 EditableText"000"
_parent.countSymbol 276 EditableText""




http://swfchan.com/3/10889/info.shtml
Created: 7/6 -2019 22:29:41 Last modified: 7/6 -2019 22:29:41 Server time: 03/05 -2024 13:05:50