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

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

Cards labyrinth.swf

This is the info page for
Flash #206681

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { var LEVEL = 1; var FirstLaunch = true; var introflag = true; } frame 1 { LoadLine_mc.setMask(LoadMask_mc); var X_start = LoadMask_mc._x; var frmsLoaded; GamcoreLink_mc.onRelease = function () { getURL('http://gamcore.com', '_blank'); }; } movieClip 6 { } // unknown tag 88 length 132 movieClip 13 { } // unknown tag 88 length 86 movieClip 17 { } movieClip 20 { } movieClip 21 { frame 1 { var i; var cc = 0; var sec = 0; var intvl = 5; var crnt = 0; var advsLim = 12; var AdvArr = new Array(14); var URLsArr = new Array(14); var AdsTexts = new Array(); var StrngTmp = new String(); var httpN; var adN; advSponsored_mc._visible = false; advSponsored_mc.onRelease = function () { getURL(URLsArr[crnt], '_blank'); }; advGamcore_mc.onRelease = function () { getURL('http://gamcore.com', '_blank'); }; RedString_mc.onEnterFrame = function () { ++cc; if (cc >= 25) { cc = 0; ++sec; if (sec >= intvl) { sec = 0; ++crnt; if (crnt >= advsLim) { crnt = 0; } advSponsored_mc.advString_txt.text = AdvArr[crnt]; } } }; var reviews_xml = new XML(); reviews_xml.ignoreWhite = true; reviews_xml.onLoad = function (success) { if (success) { AdsTexts = reviews_xml.firstChild.childNodes; i = 0; while (i < AdsTexts.length) { AdvArr[i] = AdsTexts[i].firstChild.nodeValue; StrngTmp = AdsTexts[i].toString(); httpN = StrngTmp.indexOf('http'); adN = StrngTmp.indexOf('>') - 1; URLsArr[i] = StrngTmp.substring(httpN, adN); ++i; } advSponsored_mc.advString_txt.text = AdvArr[crnt]; advSponsored_mc._visible = true; } else {} }; reviews_xml.load('http://zazzybabes.com/misc/adverts.xml'); } } movieClip 24 { } movieClip 26 { } movieClip 29 { } frame 2 { frmsLoaded = Math.round((this.getBytesLoaded() / this.getBytesTotal()) * 100); LoadMask_mc._x = X_start + 1.45 * frmsLoaded; procLoad_txt.text = 'loading ' + frmsLoaded + '%'; } frame 3 { if (this._framesloaded < this._totalframes) { this.gotoAndPlay(2); } } frame 4 { stop(); LoadMask_mc._x = X_start + 145; procLoad_txt.text = 'loading 100%'; PlayGamcore_btn.onRelease = function () { play(); }; } // unknown tag 88 length 138 frame 5 { help_mc._visible = false; LEVEL = 1; } // unknown tag 88 length 143 movieClip 48 { } // unknown tag 88 length 153 // unknown tag 88 length 148 movieClip 59 { } frame 6 { Enter_btn.onRelease = function () { introflag = false; }; help_btn.onRelease = function () { help_mc._visible = !help_mc._visible; }; } frame 7 { if (introflag) { gotoAndPlay('introcyc'); } } movieClip 66 { } movieClip 69 { } frame 41 { function initset() { randomarray(); i = 1; while (i <= cardquant) { kolodaOst[i] = koloda[RND[i]]; kolodaOst[i].cacheAsBitmap = true; kolodaOst[i]._visible = true; kolodaOst[i]._x = cardsXs[i]; kolodaOst[i]._y = cardsYs[i]; kolodaOst[i].LIVE = true; cardval = RND[i] % 13; if (cardval == 0) { cardval = 13; } takemast = Math.floor(RND[i] / 13) + 1; if (RND[i] % 13 == 0) { takemast = Math.floor(RND[i] / 13); } kolodaOst[i].VALUE = cardValueAr[cardval - 1]; kolodaOst[i].MAST = takemast; ++i; } i = 1; while (i <= WallQ) { Walls[i]._visible = false; ++i; } ++W; if (W > WallQ) { W = 1; } Walls[W]._visible = true; winFlag = false; cc = 0; sec = 0; time = 0; crdQ = 0; Katz_mc._x = KatzX; Katz_mc._y = KatzY; Katz_mc._rotation = 0; pairVal = 0; twoPairsVal = 0; trixVal = 0; quatroVal = 0; pairsQnt = 0; trixQnt = 0; quatroQnt = 0; nothing = true; straitFlag = false; flushFlag = false; straitFlushFlag = false; RoyalFlushFlag = false; wt7 = 0; wt51 = 0; straitHiVal = 0; FlushHiVal = 0; i = 1; while (i <= 5) { Cards[i].pair = 0; Cards[i].tri = 0; Cards[i].quatro = 0; ++i; } i = 0; while (i <= 15) { StraightVals[i] = 0; ++i; } MyBanComb_txt.text = ''; MyBanComb_txt._visible = false; pot = bet; Pot_txt.text = pot; MyBank -= pot; BankMy_txt.text = MyBank; next_btn._visible = false; gameStep = 0; timer_mc._visible = true; timerText_mc._visible = true; NextLev_mc._visible = false; OopsLevDwn_mc._visible = false; wtPot = 0; level_txt.text = LEVEL; VictoryFlag = false; } function PokerCombMy() { pairVal = 0; twoPairsVal = 0; trixVal = 0; quatroVal = 0; quatroQnt = 0; pairsQnt = 0; trixQnt = 0; nothing = true; straitFlag = false; flushFlag = false; straitFlushFlag = false; RoyalFlushFlag = false; i = 1; while (i <= 5) { Cards[i].pair = 0; Cards[i].tri = 0; Cards[i].quatro = 0; ++i; } i = 0; while (i <= 15) { StraightVals[i] = 0; ++i; } FHPairsQnt = 0; FHTrizQnt = 0; FullHouseFlag = false; FHPairsVal = 0; FHTrixVal = 0; i = 0; while (i <= 14) { FHAr2[i] = 0; ++i; } if (crdQ < 5) { nothing = true; } else { NothHiVal = 0; i = 1; while (i <= 5) { if (Cards[i].VALUE > NothHiVal) { NothHiVal = Cards[i].VALUE; } ++i; } i = 1; while (i <= crdQ) { ++FHAr2[Cards[i].VALUE]; ++i; } i = 2; while (i <= 14) { if (FHAr2[i] > 1) { ++FHPairsQnt; if (FHAr2[i] == 2) { FHPairsVal = i; } if (FHAr2[i] == 3) { FHTrixVal = i; ++FHTrizQnt; } } ++i; } if (FHPairsQnt > 1 && FHTrizQnt == 1) { FullHouseFlag = true; nothing = false; } i = 1; while (i <= crdQ) { StraightVals[Cards[i].VALUE] = Cards[i].MAST; FlushMast = Cards[i].MAST; j = i + 1; while (j <= crdQ) { if (i != j) { if (Cards[i].VALUE == Cards[j].VALUE) { nothing = false; if (pairVal != Cards[i].VALUE) { twoPairsVal = pairVal; ++pairsQnt; nothing = false; } pairVal = Cards[i].VALUE; if (Cards[i].pair > 0) { if (Cards[i].tri > 0) { Cards[i].quatro = j; Cards[i].tri = 0; ++quatroQnt; quatroVal = Cards[i].VALUE; trixQnt = 0; trixVal = 0; nothing = false; } else { Cards[i].tri = j; ++trixQnt; trixVal = Cards[i].VALUE; --pairsQnt; } } else { Cards[i].pair = j; } } } ++j; } ++i; } FlushMast = Cards[1].MAST; if (Cards[2].MAST == FlushMast && Cards[3].MAST == FlushMast && Cards[4].MAST == FlushMast && Cards[5].MAST == FlushMast) { flushFlag = true; nothing = false; FlushHiVal = Cards[1].VALUE; i = 1; while (i <= 5) { if (Cards[i].VALUE > FlushHiVal) { FlushHiVal = Cards[i].VALUE; } ++i; } } i = 0; while (i <= 15) { if (StraightVals[i] > 0) { if (StraightVals[i + 1] > 0 && StraightVals[i + 2] > 0 && StraightVals[i + 3] > 0 && StraightVals[i + 4] > 0) { straitFlag = true; nothing = false; straitHiVal = StraightVals[i + 4]; if (StraightVals[i] == FlushMast && StraightVals[i + 1] == FlushMast && StraightVals[i + 2] == FlushMast && StraightVals[i + 3] == FlushMast && StraightVals[i + 4] == FlushMast) { straitFlushFlag = true; straitFlag = false; flushFlag = false; nothing = false; if (i == 10) { RoyalFlushFlag = true; straitFlushFlag = false; straitFlag = false; flushFlag = false; nothing = false; } } } } ++i; } } PokerCombMy2(); } function PokerCombMy2() { situaz = 0; if (nothing) { MyBanComb_txt.text = CombNothing; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 0; } if (quatroQnt > 0) { MyBanComb_txt.text = Comb4ofKind + TXTvals[quatroVal]; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; flushFlag = false; pairsQnt = 0; trixQnt = 0; situaz = 8; } if (flushFlag) { pairsQnt = 0; trixQnt = 0; MyBanComb_txt.text = CombFlush + TXTmast[FlushMast]; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 6; } if (straitFlag) { pairsQnt = 0; trixQnt = 0; MyBanComb_txt.text = CombStraight; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 5; } if (straitFlushFlag) { pairsQnt = 0; trixQnt = 0; MyBanComb_txt.text = CombStraitFlush; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 9; } if (RoyalFlushFlag) { pairsQnt = 0; trixQnt = 0; MyBanComb_txt.text = CombRoyalFlush; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 10; } if (FullHouseFlag) { pairsQnt = 0; trixQnt = 0; MyBanComb_txt.text = CombFullHouse + TXTvals[FHTrixVal] + ' AND ' + TXTvals[FHPairsVal]; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 7; } if (pairsQnt == 1) { if (pairVal >= 11) { pairsQnt = 0; MyBanComb_txt.text = Comb2Jacks + TXTvals[pairVal]; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 2; } } if (pairsQnt == 1) { MyBanComb_txt.text = Comb2ofKind + TXTvals[pairVal]; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 1; } if (pairsQnt == 2) { if (twoPairsVal > pairVal) { MyBanComb_txt.text = Comb2Pairs + TXTvals[twoPairsVal] + ' AND ' + TXTvals[pairVal]; } else { MyBanComb_txt.text = Comb2Pairs + TXTvals[pairVal] + ' AND ' + TXTvals[twoPairsVal]; } MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 3; } if (trixQnt == 1) { MyBanComb_txt.text = Comb3ofKind + TXTvals[trixVal]; MyBanComb_txt.textColor = 16777215; MyBanComb_txt._visible = true; situaz = 4; } switch (situaz) { case 0: koef = -5; break; case 1: koef = 1; break; case 2: koef = 2; break; case 3: koef = 3; break; case 4: koef = 4; break; case 5: koef = 5; break; case 6: koef = 6; break; case 7: koef = 8; break; case 8: koef = 10; break; case 9: koef = 20; break; case 10: koef = 50; } gameStep = 2; if (koef > 0) { Casino_mc.gotoAndPlay(2); } else { Oops_mc.gotoAndPlay(2); } pot = pot * koef + pot; Pot_txt.text = pot; ++wtPot; gameStep = 10; } function checkHor() { var v1 = false; i = 1; while (i <= 6) { if (HorLines[i].hitTest(Katz_mc._x, Katz_mc._y, true)) { crntHor = i; v1 = true; } ++i; } if (v1) { Katz_mc._y = HorLines[crntHor]._y; } else { i = 1; while (i <= 6) { if (HorLines[i].hitTest(Katz_mc)) { crntHor = i; } ++i; } Katz_mc._y = HorLines[crntHor]._y; } } function checkVert() { var v1 = false; i = 0; while (i <= 11) { if (VertLines[i].hitTest(Katz_mc._x, Katz_mc._y, true)) { crntVert = i; v1 = true; } ++i; } if (v1) { Katz_mc._x = VertLines[crntVert]._x; } else { i = 0; while (i <= 11) { if (VertLines[i].hitTest(Katz_mc)) { crntVert = i; } ++i; } Katz_mc._x = VertLines[crntVert]._x; } } function randomarray() { var v3 = new Array(ArrLim); var v5 = ArrLim; var v4; var v2; var v1; v2 = 1; while (v2 <= ArrLim) { v3[v2] = v2; ++v2; } v2 = 1; while (v2 <= ArrLim) { v4 = randRange(1, v5); RND[v2] = v3[v4]; --v5; v1 = v4; while (v1 < ArrLim) { v3[v1] = v3[v1 + 1]; ++v1; } ++v2; } } function randRange(min, max) { var v1 = Math.floor(Math.random() * (max - min + 1)) + min; return v1; } var VictoryLevel = 8; var ArrLim = 52; var RND = new Array(53); var wtLev = 0; var wtDwn = 0; var wtLoose = 0; var wtT = 0; var LevelCost = 300; var limit = 20; var LevChngFlag = false; var cc = 0; var sec = 0; var time = 0; var wtPot = 0; var j; var i = 1; var N = 1; var m = 1; var h = 1; var k; var q; var p; var winFlag = false; var HelpFlag = false; var VictoryFlag = false; var speed = 6; var Dir = 4; var moveFlag = false; var head1X; var head1Y; var myPoint1 = new Object(); var KatzX = Katz_mc._x; var KatzY = Katz_mc._y; var prevX = Katz_mc._x; var prevY = Katz_mc._y; var dirFlag = new Array(false, false, false, false, false); var Cards = new Array(10); var FHAr2 = new Array(15); var FHcnt = 0; var FHPairsQnt = 0; var FHTrizQnt = 0; var FullHouseFlag = false; var FHPairsVal = 0; var FHTrixVal = 0; var crdQ = 0; var initBAnk = 50; var bet = 10; var pot = 0; var koef = 0; var gameStep = 0; var wt7 = 0; var wt51 = 0; var pairVal = 0; var twoPairsVal = 0; var trixVal = 0; var quatroVal = 0; var pairsQnt = 0; var trixQnt = 0; var quatroQnt = 0; var nothing = true; var situaz = 0; var coinNew = new MovieClip(); var FlushMast = 0; var flushFlag = false; var RoyalFlushFlag = false; var straitFlushFlag = false; var straitFlag = false; var FHPairsQnt = 0; var FHTrizQnt = 0; var FullHouseFlag = false; var FHPairsVal = 0; var FHTrixVal = 0; var AllCoinsOut = false; var coinsLive = new Array(100); var StraightVals = new Array(15); var Comb2ofKind = 'TWO OF A KIND: '; var Comb2Pairs = 'TWO PAIRS: '; var Comb3ofKind = 'THREE OF A KIND: '; var Comb4ofKind = 'FOUR OF A KIND: '; var Comb2Jacks = 'JACKS OR BETTER: '; var CombStraight = 'STRAIGHT'; var CombFlush = 'FLUSH: '; var CombFullHouse = 'FULL HOUSE: '; var CombStraitFlush = 'STRAIGHT FLUSH'; var CombRoyalFlush = 'ROYAL FLUSH'; var CombNothing = 'NOTHING'; var kolodaOst = new Array(53); var kolodaAr = new Array(53); var usecolodAr = new Array(); var cardquant = 52; var colodaquant; var cardnamesAr = new Array('A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K'); var cardValueAr = new Array(14, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13); var TXTvals = new Array('0', '1', 'TWOS', 'THREES', 'FOURS', 'FIVES', 'SIXS', 'SEVENS', 'EIGHTS', 'NINES', 'TENS', 'JACKS', 'QUEENS', 'KINGS', 'ACES'); var TXTmast = new Array('0', 'DIAMONDS', 'HEARTS', 'SPADES', 'CLUBS'); var CardVals = new Array('0', '10', 'J', 'Q', 'K', 'A', '10', 'J', 'Q', 'K', 'A', '10', 'J', 'Q', 'K', 'A', '10', 'J', 'Q', 'K', 'A'); var CardMast = new Array(0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4); var cardBack = new Array(); var koloda = new Array(53); var cardsXs = new Array(53); var cardsYs = new Array(53); var HorLines = new Array(7); var VertLines = new Array(12); HorLines[1] = Hor1_mc; HorLines[2] = Hor2_mc; HorLines[3] = Hor3_mc; HorLines[4] = Hor4_mc; HorLines[5] = Hor5_mc; HorLines[6] = Hor6_mc; VertLines[0] = Vert0_mc; VertLines[1] = Vert1_mc; VertLines[2] = Vert2_mc; VertLines[3] = Vert3_mc; VertLines[4] = Vert4_mc; VertLines[5] = Vert5_mc; VertLines[6] = Vert6_mc; VertLines[7] = Vert7_mc; VertLines[8] = Vert8_mc; VertLines[9] = Vert9_mc; VertLines[10] = Vert10_mc; VertLines[11] = Vert11_mc; var crntHor = 1; var crntVert = 1; var W = 0; var WallQ = 3; var Walls = new Array(4); Walls[1] = walls1_mc; Walls[2] = walls2_mc; Walls[3] = walls3_mc; koloda[1] = bubnaA_mc; koloda[2] = bubna2_mc; koloda[3] = bubna3_mc; koloda[4] = bubna4_mc; koloda[5] = bubna5_mc; koloda[6] = bubna6_mc; koloda[7] = bubna7_mc; koloda[8] = bubna8_mc; koloda[9] = bubna9_mc; koloda[10] = bubna10_mc; koloda[11] = bubnaJ_mc; koloda[12] = bubnaQ_mc; koloda[13] = bubnaK_mc; koloda[14] = ChervaA_mc; koloda[15] = Cherva2_mc; koloda[16] = Cherva3_mc; koloda[17] = Cherva4_mc; koloda[18] = Cherva5_mc; koloda[19] = Cherva6_mc; koloda[20] = Cherva7_mc; koloda[21] = Cherva8_mc; koloda[22] = Cherva9_mc; koloda[23] = Cherva10_mc; koloda[24] = ChervaJ_mc; koloda[25] = ChervaQ_mc; koloda[26] = ChervaK_mc; koloda[27] = PikaA_mc; koloda[28] = Pika2_mc; koloda[29] = Pika3_mc; koloda[30] = Pika4_mc; koloda[31] = Pika5_mc; koloda[32] = Pika6_mc; koloda[33] = Pika7_mc; koloda[34] = Pika8_mc; koloda[35] = Pika9_mc; koloda[36] = Pika10_mc; koloda[37] = PikaJ_mc; koloda[38] = PikaQ_mc; koloda[39] = PikaK_mc; koloda[40] = TrefaA_mc; koloda[41] = Trefa2_mc; koloda[42] = Trefa3_mc; koloda[43] = Trefa4_mc; koloda[44] = Trefa5_mc; koloda[45] = Trefa6_mc; koloda[46] = Trefa7_mc; koloda[47] = Trefa8_mc; koloda[48] = Trefa9_mc; koloda[49] = Trefa10_mc; koloda[50] = TrefaJ_mc; koloda[51] = TrefaQ_mc; koloda[52] = TrefaK_mc; var cardval; var takemast; i = 1; while (i <= WallQ) { Walls[i]._visible = false; ++i; } Walls[1]._visible = true; i = 1; while (i <= cardquant) { cardsXs[i] = koloda[i]._x; cardsYs[i] = koloda[i]._y; ++i; } MyBank = initBAnk; BankMy_txt.text = MyBank; Pot_txt.text = pot; bet_txt.text = bet; YouWin_mc._visible = false; SeeVideo_btn._visible = false; playMore_btn._visible = false; SoundOn_btn._visible = false; timerText_mc._visible = false; help_mc._visible = false; OopsLevDwn_mc._visible = false; NextLev_mc._visible = false; YouLose_mc._visible = false; var timerXstart = timer_mc._x; timerStrip_mc.setMask(timer_mc); var CueTimes = new Array(10); if (FirstLaunch) { FirstLaunch = false; PollDancer_mc._visible = false; PollDancer_mc.gotoAndStop('C0'); CueTimes[0] = PollDancer_mc._currentframe; PollDancer_mc.gotoAndStop('C1'); CueTimes[1] = PollDancer_mc._currentframe; PollDancer_mc.gotoAndStop('C2'); CueTimes[2] = PollDancer_mc._currentframe; PollDancer_mc.gotoAndStop('C3'); CueTimes[3] = PollDancer_mc._currentframe; PollDancer_mc.gotoAndStop('C4'); CueTimes[4] = PollDancer_mc._currentframe; PollDancer_mc.gotoAndStop('C5'); CueTimes[5] = PollDancer_mc._currentframe; PollDancer_mc.gotoAndStop('C6'); CueTimes[6] = PollDancer_mc._currentframe; PollDancer_mc.gotoAndStop('C7'); CueTimes[7] = PollDancer_mc._currentframe; PollDancer_mc.gotoAndStop('C8'); CueTimes[8] = PollDancer_mc._currentframe; PollDancer_mc._visible = true; } FLVlog_mc.onEnterFrame = function () { if (!VictoryFlag) { if (!LevChngFlag) { if (PollDancer_mc._currentframe >= CueTimes[LEVEL] - 1) { PollDancer_mc.gotoAndPlay(CueTimes[LEVEL - 1]); } } if (LevChngFlag) { LevChngFlag = false; PollDancer_mc.gotoAndPlay(CueTimes[LEVEL - 1]); } } }; var Points = new Array(8); Points[1] = Katz_mc.point1_mc; Points[2] = Katz_mc.point2_mc; Points[3] = Katz_mc.point3_mc; Points[4] = Katz_mc.point4_mc; Points[5] = Katz_mc.point5_mc; Points[6] = Katz_mc.point6_mc; Points[7] = Katz_mc.point7_mc; var myListener = new Object(); myListener.onKeyDown = function () { if (winFlag) { if (Key.getCode() !== 32) { } else { if (next_btn._visible) { initset(); } } } if (!winFlag) { moveFlag = true; switch (Key.getCode()) { case 37: Dir = 3; dirFlag[Dir] = true; checkHor(); break; case 38: Dir = 4; dirFlag[Dir] = true; checkVert(); break; case 39: Dir = 1; dirFlag[Dir] = true; checkHor(); break; case 40: Dir = 2; dirFlag[Dir] = true; checkVert(); break; case 32: if (!winFlag) { i = 1; while (i <= cardquant) { if (kolodaOst[i].LIVE) { if (kolodaOst[i].hitTest(Katz_mc._x, Katz_mc._y, true)) { if (crdQ < 5) { ++crdQ; Cards[crdQ] = kolodaOst[i]; kolodaOst[i].LIVE = false; Chvak_mc.gotoAndPlay(2); } if (crdQ >= 5) { winFlag = true; timerText_mc._visible = false; PokerCombMy(); } } } ++i; } Cards[crdQ]._x = CardPoint1_mc._x + (crdQ - 1) * 55; Cards[crdQ]._y = CardPoint1_mc._y; moveFlag = false; } } } }; myListener.onKeyUp = function () { switch (Key.getCode()) { case 37: dirFlag[3] = false; break; case 38: dirFlag[4] = false; break; case 39: dirFlag[1] = false; break; case 40: dirFlag[2] = false; } if (!dirFlag[1] && !dirFlag[2] && !dirFlag[3] && !dirFlag[4]) { moveFlag = false; } }; Key.addListener(myListener); initset(); stop(); Katz_mc.onEnterFrame = function () { prevX = Katz_mc._x; prevY = Katz_mc._y; if (moveFlag) { switch (Dir) { case 1: this._x += speed; break; case 2: this._y += speed; break; case 3: this._x -= speed; break; case 4: this._y -= speed; } this._rotation = (Dir - 1) * 90; this.footsMove_mc.play(); } else { this.footsMove_mc.gotoAndStop('footStop'); } i = 1; while (i <= 7) { myPoint1.x = Points[i]._x; myPoint1.y = Points[i]._y; this.localToGlobal(myPoint1); head1X = myPoint1.x; head1Y = myPoint1.y; if (Walls[W].hitTest(head1X, head1Y, true)) { moveFlag = false; Katz_mc._x = prevX; Katz_mc._y = prevY; } ++i; } }; timer_mc.onEnterFrame = function () { if (!HelpFlag) { if (!winFlag) { ++cc; if (cc >= 25) { cc = 0; ++sec; ++time; } this._x = timerXstart + (this._width / 100) * Math.round((time / limit) * 100); if (time >= limit) { winFlag = true; AlarmSound_mc.gotoAndPlay(2); PokerCombMy(); ++wtT; timerText_mc._visible = false; } } } if (wtT > 0) { ++wtT; if (wtT >= 50) { wtT = 0; next_btn._visible = true; } } if (wtLev > 0) { ++wtLev; if (wtLev >= 25) { wtLev = 0; ++LEVEL; level_txt.text = LEVEL; if (LEVEL >= 5) { limit = 15; } LevChngFlag = true; VictorySound_mc.gotoAndPlay(2); NextLev_mc._visible = true; MyBank = initBAnk; BankMy_txt.text = MyBank; if (LEVEL == VictoryLevel) { YouWin_mc._visible = true; next_btn._visible = false; playMore_btn._visible = true; timer_mc._visible = false; SeeVideo_btn._visible = true; } } } if (wtPot > 0) { ++wtPot; if (wtPot > 50) { wtPot = 0; MyBank += pot; BankMy_txt.text = MyBank; pot = 0; Pot_txt.text = pot; if (koef > 0) { coinsSound_mc.gotoAndPlay(2); } if (LEVEL < VictoryLevel) { next_btn._visible = true; } if (MyBank <= 0) { if (LEVEL == 1) { level_txt.text = LEVEL; playMore_btn._visible = true; ++wtLoose; next_btn._visible = false; winFlag = true; } if (LEVEL > 1) { ++wtDwn; LewDownFlag = true; gameStep = 12; } } if (MyBank > LevelCost) { if (LEVEL < VictoryLevel) { ++wtLev; gameStep = 3; } } } } if (wtDwn > 0) { ++wtDwn; if (wtDwn >= 25) { wtDwn = 0; --LEVEL; level_txt.text = LEVEL; if (LEVEL < 5) { limit = 20; } MyBank = initBAnk; BankMy_txt.text = MyBank; pot = 0; Pot_txt.text = pot; LevChngFlag = true; OopsLevDwn_mc._visible = true; SoundOops_mc.play(); } } if (wtLoose > 0) { ++wtLoose; if (wtLoose > 25) { wtLoose = 0; level_txt.text = LEVEL; SoundOops_mc.play(); OopsLevDwn_mc._visible = true; playMore_btn._visible = true; YouLose_mc._visible = true; } } }; YouWin_mc.onEnterFrame = function () { if (this._visible) { if (this._xscale < 300) { this._xscale += 2; this._yscale = this._xscale; } else { this._visible = false; this._xscale = 100; this._yscale = this._xscale; } } }; YouLose_mc.onEnterFrame = function () { if (this._visible) { if (this._xscale < 300) { this._xscale += 2; this._yscale += 8; } else { this._visible = false; this._xscale = 100; this._yscale = this._xscale; } } }; next_btn.onRelease = function () { initset(); }; playMore_btn.onRelease = function () { FirstLaunch = true; introflag = true; gotoAndPlay('introwait'); }; END_btn.onRelease = function () { FirstLaunch = true; introflag = true; gotoAndPlay('introwait'); }; Help_btn.onRelease = function () { help_mc._visible = !help_mc._visible; HelpFlag = !HelpFlag; }; SoundOff_btn.onRelease = function () { this._visible = false; SoundOn_btn._visible = true; }; SoundOn_btn.onRelease = function () { this._visible = false; SoundOff_btn._visible = true; }; MoreGames_btn.onRelease = function () { getURL('http://gamcore.com', '_blank'); }; SeeVideo_btn.onRelease = function () { NextLev_mc._visible = false; VictoryFlag = true; PollDancer_mc.gotoAndPlay(1); }; } movieClip 71 { } movieClip 73 { } movieClip 77 { } movieClip 81 { frame 1 { var VALUE; var MAST; } } movieClip 84 { frame 1 { var VALUE; var MAST; } } movieClip 88 { frame 1 { var VALUE; var MAST; } } movieClip 92 { frame 1 { var VALUE; var MAST; } } movieClip 96 { frame 1 { var VALUE; var MAST; } } movieClip 100 { frame 1 { var VALUE; var MAST; } } movieClip 104 { frame 1 { var VALUE; var MAST; } } movieClip 107 { frame 1 { var VALUE; var MAST; } } movieClip 110 { frame 1 { var VALUE; var MAST; } } movieClip 113 { frame 1 { var VALUE; var MAST; } } movieClip 117 { frame 1 { var VALUE; var MAST; } } movieClip 122 { frame 1 { var VALUE; var MAST; } } movieClip 126 { frame 1 { var VALUE; var MAST; } } movieClip 128 { frame 1 { var VALUE; var MAST; } } movieClip 130 { frame 1 { var VALUE; var MAST; } } movieClip 132 { frame 1 { var VALUE; var MAST; } } movieClip 134 { frame 1 { var VALUE; var MAST; } } movieClip 136 { frame 1 { var VALUE; var MAST; } } movieClip 138 { frame 1 { var VALUE; var MAST; } } movieClip 140 { frame 1 { var VALUE; var MAST; } } movieClip 142 { frame 1 { var VALUE; var MAST; } } // unknown tag 88 length 197 movieClip 146 { frame 1 { var VALUE; var MAST; } } movieClip 148 { frame 1 { var VALUE; var MAST; } } movieClip 150 { frame 1 { var VALUE; var MAST; } } movieClip 152 { frame 1 { var VALUE; var MAST; } } movieClip 154 { frame 1 { var VALUE; var MAST; } } movieClip 157 { frame 1 { var VALUE; var MAST; } } movieClip 161 { frame 1 { var VALUE; var MAST; } } movieClip 164 { frame 1 { var VALUE; var MAST; } } movieClip 167 { frame 1 { var VALUE; var MAST; } } movieClip 170 { frame 1 { var VALUE; var MAST; } } movieClip 173 { frame 1 { var VALUE; var MAST; } } movieClip 176 { frame 1 { var VALUE; var MAST; } } movieClip 179 { frame 1 { var VALUE; var MAST; } } movieClip 182 { frame 1 { var VALUE; var MAST; } } movieClip 185 { frame 1 { var VALUE; var MAST; } } movieClip 189 { frame 1 { var VALUE; var MAST; } } movieClip 193 { frame 1 { var VALUE; var MAST; } } movieClip 197 { frame 1 { var VALUE; var MAST; } } movieClip 200 { } movieClip 201 { frame 1 { var VALUE; var MAST; } } movieClip 203 { frame 1 { var VALUE; var MAST; } } movieClip 205 { frame 1 { var VALUE; var MAST; } } movieClip 207 { frame 1 { var VALUE; var MAST; } } movieClip 209 { frame 1 { var VALUE; var MAST; } } movieClip 211 { frame 1 { var VALUE; var MAST; } } movieClip 213 { frame 1 { var VALUE; var MAST; } } movieClip 215 { frame 1 { var VALUE; var MAST; } } movieClip 217 { frame 1 { var VALUE; var MAST; } } movieClip 219 { frame 1 { var VALUE; var MAST; } } movieClip 221 { frame 1 { var VALUE; var MAST; } } movieClip 223 { frame 1 { var VALUE; var MAST; } } movieClip 225 { frame 1 { var VALUE; var MAST; } } movieClip 228 { } movieClip 232 { } movieClip 236 { } movieClip 239 { } movieClip 241 { } movieClip 243 { } movieClip 245 { } movieClip 248 { frame 16 { gotoAndPlay('footsGo'); } } movieClip 252 { } movieClip 254 { } movieClip 255 { } // unknown tag 88 length 51 // unknown tag 88 length 110 movieClip 266 { } movieClip 273 { } movieClip 276 { } movieClip 279 { } movieClip 303 { } movieClip 306 { } movieClip 309 { frame 1 { stop(); } } movieClip 311 { frame 1 { stop(); } frame 46 { gotoAndStop(1); } } movieClip 314 { frame 1 { stop(); } } movieClip 316 { frame 1 { stop(); } } movieClip 318 { frame 1 { stop(); } frame 47 { gotoAndStop(1); } } movieClip 321 { frame 1 { stop(); } } movieClip 323 { frame 1 { stop(); } }




http://swfchan.com/42/206681/info.shtml
Created: 9/10 -2018 18:54:01 Last modified: 9/10 -2018 18:54:01 Server time: 15/11 -2024 02:11:07