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

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

Web Pong.swf

This is the info page for
Flash #42604

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


Text
Created by : andreas windler

The PCman Website
http://www.thepcmanwebsite.com

The PCman Website
http://www.thepcmanwebsite.com

play

play

0

score

balls left

level

0

0

webpong

game over

play again

ActionScript [AS1/AS2]

Frame 1
tellTarget ("/sound") { gotoAndPlay ("start"); }; stop();
Frame 10
score = "0"; balls = "5"; level = "1"; ballsize = "10"; speedx = "2"; speedy = "2"; gameright = "600"; gamedown = "300"; gametop = "100"; gameleft = "0";
Frame 11
call("action");
Frame 12
call("action"); gotoAndPlay (11);
Frame 15
setProperty("/ball", _x , getProperty("/ball", _x) + speedx); setProperty("/ball", _y , getProperty("/ball", _y) + speedy); if (getProperty("/ball", _y) < (gametop + (ballsize / "2"))) { speedy = speedy * "-1"; speedx = speedx * "1"; tellTarget ("/sound") { gotoAndPlay ("pong"); }; } if ((gamedown - (ballsize / "2")) < getProperty("/ball", _y)) { speedy = speedy * "-1"; speedx = speedx * "1"; tellTarget ("/sound") { gotoAndPlay ("pong"); }; } if ((getProperty("/ball", _x) >= gameright) or (gameleft >= getProperty("/ball", _x))) { balls = balls - "1"; if (balls == "0") { gotoAndStop (20); } else { setProperty("/ball", _x , "300"); setProperty("/ball", _y , "200"); } } if (((getProperty("/paddles", _x) + "180") < getProperty("/ball", _x)) and (getProperty("/ball", _x) < (getProperty("/paddles", _x) + "190"))) { if (((getProperty("/paddles", _y) - "20") < getProperty("/ball", _y)) and (getProperty("/ball", _y) < (getProperty("/paddles", _y) + "20"))) { speedx = speedx * "-1"; speedy = speedy * "1"; score = score + "1"; tellTarget ("/sound") { gotoAndPlay ("ping"); }; } } if ((getProperty("/ball", _x) < (getProperty("/paddles", _x) - "180")) and ((getProperty("/paddles", _x) - "190") < getProperty("/ball", _x))) { if ((getProperty("/ball", _y) >= (getProperty("/paddles", _y) - "20")) and ((getProperty("/paddles", _y) + "20") >= getProperty("/ball", _y))) { speedx = speedx * "-1"; speedy = speedy * "1"; score = score + "1"; tellTarget ("/sound") { gotoAndPlay ("ping"); }; } } if (score == "10") { speedx = speedx * "1.005"; speedy = speedy * "1.005"; level = "2"; } if (score == "20") { speedx = speedx * "1.005"; speedy = speedy * "1.005"; level = "3"; } if (score == "30") { speedx = speedx * "1.005"; speedy = speedy * "1.005"; level = "4"; } if (score == "50") { speedx = speedx * "1.005"; speedy = speedy * "1.005"; level = "5"; } if (score == "75") { speedx = speedx * "1.005"; speedy = speedy * "1.005"; level = "6"; } if (score == "100") { speedx = speedx * "1.005"; speedy = speedy * "1.005"; level = "7"; } if (score == "150") { speedx = speedx * "1.005"; speedy = speedy * "1.005"; level = "8"; } if (score == "200") { speedx = speedx * "1.005"; speedy = speedy * "1.005"; level = "9"; }
Frame 20
stop();
Symbol 5 MovieClip Frame 1
stop();
Symbol 5 MovieClip Frame 30
stop();
Symbol 5 MovieClip Frame 46
stop();
Symbol 5 MovieClip Frame 74
stop();
Symbol 12 Button
on (press) { getURL ("http://www.thepcmanwebsite.com/", "_top"); }
Symbol 21 Button
on (press) { stopAllSounds(); gotoAndPlay (10); }
Symbol 39 MovieClip Frame 1
startDrag ("", true, "300", "120", "300", "280");
Symbol 42 Button
on (press) { gotoAndPlay (10); }

Library Items

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

Instance Names

"sound"Frame 1Symbol 5 MovieClip
"ball"Frame 10Symbol 36 MovieClip
"paddles"Frame 10Symbol 39 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$pk$Xw4TblQlFIWRTSRW9Er5s0."

Labels

"start"Frame 10
"loop"Frame 11
"action"Frame 15
"over"Frame 20
"start"Symbol 5 MovieClip Frame 5
"ping"Symbol 5 MovieClip Frame 39
"pong"Symbol 5 MovieClip Frame 54

Dynamic Text Variables

scoreSymbol 27 EditableText"0"
ballsSymbol 31 EditableText"0"
levelSymbol 32 EditableText"0"




http://swfchan.com/9/42604/info.shtml
Created: 9/5 -2019 21:01:47 Last modified: 9/5 -2019 21:01:47 Server time: 11/05 -2024 22:24:00