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

CrazyBall - Pinball.swf

This is the info page for
Flash #46210

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


Text
<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#000000">copyright @ 2002   </FONT></P>

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#000000">Adamo Games</FONT></P>

CrazyBall

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#FFFFFF">Flash Pinball</FONT></P>

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#008FA5">Loading</FONT></P>

RobSuperSonic

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#000000">copyright @ 2002   </FONT></P>

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#000000">Adamo Games</FONT></P>

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#FFFFFF">Flash Pinball</FONT></P>

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="12" COLOR="#FFFFFF">KEYS:  LEFT &amp; RIGHT ARROWS</FONT></P>

Start

Quality

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#000000">copyright @ 2002   </FONT></P>

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#000000">Adamo Games</FONT></P>

CrazyBall

S

E

A

IN

OUT

DANGER

Sound

10000000

X

Press M
For menu

BALL
LOST

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#000000">copyright @ 2002   </FONT></P>

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="10" COLOR="#000000">Adamo Games</FONT></P>

10000000

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="12" COLOR="#FFFFFF"> Play Again?</FONT></P><P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="12" COLOR="#FFFFFF">(Click here)</FONT></P>

GAME OVER

<P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="12" COLOR="#FFFFFF">MORE</FONT></P><P ALIGN="CENTER"><FONT FACE="Verdana" SIZE="12" COLOR="#FFFFFF">GAMES</FONT></P>

ADAMO

ActionScript [AS1/AS2]

Frame 1
txtPercentage = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); tellTarget ("loader") { gotoAndPlay(Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)); };
Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) { gotoAndPlay (18); } else { gotoAndPlay (1); }
Frame 18
n = 0; a = getTimer(); while (Number(n) < 1000) { n = Number(n) + 1; } b = getTimer(); CPUlag = b - a; CPUlag = CPUlag + 2;
Frame 19
if (CPUlag < 1) { gotoAndPlay (18); }
Frame 20
if (CPUlag < 5) { _quality = "HIGH"; _root.q = 1; } if ((4 < CPUlag) && (CPUlag < 40)) { _quality = "MEDIUM"; _root.q = 2; } if ((39 < CPUlag) && (CPUlag < 100)) { _quality = "AUTOHIGH"; _root.q = 3; } if (99 < CPUlag) { _quality = "LOW"; _root.q = 4; }
Frame 21
_root.gamename = "crazyball"; _root.by = "rss_np"; score = 0; sea = 0; _root.balls = 3; _root.blackhole = 0; stop();
Instance of Symbol 35 MovieClip in Frame 21
onClipEvent (load) { gotoAndPlay(_root.q); }
Frame 22
stop();
Instance of Symbol 54 MovieClip "flipperRight" in Frame 22
onClipEvent (load) { angle = 0; ismoving = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { tellTarget ("_root.sound") { gotoAndPlay ("flipper"); }; if (this._rotation < 90) { ismoving = true; this._rotation = angle; angle = angle + 30; } else { ismoving = false; } } else { ismoving = false; angle = 0; this._rotation = angle; } }
Instance of Symbol 56 MovieClip "flipperLeft" in Frame 22
onClipEvent (load) { angle = 0; ismoving = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.LEFT)) { tellTarget ("_root.sound") { play(); }; if (-90 < this._rotation) { ismoving = true; this._rotation = angle; angle = angle - 30; } else { ismoving = false; } } else { ismoving = false; angle = 360; this._rotation = angle; } }
Instance of Symbol 85 MovieClip "ball" in Frame 22
onClipEvent (load) { this._x = random(200) + 100; movy = -4; movx = 2; colid = false; (oldy = 0); } onClipEvent (enterFrame) { _root.text = score; if (384 < this._y) { tellTarget ("../") { gotoAndPlay ("miss"); }; } var friction = 0.002; if (Math.abs(movx)) { movx = movx - (movx * friction); } if (Math.abs(movy)) { movy = movy - (movy * friction); } if (!colid) { movy = movy + 0.2; } if (5 < movx) { movx = 5; } else if (movx < -5) { movx = -5; } if (4 < movy) { movy = 4; } else if (movy < -8) { movy = -8; } this._x = this._x + (movx * 2); this._y = this._y + (movy * 2); obstNum = 11; i = 0; for ( ; i < obstNum ; i++) { var ball = this; var obstacle = _root["obst" + i]; var collisionX = (obstacle._x - ball._x); var collisionY = (obstacle._y - ball._y); var distanceSquared = ((collisionX * collisionX) + (collisionY * collisionY)); var sumRadius = ((ball._height / 2) + (obstacle._height / 2)); var sumRadiusSquared = (sumRadius * sumRadius); if (sumRadiusSquared >= distanceSquared) { _root.score = _root.score + (100 + random(100)); obstacle.play(); var collisionVectorLength = Math.sqrt(distanceSquared); if (collisionVectorLength == 0) { collisionVectorLength = 1; } var collisionNormalX = (collisionX / collisionVectorLength); var collisionNormalY = (collisionY / collisionVectorLength); var Acvx = ((movx * collisionNormalX) + (movy * collisionNormalY)); var Acvy = ((movy * collisionNormalX) - (movx * collisionNormalY)); if (Acvx < 0) { continue; } var Bcvx = 0; var Bcvy = 0; var m1 = 5; var m2 = 100; var mT = (m1 + m2); var Afvx = ((((m1 - m2) * Acvx) + ((m2 + m2) * Bcvx)) / mT); movx = (Afvx * collisionNormalX) - (Acvy * collisionNormalY); movy = (collisionNormalX * Acvy) + (Afvx * collisionNormalY); movx = movx * 1.2; movy = movy * 1.2; this.gotoAndStop(2); } else { this.gotoAndStop(1); } } if (this._y < (_root.wallTop._y + (this._height / 2))) { this._y = _root.wallTop._y + (this._height / 2); movy = movy * -1; } else if ((_root.wallBot._y - (this._height / 2)) < this._y) { this._y = _root.wallBot._y - (this._height / 2); movy = movy * -1; } else if ((_root.wallRig._x - (this._height / 2)) < this._x) { this._x = _root.wallRig._x - (this._height / 2); movx = movx * -1; } else if (this._x < (_root.wallLef._x + (this._height / 2))) { this._x = _root.wallLef._x + (this._height / 2); movx = movx * -1; } oldx = this._x; oldy = this._y; if (_root.flipperLeft.hitTest(this._x, this._y, true) || (_root.flipperRight.hitTest(this._x, this._y, true))) { if (_root.flipperRight.hitTest(this._x, this._y, true)) { var flipper = _root.flipperRight; var angle = (45 + _root.flipperRight._rotation); var phiRad = (Math.PI * (angle / 180)); } else if (_root.flipperLeft.hitTest(this._x, this._y, true)) { var flipper = _root.flipperLeft; var angle = (135 + _root.flipperLeft._rotation); var phiRad = (Math.PI * (angle / 180)); } var movxN = ((movx * Math.cos(phiRad)) - (movy * Math.sin(phiRad))); var movyN = ((movx * Math.sin(phiRad)) + (movy * Math.cos(phiRad))); this._x = oldx; this._y = oldy - 2; if ((0 < movy) && (flipper.ismoving)) { movyN = movyN * -6; } else if ((0 < movy) && (!flipper.ismoving)) { movyN = movyN * -1.5; } else if ((movy < 0) && (flipper.ismoving)) { movyN = movyN * 4.5; } else if ((movy < 0) && (!flipper.ismoving)) { movyN = movyN * 1; } movx = (movxN * Math.cos(phiRad)) + (movyN * Math.sin(phiRad)); movy = ((-movxN) * Math.sin(phiRad)) + (movyN * Math.cos(phiRad)); colid = true; } else { colid = false; } }
Frame 31
_root.balls = _root.balls - 1;
Frame 32
if (_root.balls < 1) { gotoAndStop (127); }
Frame 126
gotoAndStop (22);
Frame 127
Mouse.show(); _root.score = score; stop();
Instance of Symbol 116 MovieClip "logo" in Frame 127
onClipEvent (enterFrame) { setProperty("_root.logo", _rotation , getProperty(_root.logo, _rotation) + 1); }
Symbol 2 Button
on (release) { Mouse.hide(); gotoAndStop (22); }
Symbol 11 Button
on (release) { getURL ("http://www.nastypixel.com/arcade/", "_blank"); }
Symbol 31 Button
on (release) { nextFrame(); }
Symbol 35 MovieClip Frame 1
stop(); _quality = "HIGH";
Symbol 35 MovieClip Frame 2
_quality = "MEDIUM"; stop();
Symbol 35 MovieClip Frame 3
stop(); _quality = "AUTOHIGH";
Symbol 35 MovieClip Frame 4
stop(); _quality = "LOW";
Symbol 35 MovieClip Frame 5
gotoAndStop (1);
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 15
gotoAndStop (1);
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 15
gotoAndStop (1);
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 15
gotoAndStop (1);
Symbol 68 MovieClip Frame 1
stop();
Instance of Symbol 67 MovieClip "seahittest" in Symbol 68 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { tellTarget ("../") { play(); }; } }
Symbol 68 MovieClip Frame 15
_root.sea = _root.sea + 1; if (_root.sea < 3) { stop(); } else { tellTarget ("_root.sound") { gotoAndPlay ("sea"); }; _root.sea = 0; _root.score = _root.score + (random(1500) + 500); tellTarget ("_root.sea1") { gotoAndStop (1); }; tellTarget ("_root.sea2") { gotoAndStop (1); }; tellTarget ("_root.sea3") { gotoAndStop (1); }; }
Symbol 70 MovieClip Frame 1
stop();
Instance of Symbol 67 MovieClip "seahittest" in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { tellTarget ("../") { play(); }; } }
Symbol 70 MovieClip Frame 15
_root.sea = _root.sea + 1; if (_root.sea < 3) { stop(); } else { tellTarget ("_root.sound") { gotoAndPlay ("sea"); }; _root.sea = 0; _root.score = _root.score + (random(1500) + 500); tellTarget ("_root.sea1") { gotoAndStop (1); }; tellTarget ("_root.sea2") { gotoAndStop (1); }; tellTarget ("_root.sea3") { gotoAndStop (1); }; }
Symbol 72 MovieClip Frame 1
stop();
Instance of Symbol 67 MovieClip "seahittest" in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { tellTarget ("../") { play(); }; } }
Symbol 72 MovieClip Frame 15
_root.sea = _root.sea + 1; if (_root.sea < 3) { stop(); } else { tellTarget ("_root.sound") { gotoAndPlay ("sea"); }; _root.sea = 0; _root.score = _root.score + (random(1500) + 500); tellTarget ("_root.sea1") { gotoAndStop (1); }; tellTarget ("_root.sea2") { gotoAndStop (1); }; tellTarget ("_root.sea3") { gotoAndStop (1); }; }
Instance of Symbol 77 MovieClip "sidetest1" in Symbol 78 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.ball) && (_root.blackhole < 1)) { setProperty(_root.ball, _y , -100); setProperty(_root.ball, _x , -100); setProperty(_root.ball, _visible , false); tellTarget ("_root.blackholeanimation") { gotoAndPlay (2); }; } }
Symbol 91 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 16
gotoAndStop (1);
Symbol 91 MovieClip Frame 78
gotoAndStop (1);
Symbol 98 MovieClip Frame 1
_root.blackhole = 0; stop();
Symbol 98 MovieClip Frame 2
_root.blackhole = 100;
Symbol 98 MovieClip Frame 15
setProperty(_root.ball, _y , -100); setProperty(_root.ball, _x , -100);
Symbol 98 MovieClip Frame 37
setProperty(_root.ball, _y , -100); setProperty(_root.ball, _x , -100);
Symbol 98 MovieClip Frame 60
setProperty(_root.ball, _y , -100); setProperty(_root.ball, _x , -100);
Symbol 98 MovieClip Frame 76
setProperty(_root.ball, _y , 70); setProperty(_root.ball, _x , 113.9); setProperty(_root.ball, _visible , true);
Symbol 102 Button
on (release, keyPress "m") { Mouse.show(); gotoAndStop (21); }
Symbol 107 Button
on (keyPress "$") { _root.score = 0; _root.balls = 3; Mouse.hide(); gotoAndStop (22); } on (release) { _root.score = 0; _root.balls = 3; gotoAndStop (21); }

Library Items

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

Instance Names

"loader"Frame 1Symbol 16 MovieClip
"obst2"Frame 21Symbol 40 MovieClip
"obst2"Frame 21Symbol 40 MovieClip
"wallTop"Frame 22Symbol 50 MovieClip
"wallRig"Frame 22Symbol 52 MovieClip
"wallLef"Frame 22Symbol 52 MovieClip
"wallBot"Frame 22Symbol 50 MovieClip
"flipperRight"Frame 22Symbol 54 MovieClip
"flipperLeft"Frame 22Symbol 56 MovieClip
"obst0"Frame 22Symbol 59 MovieClip
"obst2"Frame 22Symbol 40 MovieClip
"obst8"Frame 22Symbol 62 MovieClip
"obst1"Frame 22Symbol 40 MovieClip
"obst3"Frame 22Symbol 40 MovieClip
"sea1"Frame 22Symbol 68 MovieClip
"sea2"Frame 22Symbol 70 MovieClip
"sea3"Frame 22Symbol 72 MovieClip
"obst9"Frame 22Symbol 62 MovieClip
"obst5"Frame 22Symbol 74 MovieClip
"obst4"Frame 22Symbol 74 MovieClip
"obst6"Frame 22Symbol 62 MovieClip
"obst8"Frame 22Symbol 62 MovieClip
"ball"Frame 22Symbol 85 MovieClip
"sound"Frame 22Symbol 91 MovieClip
"blackholeanimation"Frame 22Symbol 98 MovieClip
"logo"Frame 127Symbol 116 MovieClip
"seahittest"Symbol 68 MovieClip Frame 1Symbol 67 MovieClip
"seahittest"Symbol 70 MovieClip Frame 1Symbol 67 MovieClip
"seahittest"Symbol 72 MovieClip Frame 1Symbol 67 MovieClip
"sidetest1"Symbol 78 MovieClip Frame 1Symbol 77 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$.e$BB.qD/TXKwAIn7UcJwbyh0."

Labels

"test"Frame 18
"done"Frame 21
"sound"Frame 22
"game"Frame 22
"miss"Frame 31
"sea"Symbol 91 MovieClip Frame 20

Dynamic Text Variables

scoreSymbol 93 EditableText"10000000"
_root.ballsSymbol 94 EditableText""
scoreSymbol 109 EditableText"10000000"




http://swfchan.com/10/46210/info.shtml
Created: 4/5 -2019 03:48:10 Last modified: 4/5 -2019 03:48:10 Server time: 22/12 -2024 10:03:37