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

Worm 3D.swf

This is the info page for
Flash #27674

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


Text
LOADING

LOADING

Play More Games

Play More Games

Put This On Your Site

Put This On Your Site

Talk About Games

Talk About Games

Get Cheats

Get Cheats

W  RM

W  RM

play

play

CREDITS

CREDITS

wait...

X

0

LEVEL:

0

Restart

Restart

Level: 1

CREDITS

DESIGNED AND DEVELOPED BY:

BACK

ActionScript [AS1/AS2]

Frame 4
tb = getBytesTotal(); lb = getBytesLoaded(); v = int((lb / tb) * 100); _preloader.bar._xscale = v; _preloader._pretxtPercent.text = v + "%"; if (lb < tb) { gotoAndPlay(_currentframe - 1); } else { play(); }
Frame 20
stop();
Frame 22
stop();
Symbol 3 MovieClip Frame 1
stop();
Symbol 3 MovieClip Frame 42
stop();
Symbol 30 MovieClip [theworm] Frame 1
stop();
Symbol 44 MovieClip Frame 1
_parent.stop();
Symbol 44 MovieClip Frame 65
stop(); _parent.play();
Symbol 49 Button
on (release) { getURL ("http://www.urgames.com", "_self"); }
Symbol 53 Button
on (release) { getURL ("http://www.gamesforyourwebsite.com", "_self"); }
Symbol 57 Button
on (release) { getURL ("http://www.urgames.com/forums", "_self"); }
Symbol 61 Button
on (release) { getURL ("http://www.urgames.com/cheats", "_self"); }
Symbol 71 Button
on (release) { play(); }
Symbol 75 Button
on (release) { gotoAndStop ("credits"); }
Symbol 77 MovieClip Frame 5
_parent.moveIt(); gotoAndPlay(_parent.level);
Symbol 81 Button
on (keyPress "<Up>") { pressed(38); } on (keyPress "<Down>") { pressed(40); } on (keyPress "<Left>") { pressed(37); } on (keyPress "<Right>") { pressed(39); }
Symbol 87 MovieClip Frame 1
function pressed(cd) { var _local1 = cd; c = getCdir(); if ((getChanged() == false) && (getGameOn() == true)) { if (_local1 == 38) { if ((c != 1) && (c != 3)) { setCdir(3); setChanged(true); } } else if (_local1 == 40) { if ((c != 3) && (c != 1)) { setCdir(1); setChanged(true); } } else if (_local1 == 37) { if ((c != 2) && (c != 4)) { setCdir(4); setChanged(true); } } else if (_local1 == 39) { if ((c != 4) && (c != 2)) { setCdir(2); setChanged(true); } } } } function setCdir(c) { this.cdir = c; } function getCdir() { return(this.cdir); } function getChanged() { return(this.changed); } function setChanged(c) { this.changed = c; } function getGameOn() { return(this.gameOn); } function getPR(z) { d = 800; return(d / (z + d)); } function drawLine(x, y, z, x2, y2, z2) { var _local1 = y2; var _local2 = y; var _local3 = x2; x = x * getPR(z); _local2 = _local2 * getPR(z); _local3 = _local3 * getPR(z2); _local1 = _local1 * getPR(z2); _local2 = _local2 - 500; _local1 = _local1 - 500; moveTo(x, _local2); lineTo(_local3, _local1); } function getPointX(p, z) { return(p * getPR(z)); } function getPointY(p, z) { return((p * getPR(z)) - 500); } function drawSquare(x, y, z, x2, y2, z2) { var _local1 = y2; var _local2 = x2; var _local3 = z; drawLine(x, y, _local3, _local2, y, _local3); drawLine(x, _local1, z2, _local2, _local1, z2); drawLine(x, y, _local3, x, _local1, z2); drawLine(_local2, y, _local3, _local2, _local1, z2); } function drawCube(x, y, z, s) { var _local1 = s; var _local2 = z; var _local3 = y; drawSquare(x, _local3, _local2, x + _local1, _local3 + _local1, _local2); drawSquare(x, _local3, _local2 + _local1, x + _local1, _local3 + _local1, _local2 + _local1); drawLine(x, _local3, _local2, x, _local3, _local2 + _local1); drawLine(x + _local1, _local3, _local2, x + _local1, _local3, _local2 + _local1); drawLine(x, _local3 + _local1, _local2, x, _local3 + _local1, _local2 + _local1); drawLine(x + _local1, _local3 + _local1, _local2, x + _local1, _local3 + _local1, _local2 + _local1); } function moveIt() { var _local1 = this; if (gameOn == false) { } else { if (_local1.cdir == 3) { newchead = _local1.chead - 20; } if (_local1.cdir == 1) { newchead = _local1.chead + 20; } if (_local1.cdir == 2) { newchead = _local1.chead + 1; } if (_local1.cdir == 4) { newchead = _local1.chead - 1; } if (newchead < 0) { destroyIt(); } else if (newchead > 399) { destroyIt(); } else if (_local1["worm" + newchead]._currentframe == 2) { destroyIt(); } else if ((((newchead % 20) == 0) && (_local1.cdir == 2)) && (newchead != 0)) { destroyIt(); } else if ((((newchead + 1) % 20) == 0) && (_local1.cdir == 4)) { destroyIt(); } else { _local1["worm" + _local1.chead].gotoAndStop(1); next = _local1.chead; _local1.chead = newchead; _local1["worm" + _local1.chead].gotoAndStop(3); _local1["worm" + _local1.chead].wormhead.gotoAndStop(_local1.cdir); _local1["worm" + _local1.chead].wormhead2.gotoAndStop(_local1.cdir); _local1["worm" + _local1.chead].tail = next; if (_local1.chead == appleAt) { placeApple(); toadd = toadd + 3; _local1.apples = int(_local1.apples) + 1; lvl = Math.floor(_local1.apples / 10) + 1; if (lvl >= 5) { lvl = 4; } if (int(lvl) != int(_local1.level)) { _parent.levelAlert.levelText.level = "Level: " + lvl; _parent.levelAlert.play(); } _local1.level = lvl; } if (_local1.chead == _local1.apple2At) { _local1.toadd = 0; _local1.apple2At = -1; gnext = _local1["worm" + _local1.chead].tail; arr = new Array(); while (gnext != null) { arr[arr.length] = gnext; gnext = _local1["worm" + gnext].tail; } if (arr.length >= 5) { arr.reverse(); _local1["worm" + arr[0]].gotoAndStop(1); _local1["worm" + arr[0]].tail = null; _local1["worm" + arr[1]].gotoAndStop(1); _local1["worm" + arr[1]].tail = null; _local1["worm" + arr[2]].gotoAndStop(1); _local1["worm" + arr[2]].tail = null; _local1["worm" + arr[3]].tail = null; } } while (next != null) { obj = _local1["worm" + next]; next = obj.tail; next2 = _local1["worm" + next].tail; if (next2 == null) { if (_local1.toadd == 0) { _local1["worm" + obj.tail].gotoAndStop(1); obj.tail = null; } else { _local1.toadd--; } } if (next == null) { } else { obj.gotoAndStop(2); } } _local1.changed = false; } } } function destroyIt() { var _local1 = this; if (_local1.chance == false) { _local1.chance = true; } else { _local1.chance = false; _local1.gameOn = false; nxt = _local1["worm" + _local1.chead].tail; while (nxt != null) { r = int(Math.random() * 40) + 2; _local1["worm" + nxt].b1.gotoAndPlay(r); _local1["worm" + nxt].b2.gotoAndPlay(r); nxt = _local1["worm" + nxt].tail; } _local1["worm" + _local1.chead].wormhead.play(); _local1["worm" + _local1.chead].wormhead2.play(); _parent.btnRestart._visible = true; } } function placeApple() { var _local1 = this; do { pos = int(Math.random() * 400); if (_local1["worm" + pos]._currentframe > 1) { nopos = true; } else { nopos = false; } } while (nopos == true); _local1["worm" + pos].gotoAndStop(4); _local1.appleAt = pos; newp = int(Math.random() * 10) + 1; if (newp == 5) { placeApple2(); } } function placeApple2() { var _local1 = this; if (_local1.apple2At != -1) { } else { do { pos = int(Math.random() * 400); if (_local1["worm" + pos]._currentframe > 1) { nopos = true; } else { nopos = false; } } while (nopos == true); _local1["worm" + pos].gotoAndStop(5); _local1.apple2At = pos; } } _parent.btnRestart._visible = false; this.gameOn = false; lineStyle(1, 13421772, 50); drawSquare(-400, 1000, 100, 400, 1000, 900); var u = 0; var v = 0; var n = 0; u = -400; while (u < 400) { v = 100; while (v < 900) { drawSquare(u, 1000, v, u + 40, 1000, v + 40); v = v + 40; } u = u + 40; } lineStyle(1, 16764108, 100); v = 100; while (v < 900) { drawCube(-440, 960, v, 40); drawCube(400, 960, v, 40); v = v + 40; } u = -440; while (u < 440) { drawCube(u, 960, 900, 40); u = u + 40; } n = 0; zpoint = 920; v = 0; while (v < 20) { zpoint = zpoint - 40; u = 0; while (u < 20) { w = this.attachMovie("theworm", "worm" + n, n); w._x = getPointX(-380 + (u * 40), zpoint + 15); w._y = getPointY(1000, zpoint + 15); w._visible = true; w._width = w._width * getPR(zpoint); w._height = w._height * getPR(zpoint); w.gotoAndStop(1); n++; u++; } v++; } this.chead = 270; this.cdir = 3; this["worm" + this.chead]._visible = true; this["worm" + this.chead].gotoAndStop(3); this["worm" + this.chead].wormhead.gotoAndStop(this.cdir); this["worm" + this.chead].wormhead2.gotoAndStop(this.cdir); this["worm" + this.chead].tail = this.chead + 20; this["worm" + (this.chead + 20)].gotoAndStop(2); this["worm" + (this.chead + 20)].tail = this.chead + 40; this["worm" + (this.chead + 40)].gotoAndStop(2); this["worm" + (this.chead + 40)].tail = null; placeApple(); this.apple2At = -1; this.changed = false; this.toadd = 0; this.apples = 0; this.level = 1; this.chance = false;
Symbol 91 Button
on (release, keyPress "<Enter>") { gotoAndPlay ("startingframe2"); }
Symbol 92 Button
on (release, keyPress "<Enter>") { btnPlay._visible = false; thegame.gameOn = true; }
Symbol 95 MovieClip Frame 1
stop();
Symbol 101 Button
on (release) { gotoAndStop ("startingframe"); }
Symbol 104 Button
on (release) { getURL ("http://www.quickflashgames.com/", "_blank"); }

Library Items

Symbol 1 GraphicUsed by:30
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:30
Symbol 4 GraphicUsed by:8
Symbol 5 GraphicUsed by:8
Symbol 6 GraphicUsed by:8
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:4 5 6 7Used by:30
Symbol 9 GraphicUsed by:29
Symbol 10 GraphicUsed by:29
Symbol 11 GraphicUsed by:29
Symbol 12 GraphicUsed by:29
Symbol 13 GraphicUsed by:29
Symbol 14 GraphicUsed by:29
Symbol 15 GraphicUsed by:29
Symbol 16 GraphicUsed by:29
Symbol 17 GraphicUsed by:29
Symbol 18 GraphicUsed by:29
Symbol 19 GraphicUsed by:29
Symbol 20 GraphicUsed by:29
Symbol 21 GraphicUsed by:29
Symbol 22 GraphicUsed by:29
Symbol 23 GraphicUsed by:29
Symbol 24 GraphicUsed by:29
Symbol 25 GraphicUsed by:29
Symbol 26 GraphicUsed by:29
Symbol 27 GraphicUsed by:29
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28Used by:30 87  Timeline
Symbol 30 MovieClip [theworm]Uses:1 3 8 29
Symbol 31 GraphicUsed by:Timeline
Symbol 32 GraphicUsed by:38
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:38
Symbol 35 FontUsed by:36 37 46 47 50 51 54 55 58 59 65 66 72 74 83 84 85 86 93 97 98 99
Symbol 36 TextUses:35Used by:38
Symbol 37 EditableTextUses:35Used by:38
Symbol 38 MovieClipUses:32 34 36 37Used by:Timeline
Symbol 39 GraphicUsed by:44
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:44
Symbol 42 SoundUsed by:44
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:39 41 42 43Used by:Timeline
Symbol 45 GraphicUsed by:Timeline
Symbol 46 TextUses:35Used by:49
Symbol 47 TextUses:35Used by:49
Symbol 48 GraphicUsed by:49
Symbol 49 ButtonUses:46 47 48Used by:Timeline
Symbol 50 TextUses:35Used by:53
Symbol 51 TextUses:35Used by:53
Symbol 52 GraphicUsed by:53
Symbol 53 ButtonUses:50 51 52Used by:Timeline
Symbol 54 TextUses:35Used by:57
Symbol 55 TextUses:35Used by:57
Symbol 56 GraphicUsed by:57
Symbol 57 ButtonUses:54 55 56Used by:Timeline
Symbol 58 TextUses:35Used by:61
Symbol 59 TextUses:35Used by:61
Symbol 60 GraphicUsed by:61
Symbol 61 ButtonUses:58 59 60Used by:Timeline
Symbol 62 GraphicUsed by:Timeline
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:Timeline
Symbol 65 TextUses:35Used by:Timeline
Symbol 66 TextUses:35Used by:Timeline
Symbol 67 FontUsed by:68 69 76 88 89
Symbol 68 TextUses:67Used by:71 92
Symbol 69 TextUses:67Used by:71 92
Symbol 70 GraphicUsed by:71 92
Symbol 71 ButtonUses:68 69 70Used by:Timeline
Symbol 72 TextUses:35Used by:75
Symbol 73 GraphicUsed by:75
Symbol 74 TextUses:35Used by:75
Symbol 75 ButtonUses:72 73 74Used by:Timeline
Symbol 76 TextUses:67Used by:Timeline
Symbol 77 MovieClipUsed by:87
Symbol 78 GraphicUsed by:81
Symbol 79 GraphicUsed by:81
Symbol 80 GraphicUsed by:81
Symbol 81 ButtonUses:78 79 80Used by:87
Symbol 82 GraphicUsed by:87
Symbol 83 TextUses:35Used by:87
Symbol 84 EditableTextUses:35Used by:87
Symbol 85 TextUses:35Used by:87
Symbol 86 EditableTextUses:35Used by:87
Symbol 87 MovieClipUses:77 81 82 29 83 84 85 86Used by:Timeline
Symbol 88 TextUses:67Used by:91
Symbol 89 TextUses:67Used by:91
Symbol 90 GraphicUsed by:91
Symbol 91 ButtonUses:88 89 90Used by:Timeline
Symbol 92 ButtonUses:68 69 70Used by:Timeline
Symbol 93 EditableTextUses:35Used by:94
Symbol 94 MovieClipUses:93Used by:95
Symbol 95 MovieClipUses:94Used by:Timeline
Symbol 96 GraphicUsed by:Timeline
Symbol 97 TextUses:35Used by:Timeline
Symbol 98 TextUses:35Used by:Timeline
Symbol 99 TextUses:35Used by:101
Symbol 100 GraphicUsed by:101
Symbol 101 ButtonUses:99 100Used by:Timeline
Symbol 102 GraphicUsed by:Timeline
Symbol 103 GraphicUsed by:104
Symbol 104 ButtonUses:103Used by:Timeline

Instance Names

"_preloader"Frame 1Symbol 38 MovieClip
"thegame"Frame 22Symbol 87 MovieClip
"btnRestart"Frame 22Symbol 91 Button
"btnPlay"Frame 22Symbol 92 Button
"levelAlert"Frame 22Symbol 95 MovieClip
"b1"Symbol 30 MovieClip [theworm] Frame 2Symbol 3 MovieClip
"b2"Symbol 30 MovieClip [theworm] Frame 2Symbol 3 MovieClip
"wormhead"Symbol 30 MovieClip [theworm] Frame 3Symbol 8 MovieClip
"wormhead2"Symbol 30 MovieClip [theworm] Frame 3Symbol 8 MovieClip
"bar"Symbol 38 MovieClip Frame 1Symbol 34 MovieClip
"_pretxtPercent"Symbol 38 MovieClip Frame 1Symbol 37 EditableText
"mover"Symbol 87 MovieClip Frame 1Symbol 77 MovieClip
"levelText"Symbol 95 MovieClip Frame 1Symbol 94 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 30 as "theworm"

Labels

"startingframe"Frame 20
"startingframe2"Frame 21
"credits"Frame 23

Dynamic Text Variables

applesSymbol 84 EditableText"0"
levelSymbol 86 EditableText"0"
levelSymbol 93 EditableText"Level: 1"




http://swfchan.com/6/27674/info.shtml
Created: 21/5 -2019 07:53:14 Last modified: 21/5 -2019 07:53:14 Server time: 14/11 -2024 07:09:52