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

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

Smack Osama Bin Laden!.swf

This is the info page for
Flash #34721

(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 21 MovieClip [mosquito] Frame 1
stop();
Instance of Symbol 17 MovieClip "mosquito" in Symbol 21 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 21 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 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:17
Symbol 17 MovieClipUses:16Used by:21
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClipUses:19Used by:21
Symbol 21 MovieClip [mosquito]Uses:17 20
Symbol 22 FontUsed by:23
Symbol 23 EditableTextUses:22Used by:Timeline

Instance Names

"hitarea"Symbol 14 MovieClip [swatter] Frame 1Symbol 5 MovieClip
"arm"Symbol 14 MovieClip [swatter] Frame 1Symbol 13 MovieClip
"mosquito"Symbol 21 MovieClip [mosquito] Frame 1Symbol 17 MovieClip

Special Tags

EnableDebugger (58)Timeline Frame 131 bytes "..$1$ZM$4dvA61BWpX44x34.d/8UH1."
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 21 as "mosquito"

Labels

"hit"Symbol 21 MovieClip [mosquito] Frame 2

Dynamic Text Variables

scoreSymbol 23 EditableText"0"




http://swfchan.com/7/34721/info.shtml
Created: 16/5 -2019 16:33:35 Last modified: 16/5 -2019 16:33:35 Server time: 05/11 -2024 06:52:59