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

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

Clock Game Gone.swf

This is the info page for
Flash #37614

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


ActionScript [AS1/AS2]
Frame 1
function createGrid() { currentCell = 0; arrayOfCells = []; i = 0; while (i < _root.wide) { thisRow = []; j = 0; while (j < _root.high) { newCell = attachMovie("cell", "cell" + currentCell, this.getNextHighestDepth()); newCell._x = j * 25; newCell._y = i * 25; newCell.carved = false; currentCell++; thisRow.push(newCell); j++; } arrayOfCells.push(thisRow); i++; } } function carveMaze() { row = 15; item = 21; stack = []; while (true) { arrayOfCells[row][item].carved = true; choices = []; if (arrayOfCells[row][item + 1].carved == false) { choices.push("EAST"); } if (arrayOfCells[row][item - 1].carved == false) { choices.push("WEST"); } if (arrayOfCells[row + 1][item].carved == false) { choices.push("SOUTH"); } if (arrayOfCells[row - 1][item].carved == false) { choices.push("NORTH"); } if (choices.length == 0) { if (stack.length == 0) { return; } row = stack[stack.length - 1][0]; item = stack[stack.length - 1][1]; stack.pop(); } else { if (choices.length >= 2) { stack.push([row, item]); } choice = choices[random(choices.length)]; if (choice == "NORTH") { arrayOfCells[row][item].north.gotoAndStop(2); arrayOfCells[row - 1][item].south.gotoAndStop(2); arrayOfCells[row - 1][item].carved = true; row--; } if (choice == "EAST") { arrayOfCells[row][item].east.gotoAndStop(2); arrayOfCells[row][item + 1].west.gotoAndStop(2); arrayOfCells[row][item + 1].carved = true; item++; } if (choice == "SOUTH") { arrayOfCells[row][item].south.gotoAndStop(2); arrayOfCells[row + 1][item].north.gotoAndStop(2); arrayOfCells[row + 1][item].carved = true; row++; } if (choice == "WEST") { arrayOfCells[row][item].west.gotoAndStop(2); arrayOfCells[row][item - 1].east.gotoAndStop(2); arrayOfCells[row][item - 1].carved = true; item--; } } } } wide = 22; high = 22; createGrid(); carveMaze(); stop();
Symbol 2 MovieClip Frame 1
stop();
Symbol 2 MovieClip Frame 2
stop();
Symbol 4 MovieClip Frame 1
stop();
Symbol 4 MovieClip Frame 2
stop();
Symbol 6 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 2
stop();
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 2
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:9
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:9
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:9
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:9
Symbol 9 MovieClip [cell]Uses:2 4 6 8
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:Timeline

Instance Names

"east"Symbol 9 MovieClip [cell] Frame 1Symbol 2 MovieClip
"north"Symbol 9 MovieClip [cell] Frame 1Symbol 4 MovieClip
"west"Symbol 9 MovieClip [cell] Frame 1Symbol 6 MovieClip
"south"Symbol 9 MovieClip [cell] Frame 1Symbol 8 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 9 as "cell"




http://swfchan.com/8/37614/info.shtml
Created: 14/5 -2019 01:43:18 Last modified: 14/5 -2019 01:43:18 Server time: 03/05 -2024 15:42:36