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

Fly Swatter.swf

This is the info page for
Flash #24728

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


Text
grab

hang up

play again?

PRETTY GOOD!

your score
is:

accuracy =

10

swats =

time =

kills =

0.000

ActionScript [AS1/AS2]

Frame 3
function calcangle(me, targetx, targety) { var deltax = (me._x - targetx); var deltay = (me._y - targety); angle = Math.atan2(deltay, deltax); angle = angle / (Math.pi / 180); return(angle); } fscommand ("allowscale", "false"); i = 100; b = 1; controller.attachMovie("fly", "fly" + i, i); i++; counter = 0; swats = 0; kills = 0; stop();
Symbol 11 MovieClip [splat4] Frame 5
stop();
Symbol 21 MovieClip [splat3] Frame 4
stop();
Symbol 44 MovieClip [splat2] Frame 90
stop();
Symbol 44 MovieClip [splat2] Frame 91
stop();
Instance of Symbol 43 MovieClip in Symbol 44 MovieClip [splat2] Frame 91
onClipEvent (enterFrame) { _alpha = (_alpha - 5); if (5 >= _alpha) { _parent.removeMovieClip(); trace("poowie"); } }
Symbol 81 MovieClip [splat1] Frame 5
stop();
Symbol 83 Button
on (rollOver) { ranX = random(760) + 20; ranY = random(560) + 20; targetx = ranX; targety = ranY; yEase = random(20) + 5; xEase = random(20) + 5; tempo = random(50) + 20; pace = 0; i = 0; } on (press) { chance = random(5); if (chance < 2) { splat = true; buzz.stop(); _parent.splat.start(0, 1); _parent.splat.setVolume(100); } else { if (400 < _root._xmouse) { ranX = 75; } else { ranX = 725; } ranY = random(560) + 20; targetx = ranX; targety = ranY; yEase = random(20) + 5; xEase = random(20) + 5; tempo = random(50) + 20; pace = 0; i = 0; } }
Symbol 84 Button
on (press) { chance = random(4); if (chance < 3) { splat = true; buzz.stop(); _parent.splat.start(0, 1); _parent.splat.setVolume(100); } else { if (400 < _root._xmouse) { ranX = 75; } else { ranX = 725; } ranY = random(560) + 20; targetx = ranX; targety = ranY; yEase = random(20) + 5; xEase = random(20) + 5; tempo = random(50) + 20; pace = 0; i = 0; } } on (release) { splat = true; }
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
buzz.start(0, 3); buzz.setVolume(100); stop();
Symbol 110 MovieClip Frame 3
play();
Symbol 110 MovieClip Frame 6
buzz.stop(); gotoAndStop (1);
Symbol 112 MovieClip Frame 3
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 115 MovieClip [fly] Frame 1
function calcangle(me, targetx, targety) { var deltax = (me._x - targetx); var deltay = (me._y - targety); angle = Math.atan2(deltay, deltax); angle = angle / (Math.pi / 180); return(angle); } fscommand ("allowscale", "false"); splat = new Sound(this); splat.attachSound("splat");
Instance of Symbol 110 MovieClip "main" in Symbol 115 MovieClip [fly] Frame 1
onClipEvent (load) { buzz = new Sound(this); buzz.attachSound("buzz"); dirVar = new Array(1, -1); _root.counter++; _x = 900; _y = random(600); tempo = random(50) + 20; ranX = random(760) + 20; ranY = random(560) + 20; targetx = ranX; targety = ranY; yEase = random(20) + 5; xEase = random(20) + 5; pace = 0; i = 0; } onClipEvent (enterFrame) { i++; if (i == tempo) { if (pace == 0) { ranX = random(760) + 20; ranY = random(560) + 20; targetx = ranX; targety = ranY; yEase = random(30) + 5; xEase = random(30) + 5; tempo = random(100) + 20; pace = 1; direction = dirVar[random(2)]; i = 0; } else { ranX = ranX + (random(25) * direction); ranY = ranY + (random(25) * direction); targetx = ranX; targety = ranY; yEase = random(10) + 5; xEase = random(10) + 5; tempo = random(40) + 20; pace = random(3); i = 0; } } _x = (_x + ((ranX - _x) / xEase)); _y = (_y + ((ranY - _y) / yEase)); _rotation = (_rotation + ((_root.calcangle(this, targetx, targety) - _rotation) / 3)); deltaX = _x - oldX; oldX = _x; deltaY = _y - oldY; oldY = _y; if ((4 < Math.abs(deltaX)) or (4 < Math.abs(deltaY))) { gotoAndStop (2); _parent.shadow.gotoAndStop(2); fade = 1; } else if (fade == 1) { gotoAndPlay (3); _parent.shadow.gotoAndStop(1); fade = 0; } if (_root.down == true) { if (splat == true) { _root.controller.attachMovie("splat" + (random(4) + 1), "splat" + _root.b, _root.b); _root.controller["splat" + _root.b]._x = _x; _root.controller["splat" + _root.b]._y = _y; _root.b++; if (7 >= _root.counter) { _root.controller.attachMovie("fly", "fly" + _root.i, _root.i); _root.i++; _root.controller.attachMovie("fly", "fly" + _root.i, _root.i); _root.i++; } else if (_root.counter == 9) { _root.controller.attachMovie("fly", "fly" + _root.i, _root.i); _root.i++; } _root.kills++; if (_root.kills == 10) { _root.swatter.popup.gotoAndStop(2); _root.swatter.popup.over = true; _root.swatter.nextFrame(); } _parent.removeMovieClip(); } } }
Instance of Symbol 114 MovieClip "shadow" in Symbol 115 MovieClip [fly] Frame 1
onClipEvent (load) { _x = (_parent.main._x + 5); _y = (_parent.main._y + 5); _rotation = _parent.main._rotation; } onClipEvent (enterFrame) { _x = (_parent.main._x + 5); _y = (_parent.main._y + 5); _rotation = _parent.main._rotation; }
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 6
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
stop();
Instance of Symbol 120 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (load) { _parent.over = false; } onClipEvent (enterFrame) { if (_parent.over == true) { nextFrame(); } else { prevFrame(); } }
Instance of Symbol 123 MovieClip in Symbol 124 MovieClip Frame 2
onClipEvent (load) { _parent.over = false; } onClipEvent (enterFrame) { if (_parent.over == true) { nextFrame(); } else { prevFrame(); } }
Symbol 131 Button
on (press) { popup.gotoAndStop(2); popup.timer = "start"; popup.difTimer = getTimer(); nextFrame(); } on (rollOver) { popup.over = true; } on (rollOut) { popup.over = false; }
Symbol 143 MovieClip Frame 1
_root.down = false; stop();
Symbol 143 MovieClip Frame 2
swing.start(0, 1); swing.setVolume(100); play();
Symbol 143 MovieClip Frame 4
_root.down = true; _root.swats++;
Symbol 144 Button
on (press) { popup.gotoAndStop(1); popup.timer = "stop"; nextFrame(); }
Symbol 147 Button
on (press) { _root.swats = 0; _root.kills = 0; _root.gotoAndPlay(1); }
Symbol 160 MovieClip Frame 10
this.time = _root.clock.timer; this.swats = _root.swats; this.acc = Math.ceil((10 / _root.swats) * 100); this.accuracy = Math.ceil((10 / _root.swats) * 100) + "%"; if ((acc >= 75) and (25 >= time)) { status = "AMAZING!"; } else if ((acc >= 60) and (35 >= time)) { status = "GREAT!"; } else if ((acc >= 40) and (40 >= time)) { status = "PRETTY GOOD"; } else if ((acc >= 30) and (45 >= time)) { status = "DECENT"; } else { status = "SUCKY!"; } stop();
Symbol 161 MovieClip Frame 1
stop();
Instance of Symbol 124 MovieClip "popup" in Symbol 161 MovieClip Frame 1
onClipEvent (load) { time = getTimer(); } onClipEvent (enterFrame) { if (timer == "start") { _root.clock.timer = (getTimer() - difTimer) / 1000; } }
Instance of Symbol 143 MovieClip in Symbol 161 MovieClip Frame 2
onClipEvent (load) { swing = new Sound(this); swing.attachSound("swing"); _x = _root._xmouse; _y = _root._ymouse; } onClipEvent (mouseMove) { _x = _root._xmouse; _y = _root._ymouse; updateAfterEvent(); } onClipEvent (mouseDown) { this.play(); }
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip Frame 4
/* no clip actions */

Library Items

Symbol 1 Sound [swing]
Symbol 2 Sound [splat]
Symbol 3 Sound [buzz]
Symbol 4 GraphicUsed by:11
Symbol 5 ShapeTweeningUsed by:11
Symbol 6 ShapeTweeningUsed by:11
Symbol 7 ShapeTweeningUsed by:11
Symbol 8 ShapeTweeningUsed by:11
Symbol 9 ShapeTweeningUsed by:11
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClip [splat4]Uses:4 5 6 7 8 9 10
Symbol 12 GraphicUsed by:17
Symbol 13 GraphicUsed by:17
Symbol 14 GraphicUsed by:17
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:12 13 14 15 16Used by:21 43 44
Symbol 18 GraphicUsed by:21
Symbol 19 ShapeTweeningUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClip [splat3]Uses:17 18 19 20
Symbol 22 GraphicUsed by:44
Symbol 23 BitmapUsed by:24 25 26 28 30 32 33 37 42
Symbol 24 GraphicUses:23Used by:44
Symbol 25 GraphicUses:23Used by:44
Symbol 26 GraphicUses:23Used by:44
Symbol 27 GraphicUsed by:44
Symbol 28 GraphicUses:23Used by:44
Symbol 29 GraphicUsed by:44
Symbol 30 GraphicUses:23Used by:44
Symbol 31 GraphicUsed by:44
Symbol 32 GraphicUses:23Used by:44
Symbol 33 GraphicUses:23Used by:34
Symbol 34 MovieClipUses:33Used by:43 44
Symbol 35 ShapeTweeningUsed by:44
Symbol 36 GraphicUsed by:44
Symbol 37 GraphicUses:23Used by:44
Symbol 38 GraphicUsed by:44
Symbol 39 GraphicUsed by:44
Symbol 40 GraphicUsed by:44
Symbol 41 GraphicUsed by:44
Symbol 42 GraphicUses:23Used by:43
Symbol 43 MovieClipUses:17 34 42Used by:44
Symbol 44 MovieClip [splat2]Uses:22 24 25 26 27 28 29 30 31 32 34 35 36 17 37 38 39 40 41 43
Symbol 45 GraphicUsed by:75
Symbol 46 GraphicUsed by:75
Symbol 47 GraphicUsed by:75
Symbol 48 GraphicUsed by:75
Symbol 49 GraphicUsed by:75
Symbol 50 GraphicUsed by:75
Symbol 51 GraphicUsed by:75
Symbol 52 GraphicUsed by:75
Symbol 53 GraphicUsed by:75
Symbol 54 GraphicUsed by:75
Symbol 55 GraphicUsed by:75
Symbol 56 GraphicUsed by:75
Symbol 57 GraphicUsed by:75
Symbol 58 GraphicUsed by:75
Symbol 59 GraphicUsed by:75
Symbol 60 GraphicUsed by:75
Symbol 61 GraphicUsed by:75
Symbol 62 GraphicUsed by:75
Symbol 63 GraphicUsed by:75
Symbol 64 GraphicUsed by:75
Symbol 65 GraphicUsed by:75
Symbol 66 GraphicUsed by:75
Symbol 67 GraphicUsed by:75
Symbol 68 GraphicUsed by:75
Symbol 69 GraphicUsed by:75
Symbol 70 GraphicUsed by:75
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74Used by:81
Symbol 76 GraphicUsed by:81
Symbol 77 ShapeTweeningUsed by:81
Symbol 78 ShapeTweeningUsed by:81
Symbol 79 ShapeTweeningUsed by:81
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClip [splat1]Uses:75 76 77 78 79 80
Symbol 82 GraphicUsed by:83 84 147
Symbol 83 ButtonUses:82Used by:110
Symbol 84 ButtonUses:82Used by:110
Symbol 85 GraphicUsed by:100
Symbol 86 GraphicUsed by:100
Symbol 87 GraphicUsed by:100
Symbol 88 GraphicUsed by:100
Symbol 89 GraphicUsed by:100
Symbol 90 GraphicUsed by:100
Symbol 91 GraphicUsed by:100
Symbol 92 GraphicUsed by:100
Symbol 93 GraphicUsed by:100
Symbol 94 GraphicUsed by:100
Symbol 95 GraphicUsed by:100
Symbol 96 GraphicUsed by:100
Symbol 97 GraphicUsed by:100
Symbol 98 GraphicUsed by:100
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:85 86 87 88 89 90 91 92 93 94 95 96 97 98 99Used by:110
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:110
Symbol 103 GraphicUsed by:104
Symbol 104 ButtonUses:103Used by:109 110
Symbol 105 GraphicUsed by:110
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:110
Symbol 108 GraphicUsed by:109
Symbol 109 ButtonUses:108 104Used by:110
Symbol 110 MovieClipUses:83 84 100 102 104 105 107 109Used by:115
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:114
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:112 113Used by:115
Symbol 115 MovieClip [fly]Uses:110 114
Symbol 116 GraphicUsed by:161
Symbol 117 FontUsed by:118 121 148 149 150 151 152 153 154 155 156 157 158 163
Symbol 118 TextUses:117Used by:120
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:118 119Used by:124
Symbol 121 TextUses:117Used by:123
Symbol 122 GraphicUsed by:123
Symbol 123 MovieClipUses:121 122Used by:124
Symbol 124 MovieClipUses:120 123Used by:161
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:128 143
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:126 127Used by:129
Symbol 129 MovieClipUses:128Used by:161
Symbol 130 GraphicUsed by:131 144
Symbol 131 ButtonUses:130Used by:161
Symbol 132 GraphicUsed by:161
Symbol 133 GraphicUsed by:143
Symbol 134 GraphicUsed by:143
Symbol 135 GraphicUsed by:143
Symbol 136 GraphicUsed by:143
Symbol 137 GraphicUsed by:143
Symbol 138 GraphicUsed by:143
Symbol 139 GraphicUsed by:143
Symbol 140 GraphicUsed by:143
Symbol 141 GraphicUsed by:143
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClipUses:126 133 134 135 136 137 138 139 140 141 142Used by:161
Symbol 144 ButtonUses:130Used by:161
Symbol 145 ShapeTweeningUsed by:160
Symbol 146 ShapeTweeningUsed by:160
Symbol 147 ButtonUses:82Used by:160
Symbol 148 TextUses:117Used by:160
Symbol 149 EditableTextUses:117Used by:160
Symbol 150 TextUses:117Used by:160
Symbol 151 EditableTextUses:117Used by:160
Symbol 152 TextUses:117Used by:160
Symbol 153 EditableTextUses:117Used by:160
Symbol 154 EditableTextUses:117Used by:160
Symbol 155 EditableTextUses:117Used by:160
Symbol 156 TextUses:117Used by:160
Symbol 157 TextUses:117Used by:160
Symbol 158 TextUses:117Used by:160
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClipUses:145 146 147 148 149 150 151 152 153 154 155 156 157 158 159Used by:161
Symbol 161 MovieClipUses:116 124 129 131 132 143 144 160Used by:Timeline
Symbol 162 MovieClipUsed by:Timeline
Symbol 163 EditableTextUses:117Used by:165
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:163 164Used by:Timeline
Symbol 166 BitmapUsed by:167
Symbol 167 GraphicUses:166Used by:Timeline

Instance Names

"swatter"Frame 2Symbol 161 MovieClip
"controller"Frame 2Symbol 162 MovieClip
"clock"Frame 2Symbol 165 MovieClip
"main"Symbol 115 MovieClip [fly] Frame 1Symbol 110 MovieClip
"shadow"Symbol 115 MovieClip [fly] Frame 1Symbol 114 MovieClip
"popup"Symbol 161 MovieClip Frame 1Symbol 124 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "swing"
ExportAssets (56)Timeline Frame 1Symbol 2 as "splat"
ExportAssets (56)Timeline Frame 1Symbol 3 as "buzz"
ExportAssets (56)Timeline Frame 1Symbol 11 as "splat4"
ExportAssets (56)Timeline Frame 1Symbol 21 as "splat3"
ExportAssets (56)Timeline Frame 1Symbol 44 as "splat2"
ExportAssets (56)Timeline Frame 1Symbol 81 as "splat1"
ExportAssets (56)Timeline Frame 1Symbol 115 as "fly"

Dynamic Text Variables

statusSymbol 149 EditableText"PRETTY GOOD!"
accuracySymbol 151 EditableText""
swatsSymbol 153 EditableText""
timeSymbol 154 EditableText""
killsSymbol 155 EditableText"10"
timerSymbol 163 EditableText"0.000"




http://swfchan.com/5/24728/info.shtml
Created: 24/5 -2019 14:24:57 Last modified: 24/5 -2019 14:24:57 Server time: 22/12 -2024 21:40:59