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

A
Very
Merry Christmas!


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

Snake Revival.swf

This is the info page for
Flash #60271

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


Text
#######

#######

Art and Programming by: FingerFactor

This game has been stolen from lethalgfx.rendot.com

ActionScript [AS1/AS2]

Frame 1
_root.lineStyle(1, 4539717, 100); var i = 0; i = 0; while (i < 27) { _root.moveTo(0, 15 * i); _root.lineTo(555, 15 * i); i++; } var i = 0; i = 0; while (i < 37) { _root.moveTo(15 * i, 0); _root.lineTo(15 * i, 405); i++; }
Frame 2
function protectMovie() { Stage.showMenu = false; this_url = _root._url; good_url = new String("lethalgfx.rendot"); if (this_url.indexOf(good_url) == -1) { gotoAndStop ("bad"); } } stop();
Frame 3
function onEnterFrame() { if (Key.isDown(38)) { dir = 1; } else if (Key.isDown(40)) { dir = 2; } else if (Key.isDown(37)) { dir = 3; } else if (Key.isDown(39)) { dir = 4; } timer++; if (timer == doMove) { timer = 0; move(); } } function move() { if (endGame == false) { ui._visible = true; if (ui.getDepth() != (_root.getNextHighestDepth() - 1)) { _root.ui.swapDepths(_root.getNextHighestDepth()); } var _local2 = 0; _local2 = snakeArray.length; while (_local2 > 0) { snakeArray[_local2]._x = snakeArray[_local2 - 1]._x; snakeArray[_local2]._y = snakeArray[_local2 - 1]._y; snakeArray[_local2]._alpha = 100 - (100 * (_local2 / snakeArray.length)); if ((snakeArray[_local2]._x == head._x) && (snakeArray[_local2]._y == head._y)) { endGame = true; } _local2--; } snakeArray[0]._x = head._x; snakeArray[0]._y = head._y; if (dir == 1) { head._y = head._y - 15; } else if (dir == 2) { head._y = head._y + 15; } else if (dir == 3) { head._x = head._x - 15; } else if (dir == 4) { head._x = head._x + 15; } if ((((head._x >= 555) || (head._x <= 0)) || (head._y >= 405)) || (head._y <= 0)) { endGame = true; } var _local3 = false; if ((head._x == food._x) && (head._y == food._y)) { _local3 = true; } if (_local3 == true) { if (food._currentframe == 2) { score = score + 5; } else { score++; } var _local5 = head.duplicateMovieClip("snakepart" + snakeArray.length, _root.getNextHighestDepth()); snakeArray.push(_local5); food._x = Math.round(Math.random() * 37) * 15; food._y = Math.round(Math.random() * 27) * 15; var _local4 = Math.round(Math.random() * 6); if (_local4 == 0) { food.gotoAndStop(2); } else { food.gotoAndStop(1); } while ((((food._x >= 555) || (food._x <= 0)) || (food._y >= 405)) || (food._y <= 0)) { food._x = Math.round(Math.random() * 37) * 15; food._y = Math.round(Math.random() * 27) * 15; } chain++; } } else { dir = 0; if (chain <= -1) { if (chain == -2) { removeMovieClip(food); removeMovieClip(head); var _local2 = 0; while (_local2 < snakeArray.length) { removeMovieClip(snakeArray[_local2]); _local2++; } snakeArray.splice(0, snakeArray.length); _root.onEnterFrame = null; ui._visible = false; _root.gotoAndStop("gameover"); } else { head.play(); } } else { snakeArray[chain].play(); } } } dir = 2; snakeArray = []; speed = 15; timer = 0; doMove = 2; chain = -1; score = 0; gamemode = "freeplay"; endGame = false; _root.attachMovie("snakefood", "food", _root.getNextHighestDepth()); food._x = Math.round(Math.random() * 37) * 15; food._y = Math.round(Math.random() * 27) * 15; _root.attachMovie("snakebit", "head", _root.getNextHighestDepth()); ui.removeMovieClip(); _root.attachMovie("freeplay_ui", "ui", _root.getNextHighestDepth()); ui._x = 270; ui._y = 65; head._x = 15; head._y = 15; stop();
Frame 4
function onEnterFrame() { if (Key.isDown(38)) { dir = 1; } else if (Key.isDown(40)) { dir = 2; } else if (Key.isDown(37)) { dir = 3; } else if (Key.isDown(39)) { dir = 4; } timer++; if (timer == doMove) { timer = 0; move(); } } function move() { if (endGame == false) { ui._visible = true; if (ui.getDepth() != (_root.getNextHighestDepth() - 1)) { _root.ui.swapDepths(_root.getNextHighestDepth()); } timeToLive--; var _local2 = 0; _local2 = snakeArray.length; while (_local2 > 0) { snakeArray[_local2]._x = snakeArray[_local2 - 1]._x; snakeArray[_local2]._y = snakeArray[_local2 - 1]._y; snakeArray[_local2]._alpha = 100 - (100 * (_local2 / snakeArray.length)); if ((snakeArray[_local2]._x == head._x) && (snakeArray[_local2]._y == head._y)) { endGame = true; } _local2--; } snakeArray[0]._x = head._x; snakeArray[0]._y = head._y; if (dir == 1) { head._y = head._y - 15; } else if (dir == 2) { head._y = head._y + 15; } else if (dir == 3) { head._x = head._x - 15; } else if (dir == 4) { head._x = head._x + 15; } if ((((head._x >= 555) || (head._x <= 0)) || (head._y >= 405)) || (head._y <= 0)) { endGame = true; } var _local3 = false; if ((head._x == food._x) && (head._y == food._y)) { _local3 = true; } if (_local3 == true) { if (food._currentframe == 2) { score = score + 5; timeToLive = timeToLive + 60; } else { score++; timeToLive = timeToLive + 30; } var _local5 = head.duplicateMovieClip("snakepart" + snakeArray.length, _root.getNextHighestDepth()); snakeArray.push(_local5); food._x = Math.round(Math.random() * 37) * 15; food._y = Math.round(Math.random() * 27) * 15; var _local4 = Math.round(Math.random() * 6); if (_local4 == 0) { food.gotoAndStop(2); } else { food.gotoAndStop(1); } while ((((food._x >= 555) || (food._x <= 0)) || (food._y >= 405)) || (food._y <= 0)) { food._x = Math.round(Math.random() * 37) * 15; food._y = Math.round(Math.random() * 27) * 15; } chain++; } if (timeToLive <= 0) { timeToLive = 0; endGame = true; } } else { dir = 0; if (chain <= 0) { if (chain == -1) { removeMovieClip(food); removeMovieClip(head); var _local2 = 0; while (_local2 < snakeArray.length) { removeMovieClip(snakeArray[_local2]); _local2++; } snakeArray.splice(0, snakeArray.length); _root.onEnterFrame = null; ui._visible = false; _root.gotoAndStop("gameover"); } else { head.play(); } } else { snakeArray[chain].play(); } } } dir = 2; snakeArray = []; speed = 15; timer = 0; doMove = 2; chain = -1; score = 0; gamemode = "survival"; timeToLive = 90; endGame = false; _root.attachMovie("snakefood", "food", _root.getNextHighestDepth()); food._x = Math.round(Math.random() * 37) * 15; food._y = Math.round(Math.random() * 27) * 15; _root.attachMovie("snakebit", "head", _root.getNextHighestDepth()); ui.removeMovieClip(); _root.attachMovie("survival_ui", "ui", _root.getNextHighestDepth()); ui._x = 270; ui._y = 65; head._x = 15; head._y = 15; stop();
Frame 5
stop();
Frame 6
function onEnterFrame() { getURL ("http://lethalgfx.rendot.com"); } stop();
Symbol 4 MovieClip [snakebit] Frame 1
stop();
Symbol 4 MovieClip [snakebit] Frame 5
_root.chain--; stop();
Symbol 15 MovieClip [snakefood] Frame 1
stop();
Symbol 15 MovieClip [snakefood] Frame 2
stop();
Symbol 25 MovieClip Frame 1
function timerHandler() { if (!loadingComplete) { var _local4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * _local4; if (_local4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop ("loaded"); } return(undefined); } } dt = getTimer() - time; time = time + dt; frameAccum = frameAccum + dt; var _local3 = 0; while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) { advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } (frameAccum = frameAccum - FRAME_TIME); _local3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return(undefined); } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof(clip[childName]) == "movieclip") { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.3333333333333; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler();
Symbol 25 MovieClip Frame 37
startMovie();
Symbol 41 Button
on (release) { _root.gotoAndStop("freeplay"); }
Symbol 43 Button
on (release) { _root.gotoAndStop("survival"); }
Symbol 47 Button
on (release) { _root.gotoAndStop(gamemode); }
Symbol 49 Button
on (release) { _root.gotoAndStop("menu"); }

Library Items

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

Instance Names

"bar"Symbol 25 MovieClip Frame 1Symbol 19 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 4 as "snakebit"
ExportAssets (56)Timeline Frame 1Symbol 9 as "survival_ui"
ExportAssets (56)Timeline Frame 1Symbol 11 as "freeplay_ui"
ExportAssets (56)Timeline Frame 1Symbol 15 as "snakefood"

Labels

"menu"Frame 2
"freeplay"Frame 3
"survival"Frame 4
"gameover"Frame 5
"bad"Frame 6
"loaded"Symbol 25 MovieClip Frame 2

Dynamic Text Variables

_root.timeToLiveSymbol 6 EditableText"#######"
_root.scoreSymbol 10 EditableText"#######"




http://swfchan.com/13/60271/info.shtml
Created: 16/4 -2019 08:42:19 Last modified: 16/4 -2019 08:42:19 Server time: 23/12 -2024 00:25:34