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

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

mosquito.swf

This is the info page for
Flash #44706

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


Text
0

ActionScript [AS1/AS2]

Frame 1
function createMosquitos(count) { var i; i = 1; while (count >= i) { _root.attachMovie("mosquito", "mosquito" + i, i); i++; } } function changeCursor(movieclip) { Mouse.hide(); _root.attachMovie(movieclip, "customCursor", 9999); _root.customCursor.startDrag(true); } function calculateRandom(min, max) { return(Math.floor(Math.random() * ((max + 1) - min)) + min); } function playSound(max, x, soundID) { var soundobject; soundobject = new Sound(); soundobject.attachSound(soundID); if (x < 0) { x = 0; } else if (max < x) { x = max; } soundobject.setPan(((x - (max / 2)) * 100) / (max / 2)); soundobject.start(); } fscommand ("fullscreen", true); fscommand ("allowscale", true); fscommand ("showmenu", false); level = 0; hit = 0; score = 0; changeCursor("swatter");
Frame 3
if (hit == level) { if (level < 8) { level++; } hit = 0; createMosquitos(level); } prevFrame(); play();
Symbol 11 MovieClip Frame 6
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Instance of Symbol 13 MovieClip "arm" in Symbol 14 MovieClip [swatter] Frame 1
onClipEvent (mouseDown) { _root.playSound(640, _parent._x, "zish"); gotoAndPlay (2); } onClipEvent (mouseUp) { gotoAndPlay (3); } onClipEvent (mouseMove) { updateAfterEvent(); }
Symbol 23 MovieClip [mosquito] Frame 1
stop();
Instance of Symbol 20 MovieClip "mosquito" in Symbol 23 MovieClip [mosquito] Frame 1
onClipEvent (load) { varName = 5; } onClipEvent (mouseDown) { if (this.hitTest(_root.customCursor.hitarea)) { soundobject.stop(); _root.playSound(640, _parent._x, "splatter"); _root.score++; _parent.gotoAndPlay("hit"); } } onClipEvent (load) { _parent._x = _root.calculateRandom(-1500, -50); _parent._y = _root.calculateRandom(80, 200); scale = 10; _parent._xscale = scale; _parent._yscale = scale; xStep = 12; yStep = 8; soundobject = new Sound(this); soundobject.attachSound("buzz"); soundobject.setPan(-100); soundobject.start(0, 999); } onClipEvent (enterFrame) { _parent._x = _parent._x + xstep; _parent._y = _parent._y + (Math.sin(_parent._x / 100) * ystep); if ((_parent._x < -30) and (xstep < 0)) { xstep = -(xstep - (xstep / 16)); ystep = -(ystep - (ystep / 16)); scale = _parent._yscale + 4; _parent._xscale = scale; _parent._yscale = scale; } else if ((670 < _parent._x) and (0 < xstep)) { xstep = -(xstep - (xstep / 16)); ystep = -(ystep - (ystep / 16)); scale = _parent._yscale + 4; _parent._xscale = -scale; _parent._yscale = scale; } if (_parent._x < 0) { x = 0; } else if (640 < _parent._x) { x = 640; } else { x = _parent._x; } soundobject.setPan(((x - 320) * 100) / 320); }
Symbol 23 MovieClip [mosquito] Frame 16
removeMovieClip(""); _root.hit++;

Library Items

Symbol 1 Sound [zish]
Symbol 2 Sound [splatter]
Symbol 3 Sound [buzz]
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:14
Symbol 6 GraphicUsed by:13
Symbol 7 GraphicUsed by:13
Symbol 8 ShapeTweeningUsed by:11
Symbol 9 ShapeTweeningUsed by:11
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:8 9 10Used by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:6 7 11 12Used by:14
Symbol 14 MovieClip [swatter]Uses:5 13
Symbol 15 GraphicUsed by:20
Symbol 16 GraphicUsed by:18
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:16 17Used by:20
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:15 18 19Used by:23
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:23
Symbol 23 MovieClip [mosquito]Uses:20 22
Symbol 24 FontUsed by:25
Symbol 25 EditableTextUses:24Used by:Timeline

Instance Names

"hitarea"Symbol 14 MovieClip [swatter] Frame 1Symbol 5 MovieClip
"arm"Symbol 14 MovieClip [swatter] Frame 1Symbol 13 MovieClip
"mosquito"Symbol 23 MovieClip [mosquito] Frame 1Symbol 20 MovieClip

Special Tags

EnableDebugger (58)Timeline Frame 131 bytes "..$1$HS$L3aG96L/aSwVqBhr4q7Xu0."
ExportAssets (56)Timeline Frame 1Symbol 1 as "zish"
ExportAssets (56)Timeline Frame 1Symbol 2 as "splatter"
ExportAssets (56)Timeline Frame 1Symbol 3 as "buzz"
ExportAssets (56)Timeline Frame 1Symbol 14 as "swatter"
ExportAssets (56)Timeline Frame 1Symbol 23 as "mosquito"

Labels

"hit"Symbol 23 MovieClip [mosquito] Frame 2

Dynamic Text Variables

scoreSymbol 25 EditableText"0"




http://swfchan.com/9/44706/info.shtml
Created: 6/5 -2019 15:49:44 Last modified: 6/5 -2019 15:49:44 Server time: 13/11 -2024 06:29:12