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

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

Square.swf

This is the info page for
Flash #42256

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


Text
Game Loading ...

100000000

Block score:

Score:

0

Left:

0

0

0

0

0

©

Absolutist.com

Absolutist.com

Absolutist.com

Absolutist.com

Restart

Enter your name:

Ok

Cancel

More games

ActionScript [AS1/AS2]

Frame 1
tellTarget ("_level0") { lbLoadingGame = ""; };
Frame 3
if (_framesloaded >= _totalframes) { gotoAndPlay (4); } else { gotoAndPlay (2); }
Frame 4
function NewGame() { wndSaveScore._visible = false; stScore = "0"; var n = 0; while (n < (NumX * NumY)) { if (Board[n]) { removeMovieClip(Selected[i]); } n++; } var n = 0; Colors = [0, 0, 0, 0, 0, 0]; var j = 0; while (j < NumY) { var i = 0; while (i < NumX) { var color = (1 + random(5)); var name = ("Cube_" + n); Colors[color]++; attachMovie("Cube" + color, name, n); var c = eval (name); Board[n] = c; c._width = (c._height = Size); c._x = i * c._width; c._y = j * c._height; c.color = color; c.was = false; n++; i++; } j++; } num1 = Colors[1]; num2 = Colors[2]; num3 = Colors[3]; num4 = Colors[4]; num5 = Colors[5]; } function Select(x, y) { var c = Board[x + (y * NumX)]; if ((PrevX == x) and (PrevY == y)) { return(undefined); } var i = 0; while (i < Selected.length) { Selected[i].gotoAndStop(1); Selected[i].was = false; i++; } Selected = []; if (!c) { stNumSelect = ""; PrevX = x; PrevY = y; return(0); } var num = Paint(x, y, c.color); if (1 < num) { stNumSelect = Fib[num]; } else { stNumSelect = ""; var i = 0; while (i < Selected.length) { Selected[i].gotoAndStop(1); Selected[i].was = false; i++; } Selected = []; } PrevX = x; PrevY = y; } function Paint(x, y, color) { if ((x < 0) or (x >= NumX)) { return(0); } if ((y < 0) or (y >= NumY)) { return(0); } var c = Board[x + (y * NumX)]; if (!c) { return(0); } if (c.color != color) { return(0); } if (c.was) { return(0); } c.gotoAndStop(2); c.was = true; Selected.push(c); var n = 1; n = n + Paint(x + 1, y, color); n = n + Paint(x, y + 1, color); n = n + Paint(x - 1, y, color); n = n + Paint(x, y - 1, color); return(n); } function UnvisiblePaint(x, y, color) { if ((x < 0) or (x >= NumX)) { return(0); } if ((y < 0) or (y >= NumY)) { return(0); } var c = Board[x + (y * NumX)]; if (!c) { return(0); } if (c.color != color) { return(0); } if (c.was) { return(0); } c.was = true; Selected.push(c); var n = 1; n = n + UnvisiblePaint(x + 1, y, color); n = n + UnvisiblePaint(x, y + 1, color); n = n + UnvisiblePaint(x - 1, y, color); n = n + UnvisiblePaint(x, y - 1, color); return(n); } function Delete() { if (Selected.length < 2) { return(0); } var color = Selected[0].color; if (color == 1) { num1 = Number(num1) - Selected.length; } else if (color == 2) { num2 = Number(num2) - Selected.length; } else if (color == 3) { num3 = Number(num3) - Selected.length; } else if (color == 4) { num2 = Number(num4) - Selected.length; } else if (color == 5) { num2 = Number(num5) - Selected.length; } stScore = Number(stScore) + Fib[Selected.length]; var i = 0; while (i < Selected.length) { var x = int((Selected[i]._x + 1) / Size); var y = int((Selected[i]._y + 1) / Size); var n = (x + (y * NumX)); removeMovieClip(Selected[i]); Board[n] = ""; var j = (y - 1); while (j >= 0) { Board[n] = Board[n - NumX]; if (!Board[n]) { break; } Board[n]._y = (j + 1) * Size; n = n - NumX; Board[n] = ""; j--; } i++; } Selected = []; var n = ((NumY * NumX) - 1); var i = (NumX - 1); while (i >= 0) { if (!Board[n]) { Compress(i); } n--; i--; } if (EndGame()) { wndSaveScore._visible = true; return(undefined); } var i = 0; while (i < Selected.length) { Selected[i].was = false; i++; } Selected = []; PrevX = (PrevY = -1); return(k + 1); } function Compress(x) { var i = (x + 1); while (i < NumX) { var n2 = (i + ((NumY - 1) * NumX)); var newX = ((i - 1) * Size); var j = (NumY - 1); while (j >= 0) { n1 = n2 - 1; if (!Board[n2]) { Board[n1] = ""; if (j == (NumY - 1)) { return(undefined); } break; } Board[n1] = Board[n2]; Board[n1]._x = newX; Board[n2] = ""; n2 = n2 - NumX; j--; } i++; } } function EndGame() { var y = (NumY - 1); while (y >= 0) { var n = (y * NumX); var sum = 0; var x = 0; while (x < NumX) { if (!Board[n]) { sum++; n++; } else { if (1 < UnvisiblePaint(x, y, Board[n].color)) { return(false); } n++; } x++; } if (sum == NumX) { return(true); } y--; } return(true); } function Crypto(st) { var sum1 = 0; var sum2 = 0; var i = 0; while (i < st.length) { sum1 = sum1 + st.charCodeAt(i); sum2 = sum2 + (st.charCodeAt(i) ^ 175); i++; } sum1 = sum1 % 256; sum2 = sum2 % 256; st = (String.fromCharCode(sum1) + String.fromCharCode(sum2)) + st; var cryptSt = ""; var b0 = 193; var i = 0; while (i < st.length) { var b = st.charCodeAt(i); var CryptB = (b ^ b0); CryptB = CryptB.toString(); var len = CryptB.length; var j = 0; while (j < (3 - len)) { CryptB = "0" + CryptB; j++; } cryptSt = cryptSt + CryptB; b0 = b; i++; } return(cryptSt); } if (init) { return(undefined); } init = true; fscommand ("allowscale", true); fscommand ("showmenu", false); Width = 375; Height = 375; Size = 25; NumX = int(Width / Size); NumY = int(Height / Size); PrevColor = 0; Board = new Array(NumX * NumY); Selected = new Array(); Colors = new Array(6); Fib = new Array(70); Fib[0] = (Fib[1] = 1); var n = 2; while (n < 70) { Fib[n] = int(((n * n) * n) / 3); n++; } NewGame();
Frame 6
if (((Width < _xmouse) or (_xmouse < 0)) or ((Height < _ymouse) or (_ymouse < 0))) { var i = 0; while (i < Selected.length) { Selected[i].gotoAndPlay(1); Selected[i].was = false; PrevX = (PrevY = -1); i++; } Selected = []; gotoAndPlay (5); return(undefined); } var x = int(_xmouse / Size); var y = int(_ymouse / Size); Select(x, y); gotoAndPlay (5);
Symbol 3 MovieClip [Cube5] Frame 1
stop();
Symbol 3 MovieClip [Cube5] Frame 2
stop();
Symbol 6 MovieClip [Cube4] Frame 1
stop();
Symbol 6 MovieClip [Cube4] Frame 2
stop();
Symbol 9 MovieClip [Cube3] Frame 1
stop();
Symbol 9 MovieClip [Cube3] Frame 2
stop();
Symbol 12 MovieClip [Cube2] Frame 1
stop();
Symbol 12 MovieClip [Cube2] Frame 2
stop();
Symbol 15 MovieClip [Cube1] Frame 1
stop();
Symbol 15 MovieClip [Cube1] Frame 2
stop();
Symbol 16 MovieClip [Cube5] Frame 1
stop();
Symbol 16 MovieClip [Cube5] Frame 2
stop();
Symbol 17 MovieClip [Cube4] Frame 1
stop();
Symbol 17 MovieClip [Cube4] Frame 2
stop();
Symbol 18 MovieClip [Cube3] Frame 1
stop();
Symbol 18 MovieClip [Cube3] Frame 2
stop();
Symbol 19 MovieClip [Cube2] Frame 1
stop();
Symbol 19 MovieClip [Cube2] Frame 2
stop();
Symbol 20 MovieClip [Cube1] Frame 1
stop();
Symbol 20 MovieClip [Cube1] Frame 2
stop();
Symbol 26 Button
on (release) { var x = int(_xmouse / Size); var y = int(_ymouse / Size); if ((x < 0) or (x >= NumX)) { return(0); } if ((y < 0) or (y >= NumY)) { return(0); } if (Board[x + (y * NumX)]) { Delete(); } }
Symbol 52 Button
on (release) { NewGame(); }
Symbol 57 Button
on (release) { var stSend = ((((((((_parent.stScore + "\t") + 1) + "\t") + stName) + "\t") + "sqr") + "\t") + "out"); getURL ("http://absolutist.com/cgi-bin/gameres.pl?e=" + _parent.Crypto(stSend), "_top"); trace((stName + " = ") + _parent.stScore); _visible = false; _parent.NewGame(); }
Symbol 58 Button
on (release) { _visible = false; _parent.NewGame(); }
Symbol 62 Button
on (release) { getURL ("http://absolutist.com/games.html", "_blank"); }

Library Items

Symbol 1 GraphicUsed by:3 16
Symbol 2 GraphicUsed by:3 16
Symbol 3 MovieClip [Cube5]Uses:1 2
Symbol 4 GraphicUsed by:6 17
Symbol 5 GraphicUsed by:6 17
Symbol 6 MovieClip [Cube4]Uses:4 5
Symbol 7 GraphicUsed by:9 18
Symbol 8 GraphicUsed by:9 18
Symbol 9 MovieClip [Cube3]Uses:7 8
Symbol 10 GraphicUsed by:12 19
Symbol 11 GraphicUsed by:12 19
Symbol 12 MovieClip [Cube2]Uses:10 11
Symbol 13 GraphicUsed by:15 20
Symbol 14 GraphicUsed by:15 20
Symbol 15 MovieClip [Cube1]Uses:13 14
Symbol 16 MovieClip [Cube5]Uses:1 2Used by:Timeline
Symbol 17 MovieClip [Cube4]Uses:4 5Used by:Timeline
Symbol 18 MovieClip [Cube3]Uses:7 8Used by:Timeline
Symbol 19 MovieClip [Cube2]Uses:10 11Used by:Timeline
Symbol 20 MovieClip [Cube1]Uses:13 14Used by:Timeline
Symbol 21 GraphicUsed by:24
Symbol 22 FontUsed by:23 39
Symbol 23 TextUses:22Used by:24
Symbol 24 MovieClipUses:21 23Used by:Timeline
Symbol 25 GraphicUsed by:26
Symbol 26 ButtonUses:25Used by:Timeline
Symbol 27 FontUsed by:28 55 56 59 60
Symbol 28 EditableTextUses:27Used by:Timeline
Symbol 29 FontUsed by:30 31 32 33 34 35 36 37 38 40 42 44 46 53
Symbol 30 TextUses:29Used by:Timeline
Symbol 31 TextUses:29Used by:Timeline
Symbol 32 EditableTextUses:29Used by:Timeline
Symbol 33 TextUses:29Used by:Timeline
Symbol 34 EditableTextUses:29Used by:Timeline
Symbol 35 EditableTextUses:29Used by:Timeline
Symbol 36 EditableTextUses:29Used by:Timeline
Symbol 37 EditableTextUses:29Used by:Timeline
Symbol 38 EditableTextUses:29Used by:Timeline
Symbol 39 EditableTextUses:22Used by:47
Symbol 40 EditableTextUses:29Used by:47
Symbol 41 GraphicUsed by:47
Symbol 42 EditableTextUses:29Used by:47
Symbol 43 GraphicUsed by:47
Symbol 44 EditableTextUses:29Used by:47
Symbol 45 GraphicUsed by:47
Symbol 46 EditableTextUses:29Used by:47
Symbol 47 ButtonUses:39 40 41 42 43 44 45 46Used by:Timeline
Symbol 48 GraphicUsed by:52 57 58 62
Symbol 49 GraphicUsed by:52 57 58 62
Symbol 50 GraphicUsed by:52 57 58 62
Symbol 51 GraphicUsed by:52 57 58 62
Symbol 52 ButtonUses:48 49 50 51Used by:Timeline
Symbol 53 TextUses:29Used by:Timeline
Symbol 54 GraphicUsed by:61
Symbol 55 TextUses:27Used by:61
Symbol 56 EditableTextUses:27Used by:61
Symbol 57 ButtonUses:48 49 50 51Used by:61
Symbol 58 ButtonUses:48 49 50 51Used by:61
Symbol 59 TextUses:27Used by:61
Symbol 60 TextUses:27Used by:61
Symbol 61 MovieClipUses:54 55 56 57 58 59 60Used by:Timeline
Symbol 62 ButtonUses:48 49 50 51Used by:Timeline
Symbol 63 FontUsed by:64
Symbol 64 TextUses:63Used by:Timeline

Instance Names

"wndSaveScore"Frame 4Symbol 61 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 3 as "Cube5"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Cube4"
ExportAssets (56)Timeline Frame 1Symbol 9 as "Cube3"
ExportAssets (56)Timeline Frame 1Symbol 12 as "Cube2"
ExportAssets (56)Timeline Frame 1Symbol 15 as "Cube1"
ExportAssets (56)Timeline Frame 1Symbol 16 as "Cube5"
ExportAssets (56)Timeline Frame 1Symbol 17 as "Cube4"
ExportAssets (56)Timeline Frame 1Symbol 18 as "Cube3"
ExportAssets (56)Timeline Frame 1Symbol 19 as "Cube2"
ExportAssets (56)Timeline Frame 1Symbol 20 as "Cube1"
ExportAssets (56)Timeline Frame 4Symbol 20 as "Cube1"
ExportAssets (56)Timeline Frame 4Symbol 19 as "Cube2"
ExportAssets (56)Timeline Frame 4Symbol 18 as "Cube3"
ExportAssets (56)Timeline Frame 4Symbol 17 as "Cube4"
ExportAssets (56)Timeline Frame 4Symbol 16 as "Cube5"
ExportAssets (56)Timeline Frame 5Symbol 20 as "Cube1"
ExportAssets (56)Timeline Frame 5Symbol 19 as "Cube2"
ExportAssets (56)Timeline Frame 5Symbol 18 as "Cube3"
ExportAssets (56)Timeline Frame 5Symbol 17 as "Cube4"
ExportAssets (56)Timeline Frame 5Symbol 16 as "Cube5"
ExportAssets (56)Timeline Frame 6Symbol 20 as "Cube1"
ExportAssets (56)Timeline Frame 6Symbol 19 as "Cube2"
ExportAssets (56)Timeline Frame 6Symbol 18 as "Cube3"
ExportAssets (56)Timeline Frame 6Symbol 17 as "Cube4"
ExportAssets (56)Timeline Frame 6Symbol 16 as "Cube5"

Dynamic Text Variables

stScoreSymbol 28 EditableText"100000000"
stNumSelectSymbol 32 EditableText"0"
num1Symbol 34 EditableText"0"
num2Symbol 35 EditableText"0"
num3Symbol 36 EditableText"0"
num4Symbol 37 EditableText"0"
num5Symbol 38 EditableText"0"
TextField13Symbol 39 EditableText"©"
TextField9Symbol 40 EditableText"Absolutist.com"
TextField9Symbol 42 EditableText"Absolutist.com"
TextField9Symbol 44 EditableText"Absolutist.com"
TextField9Symbol 46 EditableText"Absolutist.com"
stNameSymbol 56 EditableText""




http://swfchan.com/9/42256/info.shtml
Created: 10/5 -2019 00:56:23 Last modified: 10/5 -2019 00:56:23 Server time: 05/11 -2024 15:21:41