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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM92664887-24DC&rnd=92664887" width="1" height="1"></div>

Jurracic Pinball24.swf

This is the info page for
Flash #268589

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { fscommand('fullscreen', 'true'); fscommand('allowscale', 'false'); fscommand('showmenu', 'false'); } frame 6 { stop(); } movieClip 5 { } instance progressbar of movieClip 5 { onClipEvent (load) { totalFileSize = _root.getBytesTotal(); startTime = getTimer(); startBytes = _root.getBytesLoaded(); this._xscale = 0; } onClipEvent (enterFrame) { bytesLoaded = _root.getBytesLoaded(); amountLoaded = bytesLoaded / totalFileSize; percentLoaded = int(100 * amountLoaded); this._xscale = percentLoaded; timeSoFar = getTimer() - startTime; speed = bytesLoaded / timeSoFar; bytesLeft = totalFileSize - bytesLoaded; timeLeft = (bytesLeft / 1000) * (speed / 1000); speed = int(10 * speed) / 10; _root.bytesMessage = int(bytesLoaded / 1000) + 'kb/' + int(totalFileSize / 1000) + 'kb'; _root.speedMessage = speed + 'k/sec'; _root.timeMessage = int(timeLeft) + ' seconds remaining'; if (amountLoaded >= 1) { _root.gotoAndStop('complete'); } } } movieClip 15 { frame 30 { stop(); } } frame 7 { stop(); } button 18 { on (release) { gotoAndPlay(8); } } movieClip 24 { frame 44 { stop(); } } movieClip 26 { } frame 508 { stop(); } button 40 { on (release) { gotoAndPlay(509); } } frame 509 { score = 0; Balls = 5; _root.StartUp.gotoAndPlay(2); } movieClip 43 { frame 1 { stop(); } frame 2 { play(); } frame 60 { _root.StartLights.gotoAndPlay(2); } } frame 510 { stop(); if (0 >= _root.Balls) { _root.Over.gotoAndStop(2); _root.PressStart.gotoAndStop(2); gotoAndStop(558); } } button 48 { on (release) { fscommand('quit'); } } button 50 { on (release) { _root.gotoAndStop('More'); } } movieClip 54 { frame 1 { Light = random(60); } frame 4 { if (Light == 6) { gotoAndPlay(5); } else { gotoAndPlay(1); } } } movieClip 60 { frame 1 { stop(); } } movieClip 64 { frame 1 { stop(); } } movieClip 66 { } movieClip 68 { } movieClip 77 { frame 1 { stop(); } frame 5 { _root.bonusL01.play(); } } movieClip 80 { } instance flipperRight of movieClip 80 { onClipEvent (load) { angle = 0; ismoving = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { if (this._rotation < 90) { ismoving = true; this._rotation = angle; angle += 20; } else { ismoving = false; } } else { ismoving = false; angle = 0; this._rotation = angle; } } } movieClip 82 { } instance flipperLeft of movieClip 82 { onClipEvent (load) { angle = 0; ismoving = false; } onClipEvent (enterFrame) { if (Key.isDown(Key.LEFT)) { if (-90 < this._rotation) { ismoving = true; this._rotation = angle; angle -= 20; } else { ismoving = false; } } else { ismoving = false; angle = 360; this._rotation = angle; } } } movieClip 89 { frame 1 { stop(); } } movieClip 91 { } movieClip 93 { frame 1 { stop(); } frame 2 { PB.play(); } frame 15 { gotoAndStop(1); } } movieClip 94 { frame 1 { stop(); } frame 2 { PB.play(); } frame 15 { gotoAndStop(1); } } movieClip 96 { } movieClip 98 { } movieClip 109 { frame 1 { stop(); } } button 111 { on (keyPress '<Space>') { play(); _root.PressStart.gotoAndStop(2); } } movieClip 114 { frame 1 { stop(); } frame 2 { play(); } } movieClip 115 { frame 1 { stop(); } frame 5 { _root.bonusL02.play(); } } movieClip 117 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 122 { frame 1 { stop(); } frame 2 { stop(); } } frame 511 { TableTop.play(); } frame 553 { stop(); } movieClip 127 { } movieClip 129 { } movieClip 130 { } instance ball of movieClip 130 { onClipEvent (load) { movy = -4; movx = 2; colid = false; oldx; oldy = 0; prevx = this._x; prevy = this._y; } onClipEvent (enterFrame) { s = new Sound(); s.attachSound('looserwav'); if (365 < this._y) { s.start(); --_root.Balls; _root.PressStart.gotoAndStop(1); _root.gotoAndPlay('StartOver'); } var friction = 0.02; if (Math.abs(movx)) { movx -= movx * friction; } if (Math.abs(movy)) { movy -= movy * friction; } if (!colid) { movy += 0.15; } if (9 < movx) { movx = 9; } else { if (movx < -9) { movx = -9; } } if (8 < movy) { movy = 8; } else { if (movy < -8) { movy = -8; } } this._x += movx; this._y += movy; obstNum = 18; i = 0; while (i < obstNum) { 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 += 100; if (_root.score == 10000) { _root.Bonus.play(); } else { if (_root.score == 20000) { _root.Bonus.play(); } else { if (_root.score == 30000) { _root.Bonus.play(); } else { if (_root.score == 40000) { _root.Bonus.play(); } else { if (_root.scsore == 50000) { _root.Bonus.play(); } } } } } obstacle.play(); _root.PB01.gotoAndPlay(2); 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; } else { if (Acvx < 0) { 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 *= 1.2; movy *= 1.2; this.gotoAndStop(2); } else { this.gotoAndStop(1); } } ++i; } if (this._y < _root.wallTop._y + this._height / 2) { this._y = _root.wallTop._y + this._height / 2; movy *= -1; } else { if (_root.wallBot._y - this._height / 2 < this._y) { this._y = _root.wallBot._y - this._height / 2; movy *= -1; } else { if (_root.wallRig._x - this._height / 2 < this._x) { this._x = _root.wallRig._x - this._height / 2; movx *= -1; } else { if (this._x < _root.wallLef._x + this._height / 2) { this._x = _root.wallLef._x + this._height / 2; 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 *= -8.5; } else { if (0 < movy && !flipper.ismoving) { movyN *= -1; } else { if (movy < 0 && flipper.ismoving) { movyN *= 8.5; } else { if (movy < 0 && !flipper.ismoving) { 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 558 { stop(); } button 134 { on (release) { gotoAndPlay(509); _root.Over.gotoAndStop(1); stopAllSounds(); } } frame 559 { stop(); } button 150 { on (release) { getURL('http://fun.techradium.com', '_blank'); } } button 154 { on (release) { stopAllSounds(); _root.gotoAndPlay('NewGame'); } }




https://swfchan.com/54/268589/info.shtml
Created: 23/8 -2026 00:01:11 Last modified: 23/8 -2026 00:01:11 Server time: 24/08 -2026 23:40:07