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

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

sonic_pong.swf

This is the info page for
Flash #222205

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


Text
Classic Pong

Version

Medium

Easy

Hard

First to 5 Wins!

<p align="left"><font face="BankGothic Md BT" size="24" color="#000066" letterSpacing="0.000000" kerning="1">Sonic: 0</font></p>

<p align="right"><font face="BankGothic Md BT" size="24" color="#cc0000" letterSpacing="0.000000" kerning="1">Knuckles: 0</font></p>

<p align="center"><font face="BankGothic Md BT" size="24" color="#ff9900" letterSpacing="0.000000" kerning="1">00:00</font></p>

Congratulations
You Win

Sorry... You Lose
Try Again

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
function lose() { _root.cpu.score++; _root.cputxt = "Sonic: " + _root.cpu.score; if (_root.cpu.score == 5) { gotoAndStop ("lose"); } reset(); } function win() { _root.player.score++; _root.playertxt = "Knuckles: " + _root.player.score; if (_root.player.score == 5) { gotoAndStop ("win"); } reset(); } function reset() { _root.ball._y = 200; _root.ball._x = 275; _root.ball.yspeed = 0; _root.ball.xspeed = 8; } function timer() { _root.timesec++; secs = _root.timesec % 60; mins = _root.timesec; mins = mins - secs; mins = mins / 60; if (isNaN(mins)) { mins = 0; } if (length(mins) == 1) { mins = "0" + mins; } if (length(secs) == 1) { secs = "0" + secs; } _root.timetxt = (mins + ":") + secs; } stop(); _root.ball.yspeed = 8; _root.ball.xspeed = 8; _root.cpu.score = 0; _root.player.score = 0; _root.cpu.speed = _global.cpuspeed; _root.timesec = 0; reset(); timerint = setInterval(timer, 1000);
Instance of Symbol 58 MovieClip "ball" in Frame 2
onClipEvent (enterFrame) { this._x = this._x + this.xspeed; this._y = this._y + this.yspeed; if ((this._y > 400) || (this._y < 0)) { this.yspeed = this.yspeed * -1; } if (this.hitTest(_root.player)) { ang = (this._y - _root.player._y) / 10; this.yspeed = this.yspeed + ang; this.xspeed = this.xspeed * -1.1; } if (this.hitTest(_root.cpu)) { ang = (this._y - _root.cpu._y) / 10; this.yspeed = this.yspeed + ang; this.xspeed = this.xspeed * -1.1; } if (this._x > 550) { _root.lose(); } if (this._x < 28) { _root.win(); } }
Instance of Symbol 61 MovieClip "player" in Frame 2
onClipEvent (enterFrame) { if (Key.isDown(38) && (this._y > 0)) { this._y = this._y - 8; } if (Key.isDown(40) && (this._y < 400)) { this._y = this._y + 8; } }
Instance of Symbol 64 MovieClip "cpu" in Frame 2
onClipEvent (enterFrame) { if (this._y > _root.ball._y) { this._y = this._y - speed; } if (this._y < _root.ball._y) { this._y = this._y + speed; } }
Frame 981
clearInterval(timerint); _root.cpu.score = 0; _root.player.score = 0; _root.playertxt = "Player: 0"; _root.cputxt = "CPU: 0";
Frame 982
clearInterval(timerint); _root.cpu.score = 0; _root.player.score = 0; _root.playertxt = "player: 0"; _root.cputxt = "CPU: 0";
Symbol 24 Button
on (release) { _global.cpuspeed = 5; gotoAndStop ("play"); }
Symbol 32 Button
on (release) { _global.cpuspeed = 7; gotoAndStop ("play"); }
Symbol 40 Button
on (release) { _global.cpuspeed = 10; gotoAndStop ("play"); }
Symbol 67 Button
on (release) { gotoAndStop (1); }

Library Items

Symbol 1 BitmapUsed by:3
Symbol 2 BitmapUsed by:3
Symbol 3 GraphicUses:1 2Used by:Timeline
Symbol 4 FontUsed by:5 6 41 42 43 44 54 55 56 65 66
Symbol 5 TextUses:4Used by:Timeline
Symbol 6 TextUses:4Used by:Timeline
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:24 32 40 67
Symbol 9 GraphicUsed by:24
Symbol 10 GraphicUsed by:24
Symbol 11 GraphicUsed by:24
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:24 32 40 67
Symbol 14 GraphicUsed by:24
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:24 32 40 67
Symbol 17 GraphicUsed by:24
Symbol 18 GraphicUsed by:24 32 40 67
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:24 32 40 67
Symbol 21 GraphicUsed by:24
Symbol 22 GraphicUsed by:24
Symbol 23 GraphicUsed by:24 32 40 67
Symbol 24 ButtonUses:8 9 10 11 13 14 16 17 18 20 21 22 23Used by:Timeline
Symbol 25 GraphicUsed by:32
Symbol 26 GraphicUsed by:32
Symbol 27 GraphicUsed by:32
Symbol 28 GraphicUsed by:32
Symbol 29 GraphicUsed by:32
Symbol 30 GraphicUsed by:32
Symbol 31 GraphicUsed by:32
Symbol 32 ButtonUses:8 25 26 27 13 28 16 29 18 20 30 31 23Used by:Timeline
Symbol 33 GraphicUsed by:40 67
Symbol 34 GraphicUsed by:40 67
Symbol 35 GraphicUsed by:40 67
Symbol 36 GraphicUsed by:40 67
Symbol 37 GraphicUsed by:40 67
Symbol 38 GraphicUsed by:40 67
Symbol 39 GraphicUsed by:40 67
Symbol 40 ButtonUses:8 33 34 35 13 36 16 37 18 20 38 39 23Used by:Timeline
Symbol 41 TextUses:4Used by:Timeline
Symbol 42 TextUses:4Used by:Timeline
Symbol 43 TextUses:4Used by:Timeline
Symbol 44 TextUses:4Used by:Timeline
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:47
Symbol 47 MovieClipUses:46Used by:Timeline
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:50
Symbol 50 MovieClipUses:49Used by:Timeline
Symbol 51 VideoUsed by:Timeline
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:Timeline
Symbol 54 EditableTextUses:4Used by:Timeline
Symbol 55 EditableTextUses:4Used by:Timeline
Symbol 56 EditableTextUses:4Used by:Timeline
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:Timeline
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:61
Symbol 61 MovieClipUses:60Used by:Timeline
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:64
Symbol 64 MovieClipUses:63Used by:Timeline
Symbol 65 TextUses:4Used by:Timeline
Symbol 66 TextUses:4Used by:Timeline
Symbol 67 ButtonUses:8 33 34 35 13 36 16 37 18 20 38 39 23Used by:Timeline
Streaming Sound 1Used by:Timeline

Instance Names

"ball"Frame 2Symbol 58 MovieClip
"player"Frame 2Symbol 61 MovieClip
"cpu"Frame 2Symbol 64 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.

Labels

"play"Frame 2
"lose"Frame 981
"win"Frame 982

Dynamic Text Variables

cputxtSymbol 54 EditableText"<p align="left"><font face="BankGothic Md BT" size="24" color="#000066" letterSpacing="0.000000" kerning="1">Sonic: 0</font></p>"
playertxtSymbol 55 EditableText"<p align="right"><font face="BankGothic Md BT" size="24" color="#cc0000" letterSpacing="0.000000" kerning="1">Knuckles: 0</font></p>"
timetxtSymbol 56 EditableText"<p align="center"><font face="BankGothic Md BT" size="24" color="#ff9900" letterSpacing="0.000000" kerning="1">00:00</font></p>"




http://swfchan.com/45/222205/info.shtml
Created: 16/8 -2019 06:56:23 Last modified: 16/8 -2019 06:56:23 Server time: 27/04 -2024 14:24:32