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

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

Flash Pong.swf

This is the info page for
Flash #27146

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


Text
PONG

PONG

PLAYER 1
A
Z

PLAYER 2
CURSOR UP
CURSOR DOWN

START

START

START

1 PLAYER

2 PLAYERS

READY

READY

0

0

PLAYER 1
LOST THE
ROUND

0

0

COMPUTER
LOST THE
ROUND

0

0

0

0

GAME OVER
PLAYER 1
IS THE
WINNER

0

0

GAME OVER
COMPUTER
IS THE
WINNER

0

0

0

0

PLAYER 2
LOST THE
ROUND

0

0

0

GAME OVER
PLAYER 2
IS THE
WINNER

ActionScript [AS1/AS2]

Frame 1
var_humanscore = 0; var_compuerscore = 0; var_player1score = 0; var_player2score = 0; stop();
Instance of Symbol 24 MovieClip in Frame 2
onClipEvent (load) { pause = 3; }
Instance of Symbol 26 MovieClip "bat1" in Frame 2
onClipEvent (load) { moveSpeed = 8; } onClipEvent (enterFrame) { if (Key.isDown(90) && (325 >= this._y)) { this._y = this._y + moveSpeed; } else if (Key.isDown(65) && (this._y >= 100)) { this._y = this._y - moveSpeed; } }
Instance of Symbol 27 MovieClip "bat2" in Frame 2
onClipEvent (load) { moveSpeed = 10; mistake = 0; } onClipEvent (enterFrame) { if ((Math.Random() * 100) >= 70) { mistake = -24; } else { mistake = 24; } if ((325 >= _root.ball._y) && (_root.ball._y >= 100)) { if (((Math.Random() * mistake) + _root.ball._y) >= this._y) { this._y = this._y + movespeed; } else { this._y = this._y - movespeed; } } }
Frame 3
stop();
Instance of Symbol 31 MovieClip "ball" in Frame 3
onClipEvent (load) { moveSpeed = 10; xmotion = 1; this._y = (Math.Random() * 300) + 70; if ((Math.Random() * 100) >= 70) { ymotion = 1; } else { ymotion = -1; } soundBeep = new Sound(); soundBeep.attachSound("beep"); soundTada = new Sound(); soundTada.attachSound("tada"); } onClipEvent (enterFrame) { if (this._x < -100) { soundTada.start(0, 1); _root.gotoAndPlay("human lost round"); } if (650 < this._x) { soundTada.start(0, 1); _root.gotoAndPlay("computer lost round"); } this._x = this._x - (moveSpeed * xmotion); this._y = this._y - (moveSpeed * ymotion); _root.xvalue = this._x; _root.yvalue = this._y; if (this.hitTest(_root.bat1) == true) { soundBeep.start(0, 1); this._x = 30; this.xmotion = -xmotion; } if (this.hitTest(_root.bat2) == true) { soundBeep.start(0, 1); this._x = 510; this.xmotion = -xmotion; } if ((this._y < 70) or (370 < this._y)) { soundBeep.start(0, 1); this.ymotion = -ymotion; } }
Frame 4
var_computerscore = var_computerscore + 1; _root.computerscore = var_computerscore; if (_root.computerscore >= 3) { soundTada.start(0, 1); _root.gotoAndPlay("computer wins"); }
Instance of Symbol 36 MovieClip in Frame 4
onClipEvent (load) { pause = 2; }
Frame 5
gotoAndPlay (3);
Frame 6
var_humanscore = var_humanscore + 1; _root.humanscore = var_humanscore; if (_root.humanscore >= 3) { soundTada.start(0, 1); _root.gotoAndPlay("human wins"); }
Instance of Symbol 36 MovieClip in Frame 6
onClipEvent (load) { pause = 2; }
Frame 7
gotoAndPlay (3);
Instance of Symbol 24 MovieClip in Frame 8
onClipEvent (load) { pause = 3; }
Frame 9
_root.humanscore = 0; _root.computerscore = 0; var_humanscore = 0; var_computerscore = 0; gotoAndPlay (1);
Instance of Symbol 24 MovieClip in Frame 10
onClipEvent (load) { pause = 3; }
Frame 11
_root.humanscore = 0; _root.computerscore = 0; var_humanscore = 0; var_computerscore = 0; gotoAndPlay (1);
Instance of Symbol 24 MovieClip in Frame 12
onClipEvent (load) { pause = 3; }
Instance of Symbol 48 MovieClip "bat1" in Frame 12
onClipEvent (load) { moveSpeed = 10; } onClipEvent (enterFrame) { if (Key.isDown(90) && (325 >= this._y)) { this._y = this._y + moveSpeed; } else if (Key.isDown(65) && (this._y >= 100)) { this._y = this._y - moveSpeed; } }
Instance of Symbol 49 MovieClip "bat2" in Frame 12
onClipEvent (load) { moveSpeed = 10; } onClipEvent (enterFrame) { if (Key.isDown(Key.DOWN) && (325 >= this._y)) { this._y = this._y + moveSpeed; } else if (Key.isDown(Key.UP) && (this._y >= 100)) { this._y = this._y - moveSpeed; } }
Frame 13
stop();
Instance of Symbol 52 MovieClip "ball" in Frame 13
onClipEvent (load) { moveSpeed = 10; xmotion = "1"; ymotion = "1"; soundBeep = new Sound(); soundBeep.attachSound("beep"); soundTada = new Sound(); soundTada.attachSound("tada"); } onClipEvent (enterFrame) { if (this._x < -100) { soundTada.start(0, 1); _root.gotoAndPlay("player 1 lost round"); } if (650 < this._x) { soundTada.start(0, 1); _root.gotoAndPlay("player 2 lost round"); } this._x = this._x - (moveSpeed * xmotion); this._y = this._y - (moveSpeed * ymotion); _root.xvalue = this._x; _root.yvalue = this._y; if (this.hitTest(_root.bat1) == true) { soundBeep.start(0, 1); this._x = 30; this.xmotion = -xmotion; } if (this.hitTest(_root.bat2) == true) { soundBeep.start(0, 1); this._x = 510; this.xmotion = -xmotion; } if ((this._y < 70) or (370 < this._y)) { soundBeep.start(0, 1); this.ymotion = -ymotion; } }
Frame 14
var_player2score = var_player2score + 1; _root.player2score = var_player2score; if (_root.var_player2score >= 3) { soundTada.start(0, 1); gotoAndPlay (20); }
Instance of Symbol 36 MovieClip in Frame 14
onClipEvent (load) { pause = 2; }
Frame 15
gotoAndPlay (13);
Frame 16
var_player1score = var_player1score + 1; _root.player1score = var_player1score; if (_root.var_player1score >= 3) { soundTada.start(0, 1); gotoAndPlay (18); }
Instance of Symbol 36 MovieClip in Frame 16
onClipEvent (load) { pause = 2; }
Frame 17
gotoAndPlay (13);
Instance of Symbol 57 MovieClip in Frame 18
onClipEvent (load) { pause = 3; }
Frame 19
_root.player1score = 0; _root.player2score = 0; var_player1score = 0; var_player2score = 0; gotoAndPlay (1);
Instance of Symbol 57 MovieClip in Frame 20
onClipEvent (load) { pause = 3; }
Frame 21
_root.player1score = 0; _root.player2score = 0; var_player1score = 0; var_player2score = 0; gotoAndPlay (1);
Symbol 16 Button
on (release) { gotoAndPlay (2); }
Symbol 17 Button
on (release) { gotoAndPlay (12); }
Symbol 24 MovieClip Frame 1
play(); tellTarget ("../") { stop(); };
Symbol 24 MovieClip Frame 2
start = Number(getTimer() / 1000); end = start + pause;
Symbol 24 MovieClip Frame 3
current = Number(getTimer() / 1000); if (current >= end) { tellTarget ("../") { play(); }; } else { play(); }
Symbol 24 MovieClip Frame 8
gotoAndPlay (3);
Symbol 36 MovieClip Frame 1
play(); tellTarget ("../") { stop(); };
Symbol 36 MovieClip Frame 2
start = Number(getTimer() / 1000); end = start + pause;
Symbol 36 MovieClip Frame 3
current = Number(getTimer() / 1000); if (current >= end) { tellTarget ("../") { play(); }; } else { play(); }
Symbol 36 MovieClip Frame 8
gotoAndPlay (3);
Symbol 57 MovieClip Frame 1
play(); tellTarget ("../") { stop(); };
Symbol 57 MovieClip Frame 2
start = Number(getTimer() / 1000); end = start + pause;
Symbol 57 MovieClip Frame 3
current = Number(getTimer() / 1000); if (current >= end) { tellTarget ("../") { play(); }; } else { play(); }
Symbol 57 MovieClip Frame 8
gotoAndPlay (3);

Library Items

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

Instance Names

"ready for game"Frame 2Symbol 23 MovieClip
"bat1"Frame 2Symbol 26 MovieClip
"bat2"Frame 2Symbol 27 MovieClip
"ball"Frame 3Symbol 31 MovieClip
"ready for game"Frame 12Symbol 23 MovieClip
"bat1"Frame 12Symbol 48 MovieClip
"bat2"Frame 12Symbol 49 MovieClip
"ball"Frame 13Symbol 52 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$PJ$DTpGgtliVQ9fr6rfCFA9B.."
ExportAssets (56)Timeline Frame 1Symbol 1 as "tada"
ExportAssets (56)Timeline Frame 1Symbol 2 as "beep"
ExportAssets (56)Timeline Frame 1Symbol 2 as "beep"
ExportAssets (56)Timeline Frame 1Symbol 2 as "beep"

Labels

"start"Frame 1
"1 player ready"Frame 2
"1 player game"Frame 3
"human lost round"Frame 4
"computer lost round"Frame 6
"human wins"Frame 8
"computer wins"Frame 10
"2 player ready"Frame 12
"2 player game"Frame 13
"player 1 lost round"Frame 14
"player 2 lost round"Frame 16
"player 1 wins"Frame 18
"player 2 wins"Frame 20
"checktime"Symbol 24 MovieClip Frame 3
"checktime"Symbol 36 MovieClip Frame 3
"checktime"Symbol 57 MovieClip Frame 3

Dynamic Text Variables

TextField9Symbol 10 EditableText"START"
TextField9Symbol 12 EditableText"START"
TextField9Symbol 13 EditableText"START"
TextField29Symbol 15 EditableText""
TextField9Symbol 21 EditableText"READY"
TextField9Symbol 22 EditableText"READY"
computerscoreSymbol 28 EditableText"0"
humanscoreSymbol 29 EditableText"0"
humanscoreSymbol 33 EditableText"0"
computerscoreSymbol 34 EditableText"0"
computerscoreSymbol 38 EditableText"0"
humanscoreSymbol 39 EditableText"0"
computerscoreSymbol 41 EditableText"0"
humanscoreSymbol 42 EditableText"0"
computerscoreSymbol 44 EditableText"0"
humanscoreSymbol 45 EditableText"0"
player2scoreSymbol 50 EditableText"0"
player1scoreSymbol 51 EditableText"0"
player1scoreSymbol 53 EditableText"0"
player2scoreSymbol 54 EditableText"0"
player2scoreSymbol 58 EditableText"0"
player1scoreSymbol 59 EditableText"0"




http://swfchan.com/6/27146/info.shtml
Created: 21/5 -2019 21:26:24 Last modified: 21/5 -2019 21:26:24 Server time: 10/05 -2024 07:41:17