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

A
Very
Merry Christmas!


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

(Newish) Original Pong.swf

This is the info page for
Flash #65926

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


Text
PONG

P O N G

first to 7 wins

EASY

EASY

EASY

EASY

M E D

M E D

M E D

M E D

H A R D

H A R D

H A R D

H A R D

Extreme

Extreme

Player:    0

CPU: 0

00:00

OFF

ON

/

MUSIC

Congraduations!

Play Again?

HAHA
YOU
SUCK!!

PLAY AGAIN?
loser...

ActionScript [AS1/AS2]

Instance of Symbol 79 MovieClip in Frame 1
onClipEvent (load) { startDrag (this, true); Mouse.hide(); this.swapDepths(9999); }
Frame 2
stop();
Frame 3
function lose() { _root.cpu.score++; _root.cputxt = "CPU: " + _root.cpu.score; if (_root.cpu.score == 7) { gotoAndStop ("lose"); } reset(); } function win() { _root.player.score++; _root.playertxt = "Player: " + _root.player.score; if (_root.player.score == 7) { gotoAndStop ("win"); } reset(); } function reset() { _root.ball._x = 261; _root.ball._y = 200; _root.ball.xspeed = 0; _root.cpu._x = 225; _root.player._x = 255; } 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 = 5; _root.ball.xspeed = 5; _root.cpu.score = 0; _root.player.score = 0; _root.cpu.speed = _global.cpuspeed; _root.timesec = 0; reset(); timerint = setInterval(timer, 1000);
Instance of Symbol 123 MovieClip "cpu" in Frame 3
onClipEvent (enterFrame) { if (this._x > _root.ball._x) { this._x = this._x - speed; } if (this._x < _root.ball._x) { this._x = this._x + speed; } }
Instance of Symbol 125 MovieClip "player" in Frame 3
onClipEvent (enterFrame) { if (Key.isDown(37) && (this._x > 0)) { this._x = this._x - 7; } if (Key.isDown(39) && (this._x < 550)) { this._x = this._x + 7; } }
Instance of Symbol 127 MovieClip "ball" in Frame 3
onClipEvent (enterFrame) { this._y = this._y + this.yspeed; this._x = this._x + this.xspeed; if ((this._x > 550) || (this._x < 0)) { this.xspeed = this.xspeed * -1; } if (this.hitTest(_root.player)) { ang = (this._x - _root.player._x) / 10; this.xspeed = this.xspeed + ang; this.yspeed = this.yspeed * -1; } if (this.hitTest(_root.cpu)) { ang = (this._x - _root.cpu._x) / 10; this.xspeed = this.xspeed + ang; this.yspeed = this.yspeed * -1; } if (this._y > 400) { _root.lose(); } if (this._y < 28) { _root.win(); } }
Frame 4
clearInterval(timerint); _root.cpu.score = 0; _root.player.score = 0; _root.playertxt = "Player: 0"; _root.cputxt = "CPU: 0";
Frame 5
clearInterval(timerint); _root.cpu.score = 0; _root.player.score = 0; _root.playertxt = "Player: 0"; _root.cputxt = "CPU: 0";
Symbol 46 Button
on (release) { getURL ("http://www.newgrounds.com", "_blank"); }
Symbol 48 MovieClip Frame 40
stop();
Symbol 74 Button
on (release) { _root.play(); }
Symbol 75 MovieClip Frame 1
function onEnterFrame() { if (!loaded) { var _local3 = _root.getBytesLoaded() / _root.getBytesTotal(); if (_local3 >= 1) { play(); bar._x = initX; loaded = true; } else { bar._x = initX + ((_local3 - 1) * bar._width); } } var _local4 = getTimer() - time; timeAccum = timeAccum + _local4; while (timeAccum >= FRAME_TIME) { var _local2 = 0; while (_local2 < timeClips.length) { if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) { timeClips[_local2].nextFrame(); } else { timeClips[_local2].gotoAndStop(1); } _local2++; } if (loaded && (_currentframe < _totalframes)) { nextFrame(); } timeAccum = timeAccum - FRAME_TIME; } time = time + _local4; } stop(); _root.stop(); var initX = bar._x; var time = getTimer(); var FRAME_TIME = 33.3333333333333; var timeAccum = 0; var loaded = false; timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0]; var i = 0; while (i < timeClips.length) { timeClips[i].stop(); i++; }
Symbol 75 MovieClip Frame 51
Symbol 94 Button
on (release) { _global.cpuspeed = 5; gotoAndStop ("play"); }
Symbol 103 Button
on (release) { _global.cpuspeed = 17; gotoAndStop ("play"); }
Symbol 111 Button
on (release) { _global.cpuspeed = 10; gotoAndStop ("play"); }
Symbol 117 Button
on (release) { _global.cpuspeed = 14; gotoAndStop ("play"); }
Symbol 129 Button
on (release) { tellTarget ("mymusic") { stop(); }; }
Symbol 131 Button
on (release) { tellTarget ("mymusic") { play(); }; }
Symbol 137 Button
on (release) { _global.cpuspeed = 7; gotoAndStop ("play"); }
Symbol 138 Button
on (release) { _global.cpuspeed = 17; gotoAndStop ("play"); }

Library Items

Symbol 1 GraphicUsed by:Timeline
Symbol 2 GraphicUsed by:75
Symbol 3 GraphicUsed by:75
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:75
Symbol 6 GraphicUsed by:8
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:6 7Used by:75
Symbol 9 GraphicUsed by:75
Symbol 10 GraphicUsed by:75
Symbol 11 GraphicUsed by:75
Symbol 12 GraphicUsed by:19 48
Symbol 13 GraphicUsed by:19 48
Symbol 14 GraphicUsed by:19 48
Symbol 15 GraphicUsed by:19 48
Symbol 16 GraphicUsed by:19 48
Symbol 17 GraphicUsed by:19 48
Symbol 18 GraphicUsed by:19 48
Symbol 19 MovieClipUses:12 13 14 15 16 17 18Used by:75
Symbol 20 GraphicUsed by:75
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:75
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:75
Symbol 25 GraphicUsed by:29
Symbol 26 GraphicUsed by:29
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:29 32
Symbol 29 MovieClipUses:25 26 28Used by:43
Symbol 30 GraphicUsed by:32
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:30 31 28Used by:43
Symbol 33 GraphicUsed by:36
Symbol 34 GraphicUsed by:36 39
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:33 34 35Used by:40
Symbol 37 GraphicUsed by:39
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:37 34 38Used by:40
Symbol 40 MovieClipUses:36 39Used by:43
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:43
Symbol 43 MovieClipUses:29 32 40 42Used by:75
Symbol 44 GraphicUsed by:75
Symbol 45 GraphicUsed by:46
Symbol 46 ButtonUses:45Used by:75
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:12 13 14 15 16 17 18 47Used by:75
Symbol 49 GraphicUsed by:75
Symbol 50 GraphicUsed by:75
Symbol 51 GraphicUsed by:75
Symbol 52 GraphicUsed by:75
Symbol 53 GraphicUsed by:75
Symbol 54 GraphicUsed by:75
Symbol 55 GraphicUsed by:75
Symbol 56 GraphicUsed by:75
Symbol 57 GraphicUsed by:75
Symbol 58 GraphicUsed by:75
Symbol 59 GraphicUsed by:75
Symbol 60 GraphicUsed by:75
Symbol 61 ShapeTweeningUsed by:75
Symbol 62 GraphicUsed by:75
Symbol 63 ShapeTweeningUsed by:75
Symbol 64 ShapeTweeningUsed by:75
Symbol 65 GraphicUsed by:75
Symbol 66 GraphicUsed by:74
Symbol 67 GraphicUsed by:74
Symbol 68 GraphicUsed by:74
Symbol 69 GraphicUsed by:74
Symbol 70 GraphicUsed by:74
Symbol 71 GraphicUsed by:73
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClipUses:71 72Used by:74
Symbol 74 ButtonUses:66 67 68 69 70 73Used by:75
Symbol 75 MovieClipUses:2 3 5 8 9 10 11 19 20 22 24 43 44 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 74Used by:Timeline
Symbol 76 GraphicUsed by:79
Symbol 77 FontUsed by:78
Symbol 78 EditableTextUses:77Used by:79
Symbol 79 MovieClipUses:76 78Used by:Timeline
Symbol 80 MovieClipUses:SS1Used by:Timeline
Symbol 81 GraphicUsed by:Timeline
Symbol 82 FontUsed by:83
Symbol 83 TextUses:82Used by:Timeline
Symbol 84 FontUsed by:85 119 120 121 135 136 140 141
Symbol 85 TextUses:84Used by:Timeline
Symbol 86 GraphicUsed by:94
Symbol 87 FontUsed by:88 90 92 93
Symbol 88 TextUses:87Used by:94
Symbol 89 GraphicUsed by:94
Symbol 90 TextUses:87Used by:94
Symbol 91 GraphicUsed by:94
Symbol 92 TextUses:87Used by:94
Symbol 93 EditableTextUses:87Used by:94
Symbol 94 ButtonUses:86 88 89 90 91 92 93Used by:Timeline
Symbol 95 GraphicUsed by:103 137
Symbol 96 FontUsed by:97 99 101 102 105 107 109 110 113 116 128 130 132 133
Symbol 97 TextUses:96Used by:103 137
Symbol 98 GraphicUsed by:103 137
Symbol 99 TextUses:96Used by:103 137
Symbol 100 GraphicUsed by:103 137
Symbol 101 TextUses:96Used by:103 137
Symbol 102 EditableTextUses:96Used by:103 137
Symbol 103 ButtonUses:95 97 98 99 100 101 102Used by:Timeline
Symbol 104 GraphicUsed by:111
Symbol 105 TextUses:96Used by:111
Symbol 106 GraphicUsed by:111
Symbol 107 TextUses:96Used by:111
Symbol 108 GraphicUsed by:111
Symbol 109 TextUses:96Used by:111
Symbol 110 TextUses:96Used by:111
Symbol 111 ButtonUses:104 105 106 107 108 109 110Used by:Timeline
Symbol 112 GraphicUsed by:117 138
Symbol 113 TextUses:96Used by:117 138
Symbol 114 GraphicUsed by:117 138
Symbol 115 GraphicUsed by:117 138
Symbol 116 TextUses:96Used by:117 138
Symbol 117 ButtonUses:112 113 114 115 116Used by:Timeline
Symbol 118 GraphicUsed by:Timeline
Symbol 119 EditableTextUses:84Used by:Timeline
Symbol 120 EditableTextUses:84Used by:Timeline
Symbol 121 EditableTextUses:84Used by:Timeline
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:122Used by:Timeline
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:Timeline
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:Timeline
Symbol 128 TextUses:96Used by:129
Symbol 129 ButtonUses:128Used by:Timeline
Symbol 130 TextUses:96Used by:131
Symbol 131 ButtonUses:130Used by:Timeline
Symbol 132 EditableTextUses:96Used by:Timeline
Symbol 133 EditableTextUses:96Used by:Timeline
Symbol 134 GraphicUsed by:Timeline
Symbol 135 TextUses:84Used by:Timeline
Symbol 136 TextUses:84Used by:Timeline
Symbol 137 ButtonUses:95 97 98 99 100 101 102Used by:Timeline
Symbol 138 ButtonUses:112 113 114 115 116Used by:Timeline
Symbol 139 GraphicUsed by:Timeline
Symbol 140 TextUses:84Used by:Timeline
Symbol 141 TextUses:84Used by:Timeline
Streaming Sound 1Used by:Symbol 80 MovieClip

Instance Names

"mymusic"Frame 1Symbol 80 MovieClip
"easy"Frame 2Symbol 94 Button
"med"Frame 2Symbol 103 Button
"hard"Frame 2Symbol 111 Button
"cpu"Frame 3Symbol 123 MovieClip
"player"Frame 3Symbol 125 MovieClip
"ball"Frame 3Symbol 127 MovieClip
"bar"Symbol 75 MovieClip Frame 1Symbol 5 MovieClip
"bargfx"Symbol 75 MovieClip Frame 1Symbol 8 MovieClip
"tank"Symbol 75 MovieClip Frame 1Symbol 22 MovieClip
"bargfx"Symbol 75 MovieClip Frame 2Symbol 8 MovieClip
"bargfx"Symbol 75 MovieClip Frame 20Symbol 8 MovieClip

Labels

"play"Frame 3
"win"Frame 4
"lose"Frame 5
"LOAD"Symbol 75 MovieClip Frame 1
"COMPLETE_STOP"Symbol 75 MovieClip Frame 2

Dynamic Text Variables

playertxtSymbol 119 EditableText"Player:    0"
cputxtSymbol 120 EditableText"CPU: 0"
timetxtSymbol 121 EditableText" 00:00"




http://swfchan.com/14/65926/info.shtml
Created: 12/4 -2019 09:06:54 Last modified: 12/4 -2019 09:06:54 Server time: 23/12 -2024 02:06:06