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

swfchan turned sixteen years old yesterday! (5may2024)

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

dragon_game_by_chaz0u.swf

This is the info page for
Flash #215092

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


Text
<p align="left"><font face="Lucida Console" size="30" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>100</b></font></p>

<p align="left"><font face="Lucida Console" size="30" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Score:</b></font></p>

<p align="left"><font face="Lucida Console" size="30" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>Click To Activate Keys</b></font></p><p align="left"></p><p align="left"><font face="Lucida Console" size="30" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>use Left</b></font></p><p align="left"><font face="Lucida Console" size="30" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>and Right</b></font></p><p align="left"><font face="Lucida Console" size="30" color="#cccccc" letterSpacing="0.000000" kerning="1"><b>Keys</b></font></p>

ActionScript [AS1/AS2]

Frame 1
this.createEmptyMovieClip("snake", 0); snake.attachMovie("lib_head", "box0", 0); snake.box0.theSpin = 0; snake.box0.theOut = 10; snake.box0._xscale = 70; snake.box0._yscale = 70; snake.box0._y = 250; spin = 0; out = 50; frameCount = 0; xPos = Math.random() * Stage.width; yPos = Math.random() * Stage.height; apple._x = xPos; apple._y = yPos; score = 0; turn = 0; turnChase = 0; moveSpeed = 10; moveChase = moveSpeed; speed = 60; legsSpeed = 0; snake.box0.onEnterFrame = function () { legsSpeed = legsSpeed - ((legsSpeed - moveSpeed) / 4); moveSpeed = moveSpeed - ((moveSpeed - moveChase) / 30); turn = turn - ((turn - turnChase) / speed); textBox.text = score; frameCount = frameCount + 1; if (frameCount > 100) { frameCount = 0; xPos = Math.random() * Stage.width; yPos = Math.random() * Stage.height; score = score - 0.5; } apple._x = apple._x - ((apple._x - xPos) / 10); apple._y = apple._y - ((apple._y - yPos) / 10); if (this.hitTest(apple) == true) { frameCount = 0; xPos = Math.random() * Stage.width; yPos = Math.random() * Stage.height; apple._x = xPos; apple._y = yPos; score = score + 1; } spin = spin + 10; this.jaw._rotation = (Math.sin((Math.PI/180) * spin) * out) / 2; this.theSpin = turn + 90; this._x = this._x + (Math.sin((Math.PI/180) * this.theSpin) * moveSpeed); this._y = this._y + (Math.cos((Math.PI/180) * this.theSpin) * moveSpeed); this._rotation = (-this.theSpin) + 80; if (this._x < 0) { this._x = this._x + Stage.width; } if (this._x > Stage.width) { this._x = this._x - Stage.width; } if (this._y < 0) { this._y = this._y + Stage.height; } if (this._y > Stage.height) { this._y = this._y - Stage.height; } }; i = 1; while (i < 25) { snake.attachMovie("lib_shape", "box" + i, i); snake["box" + i].theSpin = 0; snake["box" + i].theOut = 10; snake["box" + i].itsI = i - 1; snake["box" + i]._xscale = (i * 3) - 100; snake["box" + i]._yscale = (i * 3) - 100; snake["box" + i].onEnterFrame = function () { this.theSpin = this.theSpin - ((this.theSpin - snake["box" + this.itsI].theSpin) / 2); this._x = (Math.sin((Math.PI/180) * (this.theSpin - 180)) * this.theOut) + snake["box" + this.itsI]._x; this._y = (Math.cos((Math.PI/180) * (this.theSpin - 180)) * this.theOut) + snake["box" + this.itsI]._y; this._rotation = -this.theSpin; }; i++; } this.createEmptyMovieClip("line", 3); tailR = 0; tailR2 = 0; onEnterFrame = function () { arms._x = snake.box3._x; arms._y = snake.box3._y; arms._rotation = snake.box3._rotation; arms.arm1._rotation = (snake.box3._y / 5) + 100; arms.arm1.elbow._rotation = (snake.box3._y / 5) - 90; arms.arm2._rotation = moveSpeed + 50; arms.arm2.elbow._rotation = (snake.box3._y / 2) - 90; legs._x = snake.box12._x; legs._y = snake.box12._y; legs._rotation = snake.box12._rotation; legs.arm1._rotation = 140 + (legsSpeed * 7); legs.arm1.elbow._rotation = (-legsSpeed) + 40; legs.arm2._rotation = 180 + (legsSpeed * 5); legs.arm2.elbow._rotation = (-legsSpeed) + 40; tail._x = snake.box24._x; tail._y = snake.box24._y; tailDX = tailX - snake.box24._x; tailDY = tailY - snake.box24._y; tail._rotation = tailR; tailR = (Math.atan2(tailDY, tailDX) * 57.2957795130823) + 90; tailR2 = tailR2 - ((tailR2 - tailR) / 5); tailX = snake.box24._x; tailY = snake.box24._y; line.clear(); line.moveTo(snake.box0._x, snake.box0._y); line.lineStyle(25, 0, 100); i = 1; while (i < 25) { if ((((snake["box" + i]._x > 30) && (snake["box" + i]._x < (Stage.width - 30))) && (snake["box" + i]._y > 30)) && (snake["box" + i]._y < (Stage.height - 30))) { line.lineTo(snake["box" + i]._x, snake["box" + i]._y); line.lineStyle((-i) + 25, 0, 100); } else { line.lineStyle((-i) + 25, 0, 0); } i++; } }; var keyListener_obj = new Object(); resetKeys = function () { keyListener_obj.onKeyDown = function () { if (Key.getCode() == 38) { } if (Key.getCode() == 40) { } if (Key.getCode() == 37) { speed = 6; moveSpeed = 15; moveChase = 0; turnChase = turnChase + 80; } if (Key.getCode() == 39) { speed = 6; moveSpeed = 15; moveChase = 0; turnChase = turnChase + -80; } if (Key.getCode() == 32) { } delete keyListener_obj.onKeyDown; }; }; resetKeys(); keyListener_obj.onKeyUp = function () { if (Key.getCode() == 38) { } if (Key.getCode() == 40) { } if (Key.getCode() == 37) { } if (Key.getCode() == 39) { } if (Key.getCode() == 32) { } speed = 3; moveChase = 0; resetKeys(); }; Key.addListener(keyListener_obj); onMouseDown = function () { text._visible = false; };

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [lib_shape]Uses:1
Symbol 3 GraphicUsed by:7
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:7
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [lib_head]Uses:3 5 6
Symbol 8 GraphicUsed by:Timeline
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:Timeline
Symbol 11 FontUsed by:12 20 21
Symbol 12 EditableTextUses:11Used by:Timeline
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:Timeline
Symbol 15 GraphicUsed by:18
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:18
Symbol 18 MovieClipUses:15 17Used by:19
Symbol 19 MovieClipUses:18Used by:Timeline
Symbol 20 EditableTextUses:11Used by:Timeline
Symbol 21 EditableTextUses:11Used by:Timeline

Instance Names

"apple"Frame 1Symbol 10 MovieClip
"textBox"Frame 1Symbol 12 EditableText
"tail"Frame 1Symbol 14 MovieClip
"arms"Frame 1Symbol 19 MovieClip
"legs"Frame 1Symbol 19 MovieClip
"textBox"Frame 1Symbol 20 EditableText
"text"Frame 1Symbol 21 EditableText
"jaw"Symbol 7 MovieClip [lib_head] Frame 1Symbol 5 MovieClip
"elbow"Symbol 18 MovieClip Frame 1Symbol 17 MovieClip
"arm1"Symbol 19 MovieClip Frame 1Symbol 18 MovieClip
"arm2"Symbol 19 MovieClip Frame 1Symbol 18 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 2 as "lib_shape"
ExportAssets (56)Timeline Frame 1Symbol 7 as "lib_head"




http://swfchan.com/44/215092/info.shtml
Created: 21/7 -2019 21:33:36 Last modified: 21/7 -2019 21:33:36 Server time: 06/05 -2024 19:16:12