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/89244518?noj=FRM89244518-14DC" width="1" height="1"></div>

Flash Dots.swf

This is the info page for
Flash #45268

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


Text
Player:

Computer:

0

0

How to Play

The player takes turns
with the computer
drawing a line to connect
two dots, either
horizontally or vertically.
If a player makes the
line that completes a
box, that player scores
one point, and draws
another line.  Once all
the dots are connected,
the player with the most
points is the winner!

Play More Games

Restart Game

ActionScript [AS1/AS2]

Frame 1
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("2b9386be", this, 10301, true);
Frame 91
function markLine(line, p) { var _local4 = line.x; var _local3 = line.y; var _local2 = 0; line.marked = true; _root.plays--; line.gotoAndPlay(p + 2); var _local5 = countSides(_local4, _local3); if (_local3 % 2) { if (_local5[0] == 4) { boxes[(_local3 - 1) / 2][_local4 - 1].gotoAndStop(p + 1); _local2++; } if (_local5[1] == 4) { boxes[(_local3 - 1) / 2][_local4].gotoAndStop(p + 1); _local2++; } } else { if (_local5[0] == 4) { boxes[(_local3 / 2) - 1][_local4].gotoAndStop(p + 1); _local2++; } if (_local5[1] == 4) { boxes[_local3 / 2][_local4].gotoAndStop(p + 1); _local2++; } } if (_local2) { _root["score" + p].text = int(_root["score" + p].text) + _local2; } if (_root.plays < 1) { p = int(score1.text); var _local6 = int(score2.text); if (p > _local6) { message.gotoAndStop(2); } else if (_local6 > p) { message.gotoAndStop(3); } else { message.gotoAndStop(4); } } return(_local2); } function findPlay() { var _local8 = 2; var _local6 = random(17); var _local7 = random(((_local6 % 2) ? 9 : 8)); pass = 0; while (pass < 3) { var _local1 = _local6; var _local2 = _local7; do { if (lines[_local1][_local2] && (!lines[_local1][_local2].marked)) { var _local4 = countSides(_local2, _local1); var _local3 = 0; switch (pass) { case 0 : if ((_local4[0] == 4) || (_local4[1] == 4)) { _local3 = 1; } break; case 1 : if ((_local4[0] < 3) && (_local4[1] < 3)) { _local3 = 2; } break; case 2 : _local3 = 3; } if (_local3) { markLine(lines[_local1][_local2], _local8); return(_local3); } } var _local5 = ((_local1 % 2) ? 9 : 8); _local2++; if (_local2 >= _local5) { _local2 = 0; _local1++; } if (_local1 >= 17) { _local1 = 0; } } while ((_local1 != _local6) || (_local2 != _local7)); pass++; } } function countSides(x, y) { var _local1 = [1, 1]; if (y % 2) { if (lines[y - 1][x - 1].marked) { _local1[0]++; } if (lines[y][x - 1].marked) { _local1[0]++; } if (lines[y + 1][x - 1].marked) { _local1[0]++; } if (lines[y - 1][x].marked) { _local1[1]++; } if (lines[y][x + 1].marked) { _local1[1]++; } if (lines[y + 1][x].marked) { _local1[1]++; } } else { if (lines[y - 1][x].marked) { _local1[0]++; } if (lines[y - 2][x].marked) { _local1[0]++; } if (lines[y - 1][x + 1].marked) { _local1[0]++; } if (lines[y + 1][x].marked) { _local1[1]++; } if (lines[y + 2][x].marked) { _local1[1]++; } if (lines[y + 1][x + 1].marked) { _local1[1]++; } } return(_local1); } stop(); message.gotoAndStop(1); var boxes = []; y = 0; while (y < 8) { if (!boxes[y]) { boxes[y] = []; } x = 0; while (x < 8) { if (!boxes[y][x]) { boxes[y][x] = game.attachMovie("Box", (("box" + y) + "x") + x, game.getNextHighestDepth()); } boxes[y][x].player = 0; boxes[y][x]._x = 22.5 + (x * 50); boxes[y][x]._y = 22.5 + (y * 50); boxes[y][x]._width = 50; boxes[y][x]._height = 50; boxes[y][x].gotoAndStop(1); x++; } y++; } var plays = 0; var lines = []; y = 0; while (y < 17) { var max = ((y % 2) ? 9 : 8); if (!lines[y]) { lines[y] = []; } x = 0; while (x < max) { plays++; if (!lines[y][x]) { lines[y][x] = game.attachMovie("Line", (("line" + y) + "x") + x, game.getNextHighestDepth()); } lines[y][x].x = x; lines[y][x].y = y; lines[y][x].marked = false; lines[y][x]._x = 22.5 + (x * 50); lines[y][x]._y = (22.5 + ((y / 2) * 50)) - ((y % 2) ? 25 : 0); lines[y][x]._width = ((y % 2) ? 5 : 50); lines[y][x]._height = ((y % 2) ? 50 : 5); lines[y][x].gotoAndStop(1); x++; } y++; }
Frame 92
gotoAndPlay (91);
Symbol 4 MovieClip [Line] Frame 1
stop(); this.onPress = function () { if (!this.marked) { if (!_root.markLine(this, 1)) { do { var found = _root.findPlay(); } while (found == 1); } } }; this.onRollOver = function () { if (!this.marked) { this.gotoAndStop(2); } }; this.onRollOut = function () { if (!this.marked) { this.gotoAndStop(1); } };
Symbol 4 MovieClip [Line] Frame 3
stop();
Symbol 4 MovieClip [Line] Frame 10
stop();
Symbol 7 MovieClip [Box] Frame 1
stop();
Symbol 14 Button
on (press) { getURL ("http://www.gamegutter.com/?dots"); }
Symbol 28 Button
on (press) { getURL ("http://www.gamegutter.com/?dots", "__blank"); }
Symbol 31 Button
on (press) { gotoAndPlay (92); }
Symbol 36 MovieClip Frame 1
stop();

Library Items

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

Instance Names

"game"Frame 91Symbol 17 MovieClip
"score1"Frame 91Symbol 21 EditableText
"score2"Frame 91Symbol 22 EditableText
"message"Frame 91Symbol 36 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 4 as "Line"
ExportAssets (56)Timeline Frame 1Symbol 7 as "Box"




http://swfchan.com/10/45268/info.shtml
Created: 5/5 -2019 17:34:39 Last modified: 5/5 -2019 17:34:39 Server time: 14/11 -2024 17:20:24