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

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

Horror Icons Memory Game.swf

This is the info page for
Flash #72277

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


ActionScript [AS1/AS2]
Combined Code
button 2 { on (release) { getURL('http://www.newgrounds.com', '_blank'); } } movieClip 9 { } movieClip 17 { } movieClip 22 { } movieClip 25 { } movieClip 29 { frame 40 { stop(); } } movieClip 40 { } button 41 { on (release) { startMovie(); } } movieClip 42 { frame 1 { function timerHandler() { if (!loadingComplete) { var v4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * v4; if (v4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop('loaded'); } return undefined; } } dt = getTimer() - time; time += dt; frameAccum += dt; var v3 = 0; for (;;) { if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break; advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } frameAccum -= FRAME_TIME; v3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return undefined; } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof clip[childName] == 'movieclip') { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.33333333333334; var AUTO_PLAY = true; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler(); } frame 51 { stop(); } } frame 2 { total = Math.round(_root.getBytesTotal() / 1024); loaded = Math.round(_root.getBytesLoaded() / 1024); Ratio = Math.round((loaded / total) * 100); StartingPoint = -40.8; PosGauge = StartingPoint + Math.floor(40.8 * (Ratio / 100) * 100) / 100; if (loaded >= total) { gotoAndPlay(5); } } // unknown tag 88 length 83 // unknown tag 88 length 81 movieClip 47 { } movieClip 48 { } button 52 { on (release) { getURL('http://www.shade.ca/games/beattomgreen/default.asp?lg=en', _blank); } } button 53 { on (release) { getURL('http://www.shade.ca/games/rackie/thegame.asp', _blank); } } button 54 { on (release) { getURL('http://corp.shade.ca/bw', _blank); } } movieClip 66 { } button 67 { on (release) { getURL('http://corp.shade.ca', _blank); } } movieClip 70 { } button 71 { on (release) { getURL('http://www.lavablast.com', _blank); } } button 72 { on (release) { getURL('http://steve.shade.ca', _blank); } } movieClip 80 { } movieClip 81 { } movieClip 85 { } movieClip 87 { } movieClip 89 { instance Gauge_Bar of movieClip 87 { onClipEvent (enterFrame) { this._x = _root.PosGauge; _root.pos.text = this._x; } } } movieClip 92 { } frame 3 { gotoAndPlay(2); } movieClip 119 { frame 1 { this.stop(); } } movieClip 120 { } movieClip 121 noMatch { frame 1 { } instance of movieClip 120 { onClipEvent (load) { counter = 0; } onClipEvent (enterFrame) { counter += 1; if (Math.round(counter / _root.FPS) > _root.Delai) { _root[_root.buffer1].gotoAndPlay(30); _root[_root.buffer2].gotoAndPlay(30); _root.Status = ''; removeMovieClip(_parent); } } } } movieClip 122 matchup { frame 1 { } instance of movieClip 120 { onClipEvent (load) { counter = 0; } onClipEvent (enterFrame) { counter += 1; if (Math.round(counter / _root.FPS) > _root.Delai) { _root.Status = ''; _root.NbrMatchup += 1; _root.StarTrigger = 1; _root.Points += Math.round(_root.PointValue * _root.NbrMatchup); if (_root.NbrMatchup >= _root.NbrCartes / 2) { _root.lvl_UP(); } _root.RemoveCards(_root.Takeout1, _root.Takeout2); removeMovieClip(_parent); } } } } button 123 { on (release) { _root.Reset(); gotoAndPlay(2); } } movieClip 127 { } movieClip 129 { } movieClip 132 { } movieClip 135 { } movieClip 138 { } movieClip 140 { } movieClip 143 { } button 145 { on (release) { gotoAndPlay(5); } } movieClip 148 { } movieClip 151 { } movieClip 154 { } movieClip 157 { } movieClip 160 { frame 29 { stop(); } } movieClip 161 lvlUp { frame 1 { stop(); } frame 2 { removeMovieClip(this); } } movieClip 164 { } movieClip 181 { } movieClip 183 { } movieClip 184 Flip { frame 11 { _parent.pic._visible = true; removeMovieClip(this); stop(); } } movieClip 186 { frame 41 { this.stop(); } } movieClip 188 { frame 41 { this.stop(); } } movieClip 190 { frame 41 { this.stop(); } } movieClip 192 { frame 41 { this.stop(); } } movieClip 194 { frame 41 { this.stop(); } } movieClip 196 { frame 41 { this.stop(); } } movieClip 198 { frame 41 { this.stop(); } } movieClip 200 { frame 41 { this.stop(); } } movieClip 202 { frame 41 { this.stop(); } } movieClip 204 { frame 41 { this.stop(); } } movieClip 206 { frame 41 { this.stop(); } } movieClip 208 { frame 41 { this.stop(); } } movieClip 210 { frame 41 { this.stop(); } } movieClip 212 { frame 41 { this.stop(); } } movieClip 214 { frame 41 { this.stop(); } } movieClip 216 { frame 41 { this.stop(); } } movieClip 218 { frame 41 { this.stop(); } } movieClip 220 { frame 41 { this.stop(); } } movieClip 222 { frame 41 { this.stop(); } } movieClip 224 { frame 41 { this.stop(); } } movieClip 226 { frame 41 { this.stop(); } } movieClip 228 { frame 20 { this.stop(); } } movieClip 230 { frame 41 { this.stop(); } } movieClip 232 { frame 41 { this.stop(); } } movieClip 233 { frame 1 { removeMovieClip(this); } frame 11 { stop(); _parent.gotoAndPlay(1); } } movieClip 234 Carte { frame 1 { LaCarte._visible = true; stop(); } instance LaCarte of movieClip 183 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; if (myValue == undefined) { myValue = _root.GetValue(); } } onClipEvent (release) { if (_root.Status == '') { if (flipped == undefined) { _root.NbrCoups += 1; TheFrame = myValue + 1; myName = (eval(_parent))._name; info = new Array(); info[0] = myName; info[1] = myValue; _root.History.push(info); _root.SFlip.start('', 1); _root.CheckCards(TheFrame); } } } } frame 2 { LaCarte._visible = false; stop(); } frame 2 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 186 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 3 { LaCarte._visible = false; stop(); } frame 3 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 188 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 4 { LaCarte._visible = false; stop(); } frame 4 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 190 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 5 { LaCarte._visible = false; stop(); } frame 5 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 192 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 6 { LaCarte._visible = false; stop(); } frame 6 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 194 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 7 { LaCarte._visible = false; stop(); } frame 7 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 196 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 8 { LaCarte._visible = false; stop(); } frame 8 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 198 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 9 { LaCarte._visible = false; stop(); } frame 9 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 200 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 10 { LaCarte._visible = false; stop(); } frame 10 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 202 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 11 { LaCarte._visible = false; stop(); } frame 11 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 204 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 12 { LaCarte._visible = false; stop(); } frame 12 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 206 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 13 { LaCarte._visible = false; stop(); } frame 13 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 208 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 14 { LaCarte._visible = false; stop(); } frame 14 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 210 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 15 { LaCarte._visible = false; stop(); } frame 15 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 212 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 16 { LaCarte._visible = false; stop(); } frame 16 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 214 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 17 { LaCarte._visible = false; stop(); } frame 17 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 216 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 18 { LaCarte._visible = false; stop(); } frame 18 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 218 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 19 { LaCarte._visible = false; stop(); } frame 19 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 220 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 20 { LaCarte._visible = false; stop(); } frame 20 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 222 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 21 { LaCarte._visible = false; stop(); } frame 21 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 224 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 22 { LaCarte._visible = false; stop(); } frame 22 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 226 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 23 { LaCarte._visible = false; stop(); } frame 23 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 228 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 24 { LaCarte._visible = false; stop(); } frame 24 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 230 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 25 { LaCarte._visible = false; stop(); } frame 25 { pic._visible = false; attachMovie('Flip', 'Flip', 400); this.Flip._width = _root.Dimension; this.Flip._height = _root.Dimension; this.Flip._x = 0; this.Flip._y = 0; } instance pic of movieClip 232 { onClipEvent (load) { this._width = _root.Dimension; this._height = this._width; } } frame 30 { LaCarte._visible = false; stop(); } frame 30 { UnFlipping._width = _root.Dimension; UnFlipping._height = _root.Dimension; } } frame 5 { stop(); } movieClip 239 { } movieClip 240 { } button 242 { on (release) { gotoAndPlay(6); } } frame 6 { _root.BgMusic = new Sound(_root.VolumeContainer.createEmptyMovieClip('SoundBg', _root.VolumeContainer.getNextHighestDepth())); _root.BgMusic.attachSound('BgMusic.mp3'); _root.BgMusic.setVolume(65); _root.BgMusic.onSoundComplete = function () { BgMusic.start(0, 9999); }; _root.BgMusic.start(0, 9999); } frame 6 { SAll = new Sound(); SAll.setVolume(150); SFlip = new Sound(_root.VolumeContainer.createEmptyMovieClip('SoundFlip', _root.VolumeContainer.getNextHighestDepth())); SFlip.attachSound('cardflip.mp3'); SFlip.setVolume(800); SBook = new Sound(); SBook.attachSound('Sound06'); SBowling = new Sound(); SBowling.attachSound('Sound07'); SDuck = new Sound(); SDuck.attachSound('Sound02'); SFlower = new Sound(); SFlower.attachSound('Sound08'); SIcecream = new Sound(); SIcecream.attachSound('Sound05'); SScissors = new Sound(); SScissors.attachSound('Sound03'); SShoes = new Sound(); SShoes.attachSound('Sound04'); SXylophone = new Sound(); SXylophone.attachSound('Sound01'); SBook2 = new Sound(); SBook2.attachSound('Sound14'); SBowling2 = new Sound(); SBowling2.attachSound('Sound15'); SDuck2 = new Sound(); SDuck2.attachSound('Sound10'); SFlower2 = new Sound(); SFlower2.attachSound('Sound16'); SIcecream2 = new Sound(); SIcecream2.attachSound('Sound13'); SScissors2 = new Sound(); SScissors2.attachSound('Sound11'); SShoes2 = new Sound(); SShoes2.attachSound('Sound12'); SXylophone2 = new Sound(); SXylophone2.attachSound('Sound09'); SBook3 = new Sound(); SBook3.attachSound('Sound22'); SBowling3 = new Sound(); SBowling3.attachSound('Sound23'); SDuck3 = new Sound(); SDuck3.attachSound('Sound18'); SFlower3 = new Sound(); SFlower3.attachSound('Sound24'); SIcecream3 = new Sound(); SIcecream3.attachSound('Sound21'); SScissors3 = new Sound(); SScissors3.attachSound('Sound19'); SShoes3 = new Sound(); SShoes3.attachSound('Sound20'); SXylophone3 = new Sound(); SXylophone3.attachSound('Sound17'); } frame 6 { function Set_NbrCartes() { NbrCartes = NbrCartes_base + CarteStep * Niveau; if (NbrCartes > MaxImg * 2) { NbrCartes = MaxImg * 2; } } function Spawn() { myColumn = 1; myRow = 1; iLevel = Niveau; iCases = iLevel * 4 + 8; if (iCases > MaxImg * 2) { iCases = MaxImg * 2; } iSideLength = Math.ceil(Math.sqrt(iCases)); dMiddle = (iSideLength - 1) / 2; iMissing = iSideLength * iSideLength - iCases - iSideLength % 2; i = 0; while (i < iSideLength) { j = 0; while (j < iSideLength) { dDist = Math.sqrt(Math.pow(dMiddle - i, 2) + Math.pow(dMiddle - j, 2)); if (dDist != 0) { if (iMissing >= 4 && dDist >= Math.sqrt(2 * dMiddle * dMiddle) || iMissing >= 8 && dDist >= Math.sqrt(2 * (dMiddle - 1) * dMiddle) && (iMissing == 8 && (i == 0 || i == iSideLength - 1) || iMissing > 8)) { myColumn += 1; } else { _root.attachMovie('Carte', 'Carte' + Carte_counter, Carte_counter + CarteRange); this['Carte' + Carte_counter]._x = (Dimension + Space) * (myColumn - 1) + PosX; this['Carte' + Carte_counter]._y = (Dimension + Space) * (myRow - 1) + PosY; myColumn += 1; ++Carte_counter; } } else { myColumn += 1; } ++j; } myColumn = 1; myRow += 1; ++i; } } function Shuffling_Cards() { Array_temp = new Array(); CarteVal = 1; k = 0; while (k < NbrCartes) { Array_temp[k] = CarteVal; Array_temp[k + 1] = CarteVal; CarteVal += 1; k += 2; } g = 0; while (g < NbrCartes) { Num = random(Array_temp.length); _root.DeckOfCards[g] = Array_temp[Num]; Array_temp.splice(Num, 1); ++g; } _root.myArray.text = DeckOfCards; } function GetValue() { valeur = DeckOfCards.pop(); return valeur; } function Reset() { _root.Interface.Background.gotoAndStop(1); _root.Interface.Reviews.gotoAndStop(1); Carte_counter = 0; CarteRange = 100; DeckOfCards = new Array(); DeckCounter = 0; NbrCoups = 0; NbrEchec = 0; NbrMatchup = 0; Status = ''; Set_NbrCartes(); Shuffling_Cards(); SetDisplay(); Spawn(); _root.Start_Clock = getTimer(); _root.Timebuffer = 0; _root.Pause = 0; _root.myNiveau.text = _root.Niveau + 1; _root.myNbrCartes.text = _root.NbrCartes; } function CheckCards(LeFrame) { if (_root.History.length > 1) { _root.Status = 'checking'; if (_root.History[0][1] == _root.History[1][1]) { maCarte2 = _root.History[1][0]; this[maCarte2].gotoAndStop(LeFrame); (eval(_root.MatchUp_Sound[LeFrame])).start('', 1); _root.Takeout1 = _root.History[0][0]; _root.Takeout2 = _root.History[1][0]; _root.Match(); } else { maCarte1 = _root.History[0][0]; maCarte2 = _root.History[1][0]; this[maCarte2].gotoAndStop(LeFrame); if (NbrEchec * 10 < _root.PointValue / 2) { _root.NbrEchec += 1; } _root.buffer1 = maCarte1; _root.buffer2 = maCarte2; _root.Points -= Math.round(200 * NbrEchec / (Niveau + 1)); _root.No_Match(); } _root.History.shift(); _root.History.shift(); } else { maCarte1 = _root.History[0][0]; this[maCarte1].gotoAndStop(LeFrame); } } function SetDisplay() { while (Row * Column < NbrCartes) { if (Max_width <= Max_height) { if (Row <= Column) { Row += 1; } else { Column += 1; } Env = Max_width; Dimension = Math.floor(Env / Column) - (Column - 1) * Space; while (Dimension * Row + (Row - 1) * Space > Max_height) { Dimension -= 1; } while (Dimension * Row + (Row - 1) * Space < Max_height) { if (Dimension * Column + (Column - 1) * Space < Max_width) { Dimension += 1; } else { break; } } } else { if (Column <= Row) { Column += 1; } else { Row += 1; } Env = Max_height; Dimension = Math.floor(Env / Row) - (Row - 1) * Space; while (Dimension * Column + (Column - 1) * Space > Max_width) { Dimension -= 1; } while (Dimension * Column + (Column - 1) * Space < Max_width) { if (Dimension * Row + (Row - 1) * Space < Max_height) { Dimension += 1; } else { break; } } } } } function ClockDisplay(leTemps) { if (leTemps < 3600) { minute = Math.floor(leTemps / 60); seconde = leTemps % 60; } else { minute = 59; seconde = 59; } space = ' '; if (seconde < 10) { sec_space = '0'; } else { sec_space = ''; } if (minute < 10) { min_space = '0'; newTime = min_space + minute + space + sec_space + seconde; return newTime; } min_space = ''; newTime = min_space + minute + space + sec_space + seconde; return newTime; } function RemoveCards(Item1, Item2) { _root.myNbrCartes.text -= 2; _root[Item1].removeMovieClip(); _root[Item2].removeMovieClip(); } function No_Match() { _root.attachMovie('noMatch', 'noMatch', 300); _root.noMatch._x = 50; _root.noMatch._y = 25; } function Match() { _root.attachMovie('matchup', 'matchup', 300); _root.matchup._x = 50; _root.matchup._y = 25; } function lvl_UP() { _root.Niveau += 1; _root.Pause = 1; _root.attachMovie('lvlUp', 'lvlUp', 300); _root.lvlUp._x = 180; _root.lvlUp._y = 185; } Niveau = 0; PointValue = 2000; NbrCoups = 0; NbrEchec = 0; NbrMatchup = 0; Points = 0; Max_width = 268; Max_height = 268; NbrCartes_base = 8; NbrCartes = 0; MaxImg = 24; CarteStep = 4; Carte_counter = 0; CarteRange = 100; Dimension = 83.5; DeckOfCards = new Array(); DeckCounter = 0; History = new Array(); buffer1 = 0; buffer2 = 0; Status = ''; Takeout1 = ''; Takeout2 = ''; Point_space = new Array(); myTrigger = 0; Timebuffer = 0; Row = 1; Column = 3; Space = 5; PosX = 52 - Space; PosY = 73 - Space; Delai = 1.6; FPS = 30; Clock = 0; Start_Clock = 0; Temps = 0; Pause = 0; MatchUp_Sound = new Array(); MatchUp_Sound[2] = 'SXylophone'; MatchUp_Sound[3] = 'SDuck'; MatchUp_Sound[4] = 'SScissors'; MatchUp_Sound[5] = 'SShoes'; MatchUp_Sound[6] = 'SIcecream'; MatchUp_Sound[7] = 'SBook'; MatchUp_Sound[8] = 'SBowling'; MatchUp_Sound[9] = 'SFlower'; MatchUp_Sound[10] = 'SXylophone2'; MatchUp_Sound[11] = 'SDuck2'; MatchUp_Sound[12] = 'SScissors2'; MatchUp_Sound[13] = 'SShoes2'; MatchUp_Sound[14] = 'SIcecream2'; MatchUp_Sound[15] = 'SBook2'; MatchUp_Sound[16] = 'SBowling2'; MatchUp_Sound[17] = 'SFlower2'; MatchUp_Sound[18] = 'SXylophone3'; MatchUp_Sound[19] = 'SDuck3'; MatchUp_Sound[20] = 'SScissors3'; MatchUp_Sound[21] = 'SShoes3'; MatchUp_Sound[22] = 'SIcecream3'; MatchUp_Sound[23] = 'SBook3'; MatchUp_Sound[24] = 'SBowling3'; MatchUp_Sound[25] = 'SFlower3'; Set_NbrCartes(); Shuffling_Cards(); SetDisplay(); Spawn(); } movieClip 243 { } movieClip 245 { } movieClip 246 { } instance of movieClip 246 { onClipEvent (load) { _root.Start_Clock = getTimer(); myTrigger = 0; } onClipEvent (enterFrame) { if (_root.Pause == 0) { _root.Clock = getTimer(); _root.Temps = Math.floor(_root.Clock / 1000) - Math.floor(_root.Start_Clock / 1000); _root.Aiguille._rotation = (_root.Clock - _root.Start_Clock) * 360 / 1000 / 60; if (_root.Timebuffer < _root.Temps) { _root.myTrigger = 1; } if (_root.myTrigger == 1) { _root.Points -= 100; _root.myTrigger = 0; _root.Timebuffer += 1; } _root.myTime.text = _root.ClockDisplay(_root.Temps); if (_root.Points < 0) { _root.Points = 0; } _root.myPointage.text = _root.Points; } } } button 252 { on (release) { _root.pauseMusicTime = BgMusic.position; _root.BgMusic.stop(); this.gotoAndStop(2); } } button 253 { on (release) { _root.pauseMusicTime = BgMusic.position; BgMusic.stop(); this.gotoAndStop(2); } } movieClip 255 { } button 256 { on (release) { _root.BgMusic.start(_root.pauseMusicTime / 1000, 9999); this.gotoAndStop(1); } } movieClip 258 { } movieClip 259 { frame 1 { stop(); } frame 2 { stop(); } instance of movieClip 258 { onClipEvent (release) { BgMusic.start(_root.pauseMusicTime / 1000); this.gotoAndStop(1); } } } movieClip 266 { } button 268 { on (release) { this.createEmptyMovieClip('ClickSound1', this.getNextHighestDepth()); this.ClickSound1 = new Sound(); this.ClickSound1.attachSound(this.CurrentSound1); this.ClickSound1.start(); this.createEmptyMovieClip('ClickSound2', this.getNextHighestDepth()); this.ClickSound2 = new Sound(); this.ClickSound2.attachSound(this.CurrentSound2); this.ClickSound2.start(); getURL('http://www.shade.ca/getarticle.asp?i=' + this.CurrentReview, _blank); } } movieClip 498 { frame 1 { this.gotoAndStop(random(57) + 2); } frame 1 { } frame 2 { this.stop(); } frame 2 { this.CurrentSound1 = 'Sound01'; this.CurrentSound2 = ''; } frame 2 { this.CurrentReview = 36; } frame 3 { this.stop(); } frame 3 { this.CurrentSound1 = 'Sound01'; this.CurrentSound2 = ''; } frame 3 { this.CurrentReview = 73; } frame 4 { this.stop(); } frame 4 { this.CurrentSound1 = 'Sound01'; this.CurrentSound2 = ''; } frame 4 { this.CurrentReview = 75; } frame 5 { this.stop(); } frame 5 { this.CurrentSound1 = 'Sound01'; this.CurrentSound2 = ''; } frame 5 { this.CurrentReview = 77; } frame 6 { this.stop(); } frame 6 { this.CurrentSound1 = 'Sound01'; this.CurrentSound2 = ''; } frame 6 { this.CurrentReview = 141; } frame 7 { this.stop(); } frame 7 { this.CurrentSound1 = 'Sound01'; this.CurrentSound2 = ''; } frame 7 { this.CurrentReview = 171; } frame 8 { this.stop(); } frame 8 { this.CurrentSound1 = 'Sound02'; this.CurrentSound2 = ''; } frame 8 { this.CurrentReview = 113; } frame 9 { this.stop(); } frame 9 { this.CurrentSound1 = 'Sound02'; this.CurrentSound2 = ''; } frame 9 { this.CurrentReview = 230; } frame 10 { this.stop(); } frame 10 { this.CurrentSound1 = 'Sound02'; this.CurrentSound2 = ''; } frame 10 { this.CurrentReview = 228; } frame 11 { this.stop(); } frame 11 { this.CurrentSound1 = 'Sound02'; this.CurrentSound2 = ''; } frame 11 { this.CurrentReview = 252; } frame 12 { this.stop(); } frame 12 { this.CurrentSound1 = 'Sound02'; this.CurrentSound2 = ''; } frame 12 { this.CurrentReview = 264; } frame 13 { this.stop(); } frame 13 { this.CurrentSound1 = 'Sound02'; this.CurrentSound2 = ''; } frame 13 { this.CurrentReview = 175; } frame 14 { this.stop(); } frame 14 { this.CurrentSound1 = 'Sound02'; this.CurrentSound2 = ''; } frame 14 { this.CurrentReview = 222; } frame 15 { this.stop(); } frame 15 { this.CurrentSound1 = 'Sound02'; this.CurrentSound2 = ''; } frame 15 { this.CurrentReview = 270; } frame 16 { this.stop(); } frame 16 { this.CurrentSound1 = 'Sound01'; this.CurrentSound2 = 'Sound02'; } frame 16 { this.CurrentReview = 567; } frame 17 { this.stop(); } frame 17 { this.CurrentSound1 = 'Sound03'; this.CurrentSound2 = ''; } frame 17 { this.CurrentReview = 67; } frame 18 { this.stop(); } frame 18 { this.CurrentSound1 = 'Sound03'; this.CurrentSound2 = ''; } frame 18 { this.CurrentReview = 141; } frame 19 { this.stop(); } frame 19 { this.CurrentSound1 = 'Sound03'; this.CurrentSound2 = ''; } frame 19 { this.CurrentReview = 286; } frame 20 { this.stop(); } frame 20 { this.CurrentSound1 = 'Sound03'; this.CurrentSound2 = ''; } frame 20 { this.CurrentReview = 23; } frame 21 { this.stop(); } frame 21 { this.CurrentSound1 = 'Sound03'; this.CurrentSound2 = ''; } frame 21 { this.CurrentReview = 705; } frame 22 { this.stop(); } frame 22 { this.CurrentSound1 = 'Sound04'; this.CurrentSound2 = ''; } frame 22 { this.CurrentReview = 306; } frame 23 { this.stop(); } frame 23 { this.CurrentSound1 = 'Sound04'; this.CurrentSound2 = ''; } frame 23 { this.CurrentReview = 214; } frame 24 { this.stop(); } frame 24 { this.CurrentSound1 = 'Sound04'; this.CurrentSound2 = ''; } frame 24 { this.CurrentReview = 346; } frame 25 { this.stop(); } frame 25 { this.CurrentSound1 = 'Sound04'; this.CurrentSound2 = ''; } frame 25 { this.CurrentReview = 465; } frame 26 { this.stop(); } frame 26 { this.CurrentSound1 = 'Sound05'; this.CurrentSound2 = ''; } frame 26 { this.CurrentReview = 615; } frame 27 { this.stop(); } frame 27 { this.CurrentSound1 = 'Sound06'; this.CurrentSound2 = ''; } frame 27 { this.CurrentReview = 185; } frame 28 { this.stop(); } frame 28 { this.CurrentSound1 = 'Sound06'; this.CurrentSound2 = ''; } frame 28 { this.CurrentReview = 593; } frame 29 { this.stop(); } frame 29 { this.CurrentSound1 = 'Sound06'; this.CurrentSound2 = ''; } frame 29 { this.CurrentReview = 81; } frame 30 { this.stop(); } frame 30 { this.CurrentSound1 = 'Sound06'; this.CurrentSound2 = ''; } frame 30 { this.CurrentReview = 559; } frame 31 { this.stop(); } frame 31 { this.CurrentSound1 = 'Sound07'; this.CurrentSound2 = ''; } frame 31 { this.CurrentReview = 54; } frame 32 { this.stop(); } frame 32 { this.CurrentSound1 = 'Sound07'; this.CurrentSound2 = ''; } frame 32 { this.CurrentReview = 193; } frame 33 { this.stop(); } frame 33 { this.CurrentSound1 = 'Sound09'; this.CurrentSound2 = ''; } frame 33 { this.CurrentReview = 85; } frame 34 { this.stop(); } frame 34 { this.CurrentSound1 = 'Sound09'; this.CurrentSound2 = ''; } frame 34 { this.CurrentReview = 95; } frame 35 { this.stop(); } frame 35 { this.CurrentSound1 = 'Sound10'; this.CurrentSound2 = ''; } frame 35 { this.CurrentReview = 412; } frame 36 { this.stop(); } frame 36 { this.CurrentSound1 = 'Sound11'; this.CurrentSound2 = ''; } frame 36 { this.CurrentReview = 63; } frame 37 { this.stop(); } frame 37 { this.CurrentSound1 = 'Sound11'; this.CurrentSound2 = ''; } frame 37 { this.CurrentReview = 101; } frame 38 { this.stop(); } frame 38 { this.CurrentSound1 = 'Sound11'; this.CurrentSound2 = ''; } frame 38 { this.CurrentReview = 129; } frame 39 { this.stop(); } frame 39 { this.CurrentSound1 = 'Sound11'; this.CurrentSound2 = ''; } frame 39 { this.CurrentReview = 360; } frame 40 { this.stop(); } frame 40 { this.CurrentSound1 = 'Sound11'; this.CurrentSound2 = ''; } frame 40 { this.CurrentReview = 362; } frame 41 { this.stop(); } frame 41 { this.CurrentSound1 = 'Sound11'; this.CurrentSound2 = ''; } frame 41 { this.CurrentReview = 205; } frame 42 { this.stop(); } frame 42 { this.CurrentSound1 = 'Sound11'; this.CurrentSound2 = ''; } frame 42 { this.CurrentReview = 523; } frame 43 { this.stop(); } frame 43 { this.CurrentSound1 = 'Sound12'; this.CurrentSound2 = ''; } frame 43 { this.CurrentReview = 569; } frame 44 { this.stop(); } frame 44 { this.CurrentSound1 = 'Sound13'; this.CurrentSound2 = ''; } frame 44 { this.CurrentReview = 79; } frame 45 { this.stop(); } frame 45 { this.CurrentSound1 = 'Sound13'; this.CurrentSound2 = ''; } frame 45 { this.CurrentReview = 525; } frame 46 { this.stop(); } frame 46 { this.CurrentSound1 = 'Sound16'; this.CurrentSound2 = ''; } frame 46 { this.CurrentReview = 40; } frame 47 { this.stop(); } frame 47 { this.CurrentSound1 = 'Sound17'; this.CurrentSound2 = ''; } frame 47 { this.CurrentReview = 338; } frame 48 { this.stop(); } frame 48 { this.CurrentSound1 = 'Sound18'; this.CurrentSound2 = ''; } frame 48 { this.CurrentReview = 139; } frame 49 { this.stop(); } frame 49 { this.CurrentSound1 = 'Sound18'; this.CurrentSound2 = ''; } frame 49 { this.CurrentReview = 451; } frame 50 { this.stop(); } frame 50 { this.CurrentSound1 = 'Sound19'; this.CurrentSound2 = ''; } frame 50 { this.CurrentReview = 167; } frame 51 { this.stop(); } frame 51 { this.CurrentSound1 = 'Sound19'; this.CurrentSound2 = ''; } frame 51 { this.CurrentReview = 153; } frame 52 { this.stop(); } frame 52 { this.CurrentSound1 = 'Sound20'; this.CurrentSound2 = ''; } frame 52 { this.CurrentReview = 266; } frame 53 { this.stop(); } frame 53 { this.CurrentSound1 = 'Sound20'; this.CurrentSound2 = ''; } frame 53 { this.CurrentReview = 471; } frame 54 { this.stop(); } frame 54 { this.CurrentSound1 = 'Sound21'; this.CurrentSound2 = ''; } frame 54 { this.CurrentReview = 244; } frame 55 { this.stop(); } frame 55 { this.CurrentSound1 = 'Sound21'; this.CurrentSound2 = ''; } frame 55 { this.CurrentReview = 545; } frame 56 { this.stop(); } frame 56 { this.CurrentSound1 = 'Sound22'; this.CurrentSound2 = ''; } frame 56 { this.CurrentReview = 479; } frame 57 { this.stop(); } frame 57 { this.CurrentSound1 = 'Sound23'; this.CurrentSound2 = ''; } frame 57 { this.CurrentReview = 218; } frame 58 { this.stop(); } frame 58 { this.CurrentSound1 = 'Sound24'; this.CurrentSound2 = 'Sound10'; } frame 58 { this.CurrentReview = 671; } } movieClip 547 { frame 1 { this.gotoAndStop(random(24) + 2); } frame 2 { this.stop(); } frame 3 { this.stop(); } frame 4 { this.stop(); } frame 5 { this.stop(); } frame 6 { this.stop(); } frame 7 { this.stop(); } frame 8 { this.stop(); } frame 9 { this.stop(); } frame 10 { this.stop(); } frame 11 { this.stop(); } frame 12 { this.stop(); } frame 13 { this.stop(); } frame 14 { this.stop(); } frame 15 { this.stop(); } frame 16 { this.stop(); } frame 17 { this.stop(); } frame 18 { this.stop(); } frame 19 { this.stop(); } frame 20 { this.stop(); } frame 21 { this.stop(); } frame 22 { this.stop(); } frame 23 { this.stop(); } frame 24 { this.stop(); } frame 25 { this.stop(); } } movieClip 548 { } frame 7 { myNiveau.text = _root.Niveau + 1; myNbrCartes.text = _root.NbrCartes; if (_root.NbrMatchup >= _root.NbrCartes / 2) { _root.Reset(); } stop(); }




http://swfchan.com/15/72277/info.shtml
Created: 8/4 -2019 20:43:26 Last modified: 8/4 -2019 20:43:26 Server time: 09/05 -2024 21:29:32