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

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

snake.swf

This is the info page for
Flash #94870

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


Text
Score:

0

FuCk A NOKIA

stephen hogan

reset

fag

ActionScript [AS1/AS2]

Frame 1
posx = new Array(); posy = new Array(); snakelength = 10; x = 210; t = 0; while (t < snakelength) { posx[t] = x; posy[t] = 190; x = x + 10; t++; } init = 1; foods = 0; score = 0;
Frame 2
if (init == 1) { t = 0; while (t < snakelength) { nn = "body" add t; duplicateMovieClip ("body", nn, t); t++; } init = 0; } if (head.up == 1) { by = head._y; bx = head._x; head._y = head._y - 10; } if (head.up == -1) { by = head._y; bx = head._x; head._y = head._y + 10; } if (head.left == 1) { by = head._y; bx = head._x; head._x = head._x - 10; } if (head.left == -1) { by = head._y; bx = head._x; head._x = head._x + 10; } t = snakelength - 1; while (0 < t) { posx[t] = posx[t - 1]; posy[t] = posy[t - 1]; t--; } posx[0] = bx; posy[0] = by; t = 0; while (t < snakelength) { nn = "body" add t; setProperty(nn, _x , posx[t]); setProperty(nn, _y , posy[t]); t++; } if ((((head._x < 10) || (380 < head._x)) || (head._y < 50)) || (380 < head._y)) { crash._x = head._x; crash._y = head._y; head._visible = false; crash.gotoAndPlay(1); gotoAndStop (4); } t = 2; while (t < snakelength) { if ((head._x == posx[t]) and (head._y == posy[t])) { crash._x = head._x; crash._y = head._y; head._visible = false; crash.gotoAndPlay(1); gotoAndStop (4); } t++; } if ((food._x == head._x) && (head._y == food._y)) { foods = 0; score = Number(score) + 9; duplicateMovieClip ("body", "body" add snakelength, snakelength); snakelength = snakelength + 1; posx[snakelength - 2] = posx[snakelength - 3]; posy[snakelength - 2] = posy[snakelength - 3]; } if (foods != 1) { x = random(360) + 10; y = random(320) + 50; x = x / 10; y = y / 10; x = int(x); y = int(y); x = x * 10; y = y * 10; food._x = x; food._y = y; foods = 1; }
Frame 3
gotoAndPlay (2);
Symbol 7 Button
on (keyPress "<Up>") { if (up == 0) { up = 1; if (left == 1) { headinhead._rotation = 90; } else { headinhead._rotation = -90; } left = 0; } } on (keyPress "<Down>") { if (up == 0) { up = -1; left = 0; } } on (keyPress "<Left>") { if (left == 0) { up = 0; left = 1; } } on (keyPress "<Right>") { if (left == 0) { up = 0; left = -1; } }
Symbol 8 MovieClip Frame 1
stop(); up = 0; left = 1;
Symbol 29 MovieClip Frame 14
stop();
Symbol 38 Button
on (release, keyPress "<Enter>") { t = 0; while (t < snakelength) { nn = "body" add t; removeMovieClip(nn); t++; } gotoAndPlay (1); }

Library Items

Symbol 1 GraphicUsed by:2 3
Symbol 2 MovieClip [body]Uses:1
Symbol 3 MovieClip [body]Uses:1Used by:Timeline
Symbol 4 GraphicUsed by:Timeline
Symbol 5 GraphicUsed by:7
Symbol 6 GraphicUsed by:7
Symbol 7 ButtonUses:5 6Used by:8
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 GraphicUsed by:11
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:9 10Used by:Timeline
Symbol 12 FontUsed by:13 14 33 35 37
Symbol 13 TextUses:12Used by:Timeline
Symbol 14 EditableTextUses:12Used by:Timeline
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:15 16 17 18 19 20 21 22 23 24 25 26 27 28Used by:Timeline
Symbol 30 FontUsed by:31
Symbol 31 TextUses:30Used by:32
Symbol 32 MovieClipUses:31Used by:Timeline
Symbol 33 TextUses:12Used by:Timeline
Symbol 34 GraphicUsed by:38
Symbol 35 TextUses:12Used by:38
Symbol 36 GraphicUsed by:38
Symbol 37 TextUses:12Used by:38
Symbol 38 ButtonUses:34 35 36 37Used by:Timeline

Instance Names

"head"Frame 2Symbol 8 MovieClip
"body"Frame 2Symbol 3 MovieClip [body]
"food"Frame 2Symbol 11 MovieClip
"crash"Frame 2Symbol 29 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$KE$14ba.SN1sbt3ySLB0yqn0.."
ExportAssets (56)Timeline Frame 1Symbol 2 as "body"
ExportAssets (56)Timeline Frame 1Symbol 3 as "body"
ExportAssets (56)Timeline Frame 2Symbol 3 as "body"
ExportAssets (56)Timeline Frame 3Symbol 3 as "body"
ExportAssets (56)Timeline Frame 4Symbol 3 as "body"

Dynamic Text Variables

scoreSymbol 14 EditableText"0"




http://swfchan.com/19/94870/info.shtml
Created: 25/3 -2019 20:05:46 Last modified: 25/3 -2019 20:05:46 Server time: 01/05 -2024 13:03:18