STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229456
/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>

DHC Allout.swf

This is the info page for
Flash #42248

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


Text
PRESENTS

www.freewebs.com/doghousecomics

New Puzzle

Solution

(click the V's)

GOOD JOB!

ActionScript [AS1/AS2]

Frame 201
_root.n = 5; _root.hlp._visible = false; stop();
Instance of Symbol 46 MovieClip "table" in Frame 201
onClipEvent (load) { _x = ((550 - (_root.n * 50)) / 2); _y = ((400 - (_root.n * 50)) / 2); }
Symbol 5 MovieClip [box] Frame 1
stop();
Symbol 5 MovieClip [box] Frame 2
stop();
Symbol 46 MovieClip Frame 1
function update(x, y) { if (!((((x < 0) || (x >= n)) || (y < 0)) || (y >= n))) { var k = this["b" + (x + (y * n))]._currentframe; k = (k % 2) + 1; this["b" + (x + (y * n))].gotoAndStop(k); } } function clicked(x, y) { update(x, y); var i = 0; while (i < 4) { update(x + d[i][0], y + d[i][1]); i++; } } n = _root.n; d = [[1, 0], [0, 1], [-1, 0], [0, -1]]; var i = 0; while (i < n) { var k = 0; while (k < n) { if ((i + k) != 0) { duplicateMovieClip ("b0", "b" + (i + (k * n)), i + (k * n)); } this["b" + (i + (k * n))]._x = i * 50; this["b" + (i + (k * n))]._y = k * 50; this["b" + (i + (k * n))].x = i; this["b" + (i + (k * n))].y = k; this["b" + (i + (k * n))].hint._visible = false; k++; } i++; }
Instance of Symbol 5 MovieClip [box] "b0" in Symbol 46 MovieClip Frame 1
onClipEvent (mouseDown) { if (hitTest(_root._xmouse, _root._ymouse, false)) { _parent.clicked(x, y); hint._visible = false; _root.hlp._visible = false; var z = 0; var i = 0; while (i < (_root.n * _root.n)) { if (_parent["b" + i]._currentframe == 1) { z = 1; break; } i++; } if (z == 0) { _root.cpl.play(); } } }
Symbol 50 Button
on (release) { n = _root.n; var z = 0; var i = 0; while (i < n) { var k = 0; while (k < n) { var t = random(2); j = 0; while (j < t) { _root.table.clicked(i, k); j++; } _root.table["b" + (i + (k * n))].hint._visible = false; k++; } i++; } }
Symbol 53 Button
on (release) { function clicked(x, y) { a2[x][y] = (a2[x][y] + 1) % 2; var i = 0; while (i < 4) { p = x + d[i][0]; q = y + d[i][1]; if (!((((p < 0) || (p >= n)) || (q < 0)) || (q >= n))) { a2[p][q] = (a2[p][q] + 1) % 2; } i++; } } function ok() { var i = 0; while (i < n) { var k = 0; while (k < n) { a2[i][k] = a[i][k]; k++; } i++; } var k = 0; while (k < n) { kq[k * n] = false; if (b[k] == 1) { clicked(0, k); kq[k * n] = true; } k++; } var i = 1; while (i < n) { var k = 0; while (k < n) { kq[i + (k * n)] = false; if (a2[i - 1][k] == 0) { clicked(i, k); kq[i + (k * n)] = true; } k++; } i++; } var k = 0; while (k < n) { if (a2[n - 1][k] == 0) { return(false); } k++; } return(true); } function dq(i) { var k = 0; while (k < 2) { b[i] = k; if (i == n) { if (ok()) { var j = 0; while (j < (n * n)) { if (kq[j]) { _root.table["b" + j].hint._visible = true; } j++; } th = true; } } else { dq(i + 1); } if (th) { return; } k++; } } n = _root.n; a = new Array(n); a2 = new Array(n); b = new Array(n); kq = new Array(n * n); th = false; _root.hlp._visible = true; d = [[1, 0], [0, 1], [-1, 0], [0, -1]]; var i = 0; while (i < n) { a[i] = new Array(); a2[i] = new Array(n); var k = 0; while (k < n) { if (_root.table["b" + (i + (k * n))]._currentframe == 2) { a[i].push(1); } else { a[i].push(0); } k++; } i++; } dq(0); }
Symbol 61 MovieClip Frame 1
stop();

Library Items

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

Instance Names

"table"Frame 201Symbol 46 MovieClip
"hlp"Frame 201Symbol 57 MovieClip
"cpl"Frame 201Symbol 61 MovieClip
"hint"Symbol 5 MovieClip [box] Frame 1Symbol 3 MovieClip
"b0"Symbol 46 MovieClip Frame 1Symbol 5 MovieClip [box]

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 5 as "box"
ExportAssets (56)Timeline Frame 201Symbol 5 as "box"




http://swfchan.com/9/42248/info.shtml
Created: 10/5 -2019 01:00:20 Last modified: 10/5 -2019 01:00:20 Server time: 05/11 -2024 13:57:36