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

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

sonicsnake.swf

This is the info page for
Flash #229198

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


Text
PRESSTHESCREENTOPLAY

PRESSTHESCREENTOPLAY

MOVE
SONIC
WITH
ARROW
KEYS

MOVE
SONIC
WITH
ARROW
KEYS

READY!

READY!

0

0

SCORE

SCORE

ActionScript [AS1/AS2]

Frame 1
stop();
Instance of Symbol 6 MovieClip "loadBar" in Frame 1
onClipEvent (load) { function checkLoaded() { bytesLoaded = _parent.getBytesLoaded(); if (bytesLoaded == bytesTotal) { _parent.gotoAndPlay("start"); _parent.loadBar._visible = 0; } else { _parent.loadBar._visible = 1; bar._width = (bytesLoaded * barW) / bytesTotal; percent = (bytesLoaded / bytesTotal) * 100; percentText = Math.round(percent); } } barW = bar._width; bytesTotal = _parent.getBytesTotal(); checkLoaded(); } onClipEvent (enterFrame) { checkLoaded(); }
Frame 5
tLength = 0;
Frame 6
stop();
Frame 27
i++; j = i - 1; attachMovie("tail", "tail" + i, i); _root["tail" + i]._x = _root.head._x - _root.head.xspeed; _root["tail" + i]._y = _root.head._y - _root.head.yspeed; if (i > tLength) { i = 0; }
Frame 28
gotoAndPlay(_currentframe - 1);
Symbol 2 MovieClip [tail] Frame 1
if ((this._x == _root.head._x) and (this._y == _root.head._y)) { _root.head.reset(); }
Symbol 2 MovieClip [tail] Frame 2
gotoAndPlay (1);
Symbol 17 Button
on (release) { play(); }
Symbol 25 MovieClip Frame 1
txtBottom.curText = _root.text; txtBottom.shadowText = _root.text;
Symbol 25 MovieClip Frame 10
gotoAndPlay (1);
Symbol 33 Button
on (keyPress "<Up>") { if (!((this.yspeed == 10) and (this.xspeed == 0))) { this.xspeed = 0; this.yspeed = -10; } } on (keyPress "<Down>") { if (!((this.yspeed == -10) and (this.xspeed == 0))) { this.xspeed = 0; this.yspeed = 10; } } on (keyPress "<Left>") { if (!((this.xspeed == 10) and (this.yspeed == 0))) { this.xspeed = -10; this.yspeed = 0; } } on (keyPress "<Right>") { if (!((this.xspeed == -10) and (this.yspeed == 0))) { this.xspeed = 10; this.yspeed = 0; } }
Symbol 34 MovieClip Frame 1
function reset() { i = 1; while (i <= (_root.tLength + 1)) { unloadMovie (_root["tail" + i]); i++; } _root.tLength = 0; _root.text = _root.numHearts; _root.text = _root.numHearts2; _root.numHearts = 0; _root.numHearts2 = 0; _root.head._x = start_x; _root.head._y = start_y; _root.gotoAndStop(2); } start_x = this._x; start_y = this._y; xspeed = 0; yspeed = -10;
Symbol 34 MovieClip Frame 2
this._x = this._x + xspeed; this._y = this._y + yspeed; if ((this._x > 201) or (this._x < 1)) { reset(); } if ((this._y > 186) or (this._y < 1)) { reset(); }
Symbol 34 MovieClip Frame 3
gotoAndPlay (2);
Symbol 36 MovieClip Frame 1
if ((this._x == _root.head._x) and (this._y == _root.head._y)) { this._x = ((Math.round(Math.random() * 18) + 1) * 10) + 6.1; this._y = ((Math.round(Math.random() * 16) + 1) * 10) + 6.1; _root.numHearts++; _root.numHearts2++; if (_root.tLength < 30) { _root.tLength++; } }
Symbol 36 MovieClip Frame 2
gotoAndPlay (1);

Library Items

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

Instance Names

"loadBar"Frame 1Symbol 6 MovieClip
"head"Frame 26Symbol 34 MovieClip
"bar"Symbol 6 MovieClip Frame 1Symbol 5 MovieClip
"txtBottom"Symbol 25 MovieClip Frame 1Symbol 24 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 2 as "tail"

Labels

"start"Frame 5

Dynamic Text Variables

shadowTextSymbol 22 EditableText""
curTextSymbol 23 EditableText""
numHearts2Symbol 31 EditableText"0"
numHeartsSymbol 37 EditableText"0"




http://swfchan.com/46/229198/info.shtml
Created: 22/12 -2019 16:35:52 Last modified: 22/12 -2019 16:35:52 Server time: 13/05 -2024 13:13:53