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

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

Impossible Pong.swf

This is the info page for
Flash #94322

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


Text
Credits:

Sounds: Flashkit.com,
Sounddogs.com, and
Super Mario World.
Music: "This Machine"
from Sonic Heroes, and
Title song by me

bytes total

bytes loaded

%

Pong is Loading....

Pong

(Impossible)

Pong

Play

Points:

You win!

You lose!

ActionScript [AS1/AS2]

Frame 3
startM.onRelease = function () { stopAllSounds(); gotoAndPlay (5); }; stop();
Frame 5
stop();
Frame 6
stop(); goagain.onRelease = function () { stopAllSounds(); gotoAndPlay ("starta"); };
Frame 7
stop(); goagain.onRelease = function () { stopAllSounds(); gotoAndPlay ("starta"); };
Symbol 17 MovieClip Frame 1
function preloadFunction() { bytesLoaded = _parent.getBytesLoaded(); bytesTotal = _parent.getBytesTotal(); percentage = Math.round((bytesLoaded / bytesTotal) * 100); if (bytesLoaded >= bytesTotal) { _parent.play(); clearInterval(millisecs); } progressBar._xscale = percentage; } _parent.stop(); millisecs = setInterval(preloadFunction, 10);
Symbol 23 MovieClip Frame 1887
stop();
Symbol 37 MovieClip Frame 1
var game = {}; game.ball = {}; game.lpaddle = {}; game.rpaddle = {}; game.getkey = key.getCode(); game.lpaddle.clip = left_Paddle; game.lpaddle.x = 0; game.ball.radius = 14.5; game.width = 600; game.height = 300; game.lpaddle.y = 80; game.lpaddle.width = 22.9; game.lpaddle.height = 108.3; game.rpaddle.clip = right_Paddle; game.rpaddle.x = 577.5; game.rpadde.y = 80; game.rpaddle.width = 22.9; game.rpaddle.height = 108.3; game.rpaddle.ycenter = right_Paddle._y + 54.15; game.ball.clip = ball1; game.ball.x = 295.6; game.ball.y = 145.1; game.ball.xmov = -5; game.ball.ymov = -5; game.ball.radius = 14.5; game.ball.rtx = (game.ball.x = game.ball.x + game.ball.radius); game.ball.bty = (game.ball.y = game.ball.y + game.ball.radius); game.top = 0; game.bottom = 300; game.lbound = 0; game.rbound = 600; game.lpoints = 0; game.rpoints = 0; goodpoints = new Sound(); badpoints = new Sound(); paddlehits = new Sound(); blarg1 = (Number = 0); blarg2 = (Number = 0); game.resetpoints = function () { game.lpoints = a; game.rpoints = b; }; game.setTempPosition = function () { this.ball.tempx = this.ball.x + this.ball.xmov; this.ball.tempy = this.ball.y + this.ball.ymov; }; game.AI = function () { if (game.ball.y >= 150) { if ((right_Paddle._y < game.ball.tempy) && (right_Paddle._y <= 190)) { right_Paddle._y = right_Paddle._y + 10; } if ((right_Paddle._y > game.ball.tempy) && (right_Paddle._y >= 5)) { right_Paddle._y = right_Paddle._y - 10; } } else if (game.ball.y <= 150) { if (((right_Paddle._y + game.rpaddle.height) < game.ball.tempy) && (right_Paddle._y <= 190)) { right_Paddle._y = right_Paddle._y + 10; } if (((right_Paddle._y + game.rpaddle.height) > game.ball.tempy) && (right_Paddle._y >= 5)) { right_Paddle._y = right_Paddle._y - 10; } } }; game.checkForWalls = function () { if (this.ball.tempy < 0) { this.ball.tempy = 0; this.ball.ymov = this.ball.ymov * -1; } else if ((this.ball.tempy + this.ball.radius) > this.height) { this.ball.tempy = this.height - this.ball.radius; this.ball.ymov = this.ball.ymov * -1; } }; game.paddleCollisions = function () { if ((((this.ball.tempx < (this.lpaddle.x + this.lpaddle.width)) && ((this.ball.tempx + (this.ball.radius / 2)) > this.lpaddle.x)) && ((this.ball.tempy + (this.ball.radius / 2)) > this.lpaddle.y)) && (this.ball.tempy < (this.lpaddle.y + this.lpaddle.height))) { this.ball.tempx = this.lpaddle.x + this.lpaddle.width; this.ball.xmov = this.ball.xmov * -1; this.ball.x = 22.9; game.IncreaseSpeed(); } if ((((this.ball.tempx < (this.rpaddle.x + this.rpaddle.width)) && ((this.ball.tempx + (this.ball.radius / 2)) > this.rpaddle.x)) && ((this.ball.tempy + (this.ball.radius / 2)) > this.rpaddle.y)) && (this.ball.tempy < (this.rpaddle.y + this.rpaddle.height))) { this.ball.tempx = this.rpaddle.x - this.ball.radius; this.ball.xmov = this.ball.xmov * -1; this.ball.x = 554.6; game.IncreaseSpeed(); } }; game.drawBall = function () { this.ball.x = this.ball.tempx; this.ball.y = this.ball.tempy; ball1._x = this.ball.x; ball1._y = this.ball.y; }; game.IncreaseSpeed = function () { this.ball.xmov = this.ball.xmov * 1.1; this.ball.ymov = this.ball.ymov * 1.1; }; game.paddleMovement = function () { game.AI(); if ((this.getkey = "<Down>" && ((lpaddle.y + 108.3) <= 295))) { left_Paddle._y = left_Paddle._y + 5; } else if ((this.getkey = "<Up>" && (lpaddle.y >= 5))) { left_Paddle._y = left_Paddle._y - 5; } }; game.checkForPoints = function () { if (this.ball.x < this.lbound) { badpoints.attachSound("badpoint"); badpoints.start(); blarg2 = blarg2 + 1; ball1._x = 295.6; ball1._y = 145.1; this.ball.x = 295.6; this.ball.y = 145.1; this.ball.xmov = 6; this.ball.ymov = 6; } else if (this.ball.x > this.rbound) { goodpoints.attachSound("goodpoint"); goodpoints.start(); blarg1 = blarg1 + 1; ball1._x = 295.6; this.ball.x = 295.6; this.ball.y = 145.1; this.ball.xmov = 6; this.ball.ymov = 6; } }; game.pcol2 = function () { if (ball1.hitTest(left_Paddle)) { paddlehits.attachSound("paddlehit"); paddlehits.start(); this.ball.xmov = this.ball.xmov * -1; this.IncreaseSpeed(); } if (ball1.hitTest(right_Paddle)) { paddlehits.attachSound("paddlehit"); paddlehits.start(); this.ball.xmov = this.ball.xmov * -1; this.IncreaseSpeed(); } }; game.checkforwin = function () { if (blarg2 >= 10) { stopAllSounds(); _parent.gotoAndPlay("youlose"); } else if (blarg1 >= 10) { stopAllSounds(); _parent.gotoAndPlay("youwin"); } }; this.onEnterFrame = function () { game.pcol2(); game.setTempPosition(); game.checkForWalls(); game.drawBall(); game.checkForPoints(); game.resetpoints(); game.checkforwin(); game.AI(); }; _root.onEnterFrame = function () { game.AI(); if (Key.isDown(38) && (left_Paddle._y >= 5)) { left_Paddle._y = left_Paddle._y - 20; } else if (Key.isDown(40) && (left_Paddle._y <= 191.7)) { left_Paddle._y = left_Paddle._y + 20; } else if (Key.isDown(16) && (left_Paddle._y >= 5)) { left_Paddle._y = left_Paddle._y - 20; } else if (Key.isDown(17) && (left_Paddle._y <= 191.7)) { left_Paddle._y = left_Paddle._y + 20; } };
Symbol 41 MovieClip Frame 2
stop();

Library Items

Symbol 1 Sound [paddlehit]
Symbol 2 Sound [goodpoint]
Symbol 3 Sound [badpoint]
Symbol 4 FontUsed by:5 6 35 36 38
Symbol 5 TextUses:4Used by:Timeline
Symbol 6 TextUses:4Used by:Timeline
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:17
Symbol 9 FontUsed by:10 11 12 13 14 15 18 26 49 52
Symbol 10 EditableTextUses:9Used by:17
Symbol 11 EditableTextUses:9Used by:17
Symbol 12 TextUses:9Used by:17
Symbol 13 TextUses:9Used by:17
Symbol 14 EditableTextUses:9Used by:17
Symbol 15 TextUses:9Used by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:8 10 11 12 13 14 15 16Used by:Timeline
Symbol 18 EditableTextUses:9Used by:Timeline
Symbol 19 FontUsed by:20 21 24
Symbol 20 TextUses:19Used by:Timeline
Symbol 21 TextUses:19Used by:Timeline
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22 SS2Used by:Timeline
Symbol 24 EditableTextUses:19Used by:Timeline
Symbol 25 GraphicUsed by:27
Symbol 26 TextUses:9Used by:27
Symbol 27 ButtonUses:25 26Used by:Timeline
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:37
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:37
Symbol 32 GraphicUsed by:33 34
Symbol 33 MovieClipUses:32Used by:37
Symbol 34 MovieClipUses:32Used by:37
Symbol 35 EditableTextUses:4Used by:37
Symbol 36 EditableTextUses:4Used by:37
Symbol 37 MovieClipUses:29 31 33 34 35 36Used by:Timeline
Symbol 38 TextUses:4Used by:Timeline
Symbol 39 GraphicUsed by:41
Symbol 40 SoundUsed by:41
Symbol 41 MovieClipUses:39 40Used by:Timeline
Symbol 42 GraphicUsed by:47
Symbol 43 GraphicUsed by:47
Symbol 44 GraphicUsed by:47
Symbol 45 GraphicUsed by:47
Symbol 46 GraphicUsed by:47
Symbol 47 ButtonUses:42 43 44 45 46Used by:Timeline
Symbol 48 GraphicUsed by:Timeline
Symbol 49 TextUses:9Used by:Timeline
Symbol 50 SoundUsed by:Timeline
Symbol 51 GraphicUsed by:Timeline
Symbol 52 TextUses:9Used by:Timeline
Streaming Sound 1Used by:Timeline
Streaming Sound 2Used by:Symbol 23 MovieClip

Instance Names

"preloader"Frame 1Symbol 17 MovieClip
"startM"Frame 3Symbol 27 Button
"goagain"Frame 6Symbol 47 Button
"progressBar"Symbol 17 MovieClip Frame 1Symbol 8 MovieClip
"ball1"Symbol 37 MovieClip Frame 1Symbol 31 MovieClip
"right_Paddle"Symbol 37 MovieClip Frame 1Symbol 33 MovieClip
"left_Paddle"Symbol 37 MovieClip Frame 1Symbol 34 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$zm$v1SsMOT691yIlguaoAvFY/."
ExportAssets (56)Timeline Frame 1Symbol 1 as "paddlehit"
ExportAssets (56)Timeline Frame 1Symbol 2 as "goodpoint"
ExportAssets (56)Timeline Frame 1Symbol 3 as "badpoint"

Labels

"Game"Frame 3
"starta"Frame 5
"youwin"Frame 6
"youlose"Frame 7

Dynamic Text Variables

percentageSymbol 10 EditableText""
bytesTotalSymbol 11 EditableText""
bytesLoadedSymbol 14 EditableText""
blarg1Symbol 35 EditableText""
blarg2Symbol 36 EditableText""




http://swfchan.com/19/94322/info.shtml
Created: 10/8 -2019 19:56:24 Last modified: 10/8 -2019 19:56:24 Server time: 22/12 -2024 05:25:50