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

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

-Super Worm-.swf

This is the info page for
Flash #73138

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


Text
Instructions

Instructions

-SUPER
WORM-

-SUPER
WORM-

0

0

LEVEL

= -2 links

= +2 links

Collect as many red apples as possible. The red
apples add links to your snake, and points to your
score. But be careful, don't hit the sides, or
yourself, because then you lose.
If you pick up a green apple, it takes away 2 links
from your snake...but not your points. See how far
you can get, and try to beat your high score

Back

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
stop(); stopAllSounds();
Frame 3
stop();
Frame 4
stop();
Symbol 3 MovieClip Frame 1
stop();
Symbol 3 MovieClip Frame 42
stop();
Symbol 12 MovieClip [theworm] Frame 1
stop();
Symbol 21 Button
on (release) { getURL ("http://www.newgrounds.com", "blank"); }
Symbol 26 Button
on (release) { _root.play(); }
Symbol 27 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 27 MovieClip Frame 2
gotoAndPlay (1);
Symbol 28 Button
on (release) { getURL ("mailto:aqlahmad@hotmail.com"); }
Symbol 31 Button
on (release) { play(); }
Symbol 38 Button
on (release) { gotoAndStop (4); }
Symbol 44 Button
on (release) { getURL ("www.offthewall.tk", "blank"); }
Symbol 47 MovieClip Frame 5
_parent.moveIt(); gotoAndPlay ("_parent.level");
Symbol 51 Button
on (keyPress "<Up>") { pressed(38); } on (keyPress "<Down>") { pressed(40); } on (keyPress "<Left>") { pressed(37); } on (keyPress "<Right>") { pressed(39); }
Symbol 63 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; x = x * getPR(z); _local2 = _local2 * getPR(z); x2 = x2 * getPR(z2); _local1 = _local1 * getPR(z2); _local2 = _local2 - 500; _local1 = _local1 - 500; moveTo(x, _local2); lineTo(x2, _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) { return(undefined); } 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(); return(undefined); } if (newchead > 399) { destroyIt(); return(undefined); } if (_local1["worm" + newchead]._currentframe == 2) { destroyIt(); return(undefined); } if ((((newchead % 20) == 0) && (_local1.cdir == 2)) && (newchead != 0)) { destroyIt(); return(undefined); } if ((((newchead + 1) % 20) == 0) && (_local1.cdir == 4)) { destroyIt(); return(undefined); } _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; return(undefined); } function destroyIt() { var _local1 = this; if (_local1.chance == false) { _local1.chance = true; return(undefined); } _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; return(undefined); } 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) { return(undefined); } 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; return(undefined); } _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 73 Button
on (release, keyPress "<Enter>") { gotoAndPlay (2); }
Symbol 74 Button
on (release, keyPress "<Enter>") { btnPlay._visible = false; thegame.gameOn = true; }
Symbol 86 Button
on (release) { gotoAndStop (2); }

Library Items

Symbol 1 GraphicUsed by:12
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:12
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:12
Symbol 9 GraphicUsed by:11
Symbol 10 GraphicUsed by:11 79
Symbol 11 MovieClipUses:9 10Used by:12 63 77
Symbol 12 MovieClip [theworm]Uses:1 3 8 11
Symbol 13 GraphicUsed by:27
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:27
Symbol 16 GraphicUsed by:27
Symbol 17 GraphicUsed by:20 21
Symbol 18 GraphicUsed by:20 21
Symbol 19 GraphicUsed by:20 21
Symbol 20 MovieClipUses:17 18 19Used by:21
Symbol 21 ButtonUses:20 17 18 19Used by:27
Symbol 22 GraphicUsed by:26
Symbol 23 GraphicUsed by:26
Symbol 24 GraphicUsed by:26
Symbol 25 GraphicUsed by:26
Symbol 26 ButtonUses:22 23 24 25Used by:27
Symbol 27 MovieClipUses:13 15 16 21 26Used by:Timeline
Symbol 28 ButtonUsed by:Timeline
Symbol 29 GraphicUsed by:30 31 74
Symbol 30 MovieClipUses:29Used by:31 74
Symbol 31 ButtonUses:30 29Used by:Timeline
Symbol 32 GraphicUsed by:38
Symbol 33 FontUsed by:34
Symbol 34 TextUses:33Used by:38
Symbol 35 GraphicUsed by:38
Symbol 36 FontUsed by:37 75
Symbol 37 TextUses:36Used by:38
Symbol 38 ButtonUses:32 34 35 37Used by:Timeline
Symbol 39 FontUsed by:40 41 80 81 82 84
Symbol 40 TextUses:39Used by:Timeline
Symbol 41 TextUses:39Used by:Timeline
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:44
Symbol 44 ButtonUses:43Used by:Timeline
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:Timeline
Symbol 47 MovieClipUsed by:63
Symbol 48 GraphicUsed by:51
Symbol 49 GraphicUsed by:51
Symbol 50 GraphicUsed by:51
Symbol 51 ButtonUses:48 49 50Used by:63
Symbol 52 GraphicUsed by:63
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:63
Symbol 55 FontUsed by:56 62
Symbol 56 EditableTextUses:55Used by:63
Symbol 57 GraphicUsed by:61
Symbol 58 GraphicUsed by:61
Symbol 59 GraphicUsed by:61
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:57 58 59 60Used by:63
Symbol 62 EditableTextUses:55Used by:63
Symbol 63 MovieClipUses:47 51 52 11 54 56 61 62Used by:Timeline
Symbol 64 GraphicUsed by:70 71 73
Symbol 65 GraphicUsed by:70 71 73
Symbol 66 GraphicUsed by:70 71 73
Symbol 67 GraphicUsed by:70 71 73
Symbol 68 GraphicUsed by:70 71 73
Symbol 69 GraphicUsed by:70 71 73
Symbol 70 MovieClipUses:64 65 66 67 68 69Used by:73
Symbol 71 MovieClipUses:64 65 66 67 68 69Used by:73
Symbol 72 GraphicUsed by:73
Symbol 73 ButtonUses:70 71 72 64 65 66 67 68 69Used by:Timeline
Symbol 74 ButtonUses:30 29Used by:Timeline
Symbol 75 TextUses:36Used by:Timeline
Symbol 76 SoundUsed by:Timeline
Symbol 77 MovieClipUses:11Used by:Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78 10Used by:Timeline
Symbol 80 TextUses:39Used by:Timeline
Symbol 81 TextUses:39Used by:Timeline
Symbol 82 TextUses:39Used by:Timeline
Symbol 83 GraphicUsed by:86
Symbol 84 TextUses:39Used by:86
Symbol 85 GraphicUsed by:86
Symbol 86 ButtonUses:83 84 85Used by:Timeline

Instance Names

"thegame"Frame 3Symbol 63 MovieClip
"btnRestart"Frame 3Symbol 73 Button
"btnPlay"Frame 3Symbol 74 Button
"b1"Symbol 12 MovieClip [theworm] Frame 2Symbol 3 MovieClip
"b2"Symbol 12 MovieClip [theworm] Frame 2Symbol 3 MovieClip
"wormhead"Symbol 12 MovieClip [theworm] Frame 3Symbol 8 MovieClip
"wormhead2"Symbol 12 MovieClip [theworm] Frame 3Symbol 8 MovieClip
"bar"Symbol 27 MovieClip Frame 1Symbol 15 MovieClip
"mover"Symbol 63 MovieClip Frame 1Symbol 47 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 12 as "theworm"

Labels

"loaded"Symbol 27 MovieClip Frame 3

Dynamic Text Variables

applesSymbol 56 EditableText"0"
levelSymbol 62 EditableText"0"




http://swfchan.com/15/73138/info.shtml
Created: 8/4 -2019 10:43:36 Last modified: 8/4 -2019 10:43:36 Server time: 05/11 -2024 08:40:47