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

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

3D Worm.swf

This is the info page for
Flash #22286

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


Text
PRESENTS

W  RM

W  RM

play

play

CREDITS

CREDITS

<P ALIGN="CENTER"><FONT FACE="Arial Black" SIZE="10" COLOR="#DE6F00"><A HREF="http://www.funflashgames.com/" target = "_blank"><B>Click here to play more games by FunFlashGames.com</B></A></FONT></P>

<P ALIGN="CENTER"><FONT FACE="Arial Black" SIZE="10" COLOR="#DE6F00"><A HREF="http://www.funflashgames.com/freecontent.html" target = "_blank"><B>Click here to add this game to your website.</B></A></FONT></P>

wait...

X

0

LEVEL:

0

Restart

Restart

Level: 1

CREDITS

DESIGNED AND DEVELOPED BY: AQEEL AHMAD

<P ALIGN="LEFT"><FONT FACE="Arial" SIZE="20" COLOR="#FFFFFF"><A HREF="http://www.aqeelsfolio.tk"><B>HTTP://WWW.AQEELSFOLIO.TK</B></A></FONT></P>

contact: aqlahmad@hotmail.com

BACK

ActionScript [AS1/AS2]

Frame 4
tb = getBytesTotal(); lb = getBytesLoaded(); v = int((lb / tb) * 100); thebar.setValue(v); if (lb < tb) { gotoAndPlay(_currentframe - 1); } else if (thebar.mv == thebar.thebar._x) { play(); } else { gotoAndPlay(_currentframe - 1); }
Frame 89
stop();
Frame 91
stop();
Symbol 3 MovieClip Frame 1
stop();
Symbol 3 MovieClip Frame 42
stop();
Symbol 30 MovieClip [theworm] Frame 1
stop();
Symbol 39 MovieClip Frame 1
function setValue(v) { mv = (v / 100) * 144; } var mv = 0;
Instance of Symbol 38 MovieClip in Symbol 39 MovieClip Frame 1
onClipEvent (enterFrame) { if (_parent.thebar._x < _parent.mv) { if ((_parent.mv - _parent.thebar._x) >= 2) { _parent.thebar._x = _parent.thebar._x + 2; } else { _parent.thebar._x++; } } }
Symbol 52 Button
on (release) { play(); }
Symbol 56 Button
on (release) { gotoAndStop (92); }
Symbol 61 MovieClip Frame 5
_parent.moveIt(); gotoAndPlay(_parent.level);
Symbol 65 Button
on (keyPress "<Up>") { pressed(38); } on (keyPress "<Down>") { pressed(40); } on (keyPress "<Left>") { pressed(37); } on (keyPress "<Right>") { pressed(39); }
Symbol 71 MovieClip Frame 1
function pressed(cd) { c = getCdir(); if ((getChanged() == false) && (getGameOn() == true)) { if (cd == 38) { if ((c != 1) && (c != 3)) { setCdir(3); setChanged(true); } } else if (cd == 40) { if ((c != 3) && (c != 1)) { setCdir(1); setChanged(true); } } else if (cd == 37) { if ((c != 2) && (c != 4)) { setCdir(4); setChanged(true); } } else if (cd == 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) { x = x * getPR(z); y = y * getPR(z); x2 = x2 * getPR(z2); y2 = y2 * getPR(z2); y = y - 500; y2 = y2 - 500; moveTo(x, y); lineTo(x2, y2); } 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) { drawLine(x, y, z, x2, y, z); drawLine(x, y2, z2, x2, y2, z2); drawLine(x, y, z, x, y2, z2); drawLine(x2, y, z, x2, y2, z2); } function drawCube(x, y, z, s) { drawSquare(x, y, z, x + s, y + s, z); drawSquare(x, y, z + s, x + s, y + s, z + s); drawLine(x, y, z, x, y, z + s); drawLine(x + s, y, z, x + s, y, z + s); drawLine(x, y + s, z, x, y + s, z + s); drawLine(x + s, y + s, z, x + s, y + s, z + s); } function moveIt() { if (gameOn == false) { return(undefined); } if (this.cdir == 3) { newchead = this.chead - 20; } if (this.cdir == 1) { newchead = this.chead + 20; } if (this.cdir == 2) { newchead = this.chead + 1; } if (this.cdir == 4) { newchead = this.chead - 1; } if (newchead < 0) { destroyIt(); return(undefined); } if (newchead > 399) { destroyIt(); return(undefined); } if (this["worm" + newchead]._currentframe == 2) { destroyIt(); return(undefined); } if ((((newchead % 20) == 0) && (this.cdir == 2)) && (newchead != 0)) { destroyIt(); return(undefined); } if ((((newchead + 1) % 20) == 0) && (this.cdir == 4)) { destroyIt(); return(undefined); } this["worm" + this.chead].gotoAndStop(1); next = this.chead; this.chead = newchead; 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 = next; if (this.chead == appleAt) { placeApple(); toadd = toadd + 3; this.apples = int(this.apples) + 1; lvl = Math.floor(this.apples / 10) + 1; if (lvl >= 5) { lvl = 4; } if (int(lvl) != int(this.level)) { _parent.levelAlert.levelText.level = "Level: " + lvl; _parent.levelAlert.play(); } this.level = lvl; } if (this.chead == this.apple2At) { this.toadd = 0; this.apple2At = -1; gnext = this["worm" + this.chead].tail; arr = new Array(); while (gnext != null) { arr[arr.length] = gnext; gnext = this["worm" + gnext].tail; } if (arr.length >= 5) { arr.reverse(); this["worm" + arr[0]].gotoAndStop(1); this["worm" + arr[0]].tail = null; this["worm" + arr[1]].gotoAndStop(1); this["worm" + arr[1]].tail = null; this["worm" + arr[2]].gotoAndStop(1); this["worm" + arr[2]].tail = null; this["worm" + arr[3]].tail = null; } } while (next != null) { obj = this["worm" + next]; next = obj.tail; next2 = this["worm" + next].tail; if (next2 == null) { if (this.toadd == 0) { this["worm" + obj.tail].gotoAndStop(1); obj.tail = null; } else { this.toadd--; } } if (next == null) { } else { obj.gotoAndStop(2); } } this.changed = false; } function destroyIt() { if (this.chance == false) { this.chance = true; return(undefined); } this.chance = false; this.gameOn = false; nxt = this["worm" + this.chead].tail; while (nxt != null) { r = int(Math.random() * 40) + 2; this["worm" + nxt].b1.gotoAndPlay(r); this["worm" + nxt].b2.gotoAndPlay(r); nxt = this["worm" + nxt].tail; } this["worm" + this.chead].wormhead.play(); this["worm" + this.chead].wormhead2.play(); _parent.btnRestart._visible = true; } function placeApple() { do { pos = int(Math.random() * 400); if (this["worm" + pos]._currentframe > 1) { nopos = true; } else { nopos = false; } } while (nopos == true); this["worm" + pos].gotoAndStop(4); this.appleAt = pos; newp = int(Math.random() * 10) + 1; if (newp == 5) { placeApple2(); } } function placeApple2() { if (this.apple2At != -1) { return(undefined); } do { pos = int(Math.random() * 400); if (this["worm" + pos]._currentframe > 1) { nopos = true; } else { nopos = false; } } while (nopos == true); this["worm" + pos].gotoAndStop(5); this.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 75 Button
on (release, keyPress "<Enter>") { gotoAndPlay (90); }
Symbol 76 Button
on (release, keyPress "<Enter>") { btnPlay._visible = false; thegame.gameOn = true; }
Symbol 79 MovieClip Frame 1
stop();
Symbol 84 Button
on (release) { getURL ("mailto:aqlahmad@hotmail.com"); }
Symbol 87 Button
on (release) { gotoAndStop (89); }

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 71  Timeline
Symbol 30 MovieClip [theworm]Uses:1 3 8 29
Symbol 31 GraphicUsed by:32  Timeline
Symbol 32 MovieClipUses:31Used by:Timeline
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:39
Symbol 35 GraphicUsed by:39
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:39
Symbol 38 MovieClipUsed by:39
Symbol 39 MovieClipUses:34 35 37 38Used by:Timeline
Symbol 40 GraphicUsed by:Timeline
Symbol 41 FontUsed by:42
Symbol 42 TextUses:41Used by:Timeline
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:Timeline
Symbol 45 FontUsed by:46 47 53 55 67 68 69 70 77 80 81 82 85
Symbol 46 TextUses:45Used by:Timeline
Symbol 47 TextUses:45Used by:Timeline
Symbol 48 FontUsed by:49 50 60 72 73 83
Symbol 49 TextUses:48Used by:52 76
Symbol 50 TextUses:48Used by:52 76
Symbol 51 GraphicUsed by:52 76
Symbol 52 ButtonUses:49 50 51Used by:Timeline
Symbol 53 TextUses:45Used by:56
Symbol 54 GraphicUsed by:56
Symbol 55 TextUses:45Used by:56
Symbol 56 ButtonUses:53 54 55Used by:Timeline
Symbol 57 FontUsed by:58 59
Symbol 58 EditableTextUses:57Used by:Timeline
Symbol 59 EditableTextUses:57Used by:Timeline
Symbol 60 TextUses:48Used by:Timeline
Symbol 61 MovieClipUsed by:71
Symbol 62 GraphicUsed by:65
Symbol 63 GraphicUsed by:65
Symbol 64 GraphicUsed by:65
Symbol 65 ButtonUses:62 63 64Used by:71
Symbol 66 GraphicUsed by:71
Symbol 67 TextUses:45Used by:71
Symbol 68 EditableTextUses:45Used by:71
Symbol 69 TextUses:45Used by:71
Symbol 70 EditableTextUses:45Used by:71
Symbol 71 MovieClipUses:61 65 66 29 67 68 69 70Used by:Timeline
Symbol 72 TextUses:48Used by:75
Symbol 73 TextUses:48Used by:75
Symbol 74 GraphicUsed by:75
Symbol 75 ButtonUses:72 73 74Used by:Timeline
Symbol 76 ButtonUses:49 50 51Used by:Timeline
Symbol 77 EditableTextUses:45Used by:78
Symbol 78 MovieClipUses:77Used by:79
Symbol 79 MovieClipUses:78Used by:Timeline
Symbol 80 TextUses:45Used by:Timeline
Symbol 81 TextUses:45Used by:Timeline
Symbol 82 EditableTextUses:45Used by:Timeline
Symbol 83 TextUses:48Used by:84
Symbol 84 ButtonUses:83Used by:Timeline
Symbol 85 TextUses:45Used by:87
Symbol 86 GraphicUsed by:87
Symbol 87 ButtonUses:85 86Used by:Timeline

Instance Names

"thebar"Frame 1Symbol 39 MovieClip
"thegame"Frame 91Symbol 71 MovieClip
"btnRestart"Frame 91Symbol 75 Button
"btnPlay"Frame 91Symbol 76 Button
"levelAlert"Frame 91Symbol 79 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
"thebar"Symbol 39 MovieClip Frame 1Symbol 37 MovieClip
"mover"Symbol 71 MovieClip Frame 1Symbol 61 MovieClip
"levelText"Symbol 79 MovieClip Frame 1Symbol 78 MovieClip

Special Tags

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

Labels

"startingframe"Frame 89
"startingframe2"Frame 90
"credits"Frame 92

Dynamic Text Variables

applesSymbol 68 EditableText"0"
levelSymbol 70 EditableText"0"
levelSymbol 77 EditableText"Level: 1"




http://swfchan.com/5/22286/info.shtml
Created: 27/5 -2019 00:23:52 Last modified: 27/5 -2019 00:23:52 Server time: 12/05 -2024 08:17:47