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

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

Garage Door Tennis.swf

This is the info page for
Flash #22480

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


Text
12345

12345

12345

12345

ActionScript [AS1/AS2]

Frame 1
_root.gameID = 41; _root.guest = true; _quality = "BEST";
Frame 2
_quality = "BEST"; ifFrameLoaded (5) { gotoAndStop (4); }
Frame 3
gotoAndPlay (2);
Instance of Symbol 8 MovieClip "scores" in Frame 4
/* no clip actions */
Frame 4
_root.gameID = 41; _root.rootWidth = 527; _root.rootHeight = 400; loadMovie ("./actionscript/scores.swf", "scores"); stop();
Frame 5
Instance of Symbol 60 MovieClip "game" in Frame 5
/* no clip actions */
Symbol 6 Button
on (release) { nextFrame(); }
Symbol 12 Button
on (release, releaseOutside) { ball.gravity = true; playing = true; ball.speed.z = 14; ball.speed.x = random(31) - 15; ball.speed.y = getRandom(ball.position.y, 0); sounds.gotoAndPlay("whack"); }
Symbol 15 MovieClip Frame 1
Symbol 17 MovieClip Frame 1
Symbol 27 Button
on (release) { playing = true; newGame(); }
Symbol 41 MovieClip Frame 1
onEnterFrame = function () { count++; if (count >= 54) { count = 0; r = random(3); if (r == 0) { r = random(4) + 1; gotoAndPlay("bird" + r); } } }; stop();
Symbol 41 MovieClip Frame 6
stop();
Symbol 41 MovieClip Frame 13
stop();
Symbol 41 MovieClip Frame 20
stop();
Symbol 41 MovieClip Frame 27
stop();
Symbol 48 MovieClip Frame 1
onEnterFrame = function () { count++; if (count >= 90) { count = 0; r = random(3); if (r == 0) { r = random(5) + 1; gotoAndPlay("sound" + r); } } }; stop();
Symbol 48 MovieClip Frame 6
stop();
Symbol 48 MovieClip Frame 12
stop();
Symbol 48 MovieClip Frame 19
stop();
Symbol 48 MovieClip Frame 25
stop();
Symbol 48 MovieClip Frame 31
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 54 Button
on (release) { if (goal == 100) { goal = 0; } else { goal = 100; } }
Symbol 59 MovieClip Frame 1
s = new Sound(this); goal = 100; volume = 70; adjustment = 10; stop(); onEnterFrame = function () { if (goal < volume) { volume = volume - adjustment; } else if (goal > volume) { volume = volume + adjustment; } if (Math.abs(goal - volume) < adjustment) { volume - goal; } s.setVolume(volume); frame = int(volume / 10) + 1; speaker.gotoAndStop(frame); };
Symbol 59 MovieClip Frame 7
r = random(3) + 1; gotoAndStop("whack" + r);
Symbol 59 MovieClip Frame 15
stop();
Symbol 59 MovieClip Frame 22
stop();
Symbol 59 MovieClip Frame 30
stop();
Symbol 59 MovieClip Frame 37
stop();
Symbol 59 MovieClip Frame 79
stop();
Symbol 59 MovieClip Frame 85
stop();
Symbol 60 MovieClip Frame 1
function positionRacket() { racket._x = _xmouse; racket._y = _ymouse; catcher._x = _xmouse; catcher._y = _ymouse; racket._rotation = ((-racket._y) / 20) - ((-racket._x) / 30); catcher._rotation = ((-racket._y) / 20) - ((-racket._x) / 30); } function placeOnRacket() { pastz = 30 - ball.position.z; ratio = pastz / ball.speed.z; safex = ball.position.x; safey = ball.position.y; safez = ball.position.z; ball.position.z = ball.position.z + (ratio * ball.speed.z); ball.position.y = ball.position.y + (ratio * ball.speed.y); ball.position.x = ball.position.x + (ratio * ball.speed.x); trace(ball.position.z); } function getRandom(y, type) { where = (-y) + 325; if (type == 0) { start = 25 + (where * 0.0857142857142857); spread = 57 - (where * 0.0371428571428571); r = start + random(spread); } else { start = 116 - (where * 0.0857142857142857); r = start + random(25); } return(r); } function convert(pos) { mytrans = new Object(); where = (1 / pos.z) * dim; mytrans.yscale = where * size; mytrans.xscale = where * size; distx = (pos.x - vanx) * (where / (dim / inc)); disty = (-(pos.y - vany)) * (where / (dim / inc)); mytrans.x = vanx + distx; mytrans.y = vany + disty; return(mytrans); } function redraw(object) { if (object.shadow != "") { shad = eval (object.shadow); shad.position.x = object.position.x + ((object.position.y - floor) * 0.2); shad.position.y = floor; shad.position.z = object.position.z + ((object.position.y - floor) * 0.01); mytrans = convert(shad.position); shad._x = mytrans.x; shad._y = mytrans.y; shad._xscale = mytrans.xscale; shad._yscale = mytrans.yscale; } mytrans = convert(object.position); object._x = mytrans.x; object._y = mytrans.y; object._xscale = mytrans.xscale; object._yscale = mytrans.yscale; } function translate(object) { if (object.gravity) { object.speed.y = object.speed.y - gravity; } object.position.x = object.position.x + object.speed.x; object.position.y = object.position.y + object.speed.y; object.position.z = object.position.z + object.speed.z; if (object.position.y < floor) { sounds.gotoAndPlay("bounce"); gravity = 7 + random(3); object.position.y = floor; object.speed.x = object.speed.x * object.slide; object.speed.y = object.speed.y * (-object.bounce); object.speed.z = object.speed.z * object.slide; } if (object.position.z > wall) { sounds.gotoAndPlay("garage"); object.position.z = wall; object.speed.z = object.speed.z * (-(object.bounce * 0.5)); object.speed.x = object.speed.x * (object.bounce * 0.5); } if (((object.position.z < 30) and (object.speed.z < 0)) and (!passed)) { placeOnRacket(); if (catcher.hitTest(object._x + _x, object._y + _y, true)) { sounds.gotoAndPlay("whack"); gravity = 11; score++; if (score > best) { best = score; } mult = Math.min((score / 120) + 0.4, 1); object.speed.x = (object._x - _xmouse) * mult; type = 0; if (random(5) == 0) { type = 1; } object.speed.z = 14 + (type * 6); object.speed.y = getRandom(object.position.y, type); } else { ball.position.x = safex; ball.position.y = safey; ball.position.z = safez; passed = true; } } if (object.position.z < 14) { ball.gravity = false; sounds.gotoAndPlay("past"); racket._visible = false; Mouse.show(); object._visible = false; eval (object.shadow)._visible = false; object.position.z = 100; object.speed.z = 0; object.speed.y = 0; object.speed.z = 0; playing = false; _parent.scores.scripting.test(score); } } function reset() { resetButton._visible = true; } function newGame() { racket._visible = true; resetButton._visible = false; ball.shadow = "shadow"; ball.bounce = 0.8; ball.slide = 0.9; ball.gravity = false; ball.location = new Object(); ball.position = new Object(); ball.speed = new Object(); ball.position.x = 0; ball.position.y = 0; ball.position.z = 30; ball.speed.x = 0; ball.speed.y = 0; ball.speed.z = 0; shadow._visible = true; Mouse.hide(); tennisball = ball; floor = -525; wall = 133; inc = 20; vanx = 0; vany = 0; dim = 6000; gravity = 11; size = 0.4; ball._visible = true; translate(tennisball); redraw(tennisball); score = 0; passed = false; } onEnterFrame = function () { if (((_root._xmouse > 530) or ((_root._xmouse < 80) and (_root._ymouse > 330))) or (!playing)) { Mouse.show(); } else { Mouse.hide(); } positionRacket(); translate(tennisball); redraw(tennisball); }; playing = true; best = 0; newGame();
Instance of Symbol 15 MovieClip "ball" in Symbol 60 MovieClip Frame 1
onClipEvent (load) { }
Instance of Symbol 17 MovieClip "shadow" in Symbol 60 MovieClip Frame 1
onClipEvent (load) { location = new Object(); position = new Object(); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:Timeline
Symbol 3 BitmapUsed by:4
Symbol 4 GraphicUses:3Used by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 ButtonUses:5Used by:Timeline
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:Timeline
Symbol 9 BitmapUsed by:10
Symbol 10 GraphicUses:9Used by:60
Symbol 11 GraphicUsed by:12
Symbol 12 ButtonUses:11Used by:60
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:15
Symbol 15 MovieClipUses:14Used by:60
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:60
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClipUses:19Used by:60
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:60
Symbol 23 GraphicUsed by:60
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:27
Symbol 26 GraphicUsed by:27
Symbol 27 ButtonUses:25 26Used by:60
Symbol 28 BitmapUsed by:30
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:28 29Used by:60
Symbol 31 FontUsed by:32 33 34 35
Symbol 32 EditableTextUses:31Used by:60
Symbol 33 EditableTextUses:31Used by:60
Symbol 34 EditableTextUses:31Used by:60
Symbol 35 EditableTextUses:31Used by:60
Symbol 36 GraphicUsed by:41
Symbol 37 SoundUsed by:41
Symbol 38 SoundUsed by:41
Symbol 39 SoundUsed by:41
Symbol 40 SoundUsed by:41
Symbol 41 MovieClipUses:36 37 38 39 40Used by:59
Symbol 42 GraphicUsed by:48
Symbol 43 SoundUsed by:48
Symbol 44 SoundUsed by:48
Symbol 45 SoundUsed by:48
Symbol 46 SoundUsed by:48
Symbol 47 SoundUsed by:48
Symbol 48 MovieClipUses:42 43 44 45 46 47Used by:59
Symbol 49 GraphicUsed by:52
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:52
Symbol 52 MovieClipUses:49 51Used by:59
Symbol 53 GraphicUsed by:54
Symbol 54 ButtonUses:53Used by:59
Symbol 55 SoundUsed by:59
Symbol 56 SoundUsed by:59
Symbol 57 SoundUsed by:59
Symbol 58 SoundUsed by:59
Symbol 59 MovieClipUses:41 48 52 54 55 56 57 58Used by:60
Symbol 60 MovieClipUses:10 12 15 17 20 22 23 27 30 32 33 34 35 59Used by:Timeline

Instance Names

"preloader"Frame 1Symbol 2 MovieClip
"scores"Frame 4Symbol 8 MovieClip
"game"Frame 5Symbol 60 MovieClip
"speaker"Symbol 59 MovieClip Frame 1Symbol 52 MovieClip
"myButton"Symbol 60 MovieClip Frame 1Symbol 12 Button
"ball"Symbol 60 MovieClip Frame 1Symbol 15 MovieClip
"shadow"Symbol 60 MovieClip Frame 1Symbol 17 MovieClip
"racket"Symbol 60 MovieClip Frame 1Symbol 20 MovieClip
"catcher"Symbol 60 MovieClip Frame 1Symbol 22 MovieClip
"resetButton"Symbol 60 MovieClip Frame 1Symbol 27 Button
"sounds"Symbol 60 MovieClip Frame 1Symbol 59 MovieClip

Labels

"bird1"Symbol 41 MovieClip Frame 5
"bird2"Symbol 41 MovieClip Frame 12
"bird3"Symbol 41 MovieClip Frame 19
"bird4"Symbol 41 MovieClip Frame 26
"sound1"Symbol 48 MovieClip Frame 5
"sound2"Symbol 48 MovieClip Frame 11
"sound3"Symbol 48 MovieClip Frame 18
"sound4"Symbol 48 MovieClip Frame 24
"sound5"Symbol 48 MovieClip Frame 30
"whack"Symbol 59 MovieClip Frame 7
"whack1"Symbol 59 MovieClip Frame 14
"whack2"Symbol 59 MovieClip Frame 21
"whack3"Symbol 59 MovieClip Frame 29
"bounce"Symbol 59 MovieClip Frame 36
"past"Symbol 59 MovieClip Frame 44
"garage"Symbol 59 MovieClip Frame 84

Dynamic Text Variables

scoreSymbol 32 EditableText"12345"
scoreSymbol 33 EditableText"12345"
bestSymbol 34 EditableText"12345"
bestSymbol 35 EditableText"12345"




http://swfchan.com/5/22480/info.shtml
Created: 26/5 -2019 21:55:24 Last modified: 26/5 -2019 21:55:24 Server time: 21/12 -2024 17:45:00