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

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

Memory4chan.swf

This is the info page for
Flash #6148

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


Text
Tries:

0

RESET

RESET

Best Score:

0

ActionScript [AS1/AS2]

Frame 1
highScore = 0;
Frame 3
function attachCards() { i = 0; while (i < 20) { _root.attachMovie("card", "card" + i, i); if ((((i == 5) || (i == 10)) || (i == 15)) || (i == 20)) { Vrow++; Hrow = 0; } _root["card" + i]._x = (_root["card" + i]._width * Hrow) + 1; _root["card" + i]._y = (_root["card" + i]._height * Vrow) + 1; _root["card" + i].id = i; Hrow++; i++; } } function randomizeCards() { i = 0; while (i < 20) { var _local5 = "no"; while (_local5 == "no") { var _local4 = "no"; var _local3 = random(21); if (_local3 != 0) { j = 0; while (j < 20) { if (pictureNum[j] == _local3) { _local4 = "yes"; } j++; } if (_local4 == "no") { pictureNum[i] = _local3; _local5 = "yes"; } } } _root["card" + i].onRelease = function () { if (this.flipped != true) { if (flipped < 2) { if (flipped == 0) { ident1 = this.id; firstFlip = this.pictureNum; this.gotoAndStop(this.pictureNum); } else if (flipped == 1) { if (this.id != ident1) { ident2 = this.id; secondFlip = this.pictureNum; this.gotoAndStop(this.pictureNum); } else { flipped--; } } } flipped++; if (flipped >= 2) { if (firstFlip == secondFlip) { _root["card" + ident1].flipped = true; _root["card" + ident2].flipped = true; flipped = 0; flippedTotal++; } else if (flipped == 3) { _root["card" + ident1].flippBack = true; _root["card" + ident2].flippBack = true; flipped = 0; } tries++; } if (flippedTotal >= 10) { if ((tries < highScore) || (highScore == 0)) { highScore = tries; } gotoAndPlay (2); } } }; i++; } } function sortCards() { i = 0; while (i < 20) { _root["card" + i].pictureNum = Math.ceil(pictureNum[i] / 2) + 1; i++; } } stop(); pictureNum = new Array(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); firstFlip = null; flipped = 0; flippedTotal = 0; tries = 0; Vrow = 0; Hrow = 0; attachCards(); randomizeCards(); sortCards(); startTime = getTimer();
Symbol 24 MovieClip [card] Frame 1
flippBack = false; flipped = 0; stop(); onEnterFrame = function () { if (flippBack == true) { gotoAndStop (1); flippBack = false; } };
Symbol 33 Button
on (release) { gotoAndPlay (2); }

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:24
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:24
Symbol 5 GraphicUsed by:24
Symbol 6 BitmapUsed by:7
Symbol 7 GraphicUses:6Used by:24
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:24
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:24
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:24
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:24
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:24
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:24
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:24
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:24
Symbol 24 MovieClip [card]Uses:2 4 5 7 9 11 13 15 17 19 21 23
Symbol 25 FontUsed by:26 27 29 31 34 35
Symbol 26 TextUses:25Used by:Timeline
Symbol 27 EditableTextUses:25Used by:Timeline
Symbol 28 GraphicUsed by:33
Symbol 29 TextUses:25Used by:33
Symbol 30 GraphicUsed by:33
Symbol 31 TextUses:25Used by:33
Symbol 32 GraphicUsed by:33
Symbol 33 ButtonUses:28 29 30 31 32Used by:Timeline
Symbol 34 TextUses:25Used by:Timeline
Symbol 35 EditableTextUses:25Used by:Timeline

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 24 as "card"

Dynamic Text Variables

_root.triesSymbol 27 EditableText"0"
_root.highScoreSymbol 35 EditableText"0"




http://swfchan.com/2/6148/info.shtml
Created: 14/6 -2019 14:06:53 Last modified: 14/6 -2019 14:06:53 Server time: 22/12 -2024 06:52:14