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/76665527?noj=FRM76665527-22DC" width="1" height="1"></div>

bg.swf

This is the info page for
Flash #44566

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


ActionScript [AS1/AS2]
Frame 1
ballSpeedX = 0; ballSpeedY = 0; blackBallSpeedX = 0; blackBallSpeedY = 0; blackBallMc._visible = false; numOHits = 0; targetSquare._x = random(200) + 20; targetSquare._y = random(280) + 20; nextAction = "None"; accX = 0; accY = 0; accZ = 0; loadMovie ("ball-game-bg.png", "imageLoader"); onEnterFrame = function () { displayDevice = (((substring(getVersion(), 0, 2)) == "FL") ? "phone" : "pc"); if (displayDevice == "phone") { loadVariables ("accelerometer://data", _root); } else { accX = (-(_root._xmouse - 120)) * 8.25; accY = (_root._ymouse - 160) * 6.1875; accZ = 0; } ballSpeedX = ballSpeedX + ((-accX) / 400); ballSpeedY = ballSpeedY + (accY / 400); ballMc._x = ballMc._x + ballSpeedX; ballMc._y = ballMc._y + ballSpeedY; if (ballMc.hitTest(leftEdge) && (ballSpeedX < 0)) { ballSpeedX = (-ballSpeedX) / 1.15; ballMc._x = ballMc._width / 2; } if (ballMc.hitTest(rightEdge) && (ballSpeedX > 0)) { ballSpeedX = (-ballSpeedX) / 1.2; ballMc._x = 240 - (ballMc._width / 2); } if (ballMc.hitTest(topEdge) && (ballSpeedY < 0)) { ballSpeedY = (-ballSpeedY) / 1.2; ballMc._y = ballMc._height / 2; } if (ballMc.hitTest(bottomEdge) && (ballSpeedY > 0)) { ballSpeedY = (-ballSpeedY) / 1.2; ballMc._y = 320 - (ballMc._height / 2); } if (((ballMc.hitTest(outerLeft) or ballMc.hitTest(outerTop)) or ballMc.hitTest(outerRight)) or ballMc.hitTest(outerBottom)) { ballMc._x = 120 - (ballMc._width / 2); ballMc._y = 160 - (ballMc._height / 2); ballSpeedX = 0; ballSpeedY = 0; } if ((ballMc.hitTest(targetSquare) && (squareStatus == "Ready")) && (nextAction == "None")) { targetSquare.theSquare.play(); nextAction = "Reposition"; numOHits = numOHits + 1; squareStatus = "Smashing"; } if ((nextAction == "Reposition") && (squareStatus == "Ready")) { targetSquare._x = random(200) + 20; targetSquare._y = random(280) + 20; nextAction = "None"; } earnedPoints.text = "Hits: " + numOHits; ballMc._x = Math.round(ballMc._x); ballMc._y = Math.round(ballMc._y); if (numOHits > 149) { blackBallMc._visible = true; blackBallSpeedX = blackBallSpeedX + ((-accX) / 400); blackBallSpeedY = blackBallSpeedY + (accY / 400); blackBallMc._x = blackBallMc._x + blackBallSpeedX; blackBallMc._y = blackBallMc._y + blackBallSpeedY; if (blackBallMc.hitTest(leftEdge) && (blackBallSpeedX < 0)) { blackBallSpeedX = (-blackBallSpeedX) / 2; blackBallMc._x = blackBallMc._width / 2; } if (blackBallMc.hitTest(rightEdge) && (blackBallSpeedX > 0)) { blackBallSpeedX = (-blackBallSpeedX) / 2; blackBallMc._x = 240 - (blackBallMc._width / 2); } if (blackBallMc.hitTest(topEdge) && (blackBallSpeedY < 0)) { blackBallSpeedY = (-blackBallSpeedY) / 2; blackBallMc._y = blackBallMc._height / 2; } if (blackBallMc.hitTest(bottomEdge) && (blackBallSpeedY > 0)) { blackBallSpeedY = (-blackBallSpeedY) / 2; blackBallMc._y = 320 - (blackBallMc._height / 2); } if (((blackBallMc.hitTest(outerLeft) or blackBallMc.hitTest(outerTop)) or blackBallMc.hitTest(outerRight)) or blackBallMc.hitTest(outerBottom)) { blackBallMc._x = 120 - (blackBallMc._width / 2); blackBallMc._y = 160 - (blackBallMc._height / 2); blackBallSpeedX = 0; blackBallSpeedY = 0; } if (blackBallMc.hitTest(targetSquare) && (squareStatus == "Ready")) { targetSquare.theSquare.play(); nextAction = "Reposition"; numOHits = numOHits + 1; squareStatus = "Smashing"; } blackBallMc._x = Math.round(blackBallMc._x); blackBallMc._y = Math.round(blackBallMc._y); } };
Symbol 14 MovieClip Frame 1
_root.squareStatus = "Ready"; stop();
Symbol 14 MovieClip Frame 15
_root.squareStatus = "Ready";
Symbol 15 MovieClip Frame 1
stop();

Library Items

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

Instance Names

"imageLoader"Frame 1Symbol 1 MovieClip
"targetSquare"Frame 1Symbol 15 MovieClip
"ballMc"Frame 1Symbol 19 MovieClip
"blackBallMc"Frame 1Symbol 23 MovieClip
"bottomEdge"Frame 1Symbol 25 MovieClip
"leftEdge"Frame 1Symbol 27 MovieClip
"rightEdge"Frame 1Symbol 29 MovieClip
"topEdge"Frame 1Symbol 31 MovieClip
"outerLeft"Frame 1Symbol 33 MovieClip
"outerTop"Frame 1Symbol 35 MovieClip
"outerRight"Frame 1Symbol 37 MovieClip
"outerBottom"Frame 1Symbol 39 MovieClip
"earnedPoints"Frame 1Symbol 43 EditableText
"theSquare"Symbol 15 MovieClip Frame 1Symbol 14 MovieClip




http://swfchan.com/9/44566/info.shtml
Created: 6/5 -2019 21:36:26 Last modified: 6/5 -2019 21:36:26 Server time: 22/12 -2024 20:38:59