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

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

Lunatic.swf

This is the info page for
Flash #100354

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


Text
Loaded

LUNATIC

LUNATIC

MonkeyInThePants.com

MonkeyInThePants.com

www.ArmorGames.com

www.ArmorGames.com

www.armorgames.com

Evade the        as long as you can. If
you touch the        you will earn bonus
points and some       will be erased

no
cheating

DEATH

highest

Score

10000

1000

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false;
Frame 2
function SaveAllData() { var _local1 = _root; _local1.Lunatic.data.dataExists = _local1.dataExists; _local1.Lunatic.data.highest = _local1.highest; _local1.Lunatic.flush(); } function declareAllData() { _root.dataExists = true; _root.highest = 0; } function loadAllData() { _root.highest = _root.Lunatic.data.highest; } stop(); clearAll(); onEnterFrame = null; _root.Lunatic = SharedObject.getLocal("lunatic"); _root.dataExists = _root.Lunatic.data.dataExists; if (dataExists != true) { declareAllData(); } else { loadAllData(); }
Frame 3
function makeBullet(x, y, speed, rotation, spin, timer, trail) { var _local1 = _root; _local1.score++; _local1.attachMovie("bullet", "bullet" + bulletCounter, bulletCounter); _local1["bullet" + bulletCounter]._x = x; _local1["bullet" + bulletCounter]._y = y; _local1["bullet" + bulletCounter].speed = speed; _local1["bullet" + bulletCounter].rotation = rotation; _local1["bullet" + bulletCounter].spin = spin; _local1["bullet" + bulletCounter].timer = int(timer); _local1["bullet" + bulletCounter].trail = int(trail); bulletCounter++; if (bulletCounter > 5000) { bulletCounter = 1000; } } function randSplode(x, y) { var _local1 = y; var _local2 = x; times = random(60) + 20; trail = random(20); if (trail <= 5) { trail = 0; } timer = random(100); if (timer < 10) { timer = 0; } spin = random(10); speed = random(5) + 1; i = 0; while (i <= 360) { makeBullet(_local2, _local1, speed, i, spin, timer, trail); i = i + times; } } function clearAll() { var _local1 = _root; _local1.SaveAllData(); score = 0; xScore = 0; i = 1000; while (i <= bulletCounter) { _local1["bullet" + i].removeMovieClip(); i++; } } trailCounter = 10000; bulletCounter = 1000; score = 0; xScore = 0; time = 0; quality = "High"; onEnterFrame = function () { var _local1 = _root; _quality = quality; if (xScore < score) { xScore++; } if (xScore > highest) { highest = xScore; } if (random(40) == 0) { _local1.attachMovie("hotSpot", "bullet" + bulletCounter, bulletCounter); _local1["bullet" + bulletCounter]._x = x; _local1["bullet" + bulletCounter]._y = y; bulletCounter++; } };
Instance of Symbol 68 MovieClip in Frame 3
//component parameters onClipEvent (initialize) { songName = "loop"; songPieces = 2; songTimeline = []; songTimeline[0] = 1; songTimeline[1] = 1; songTimeline[2] = 2; songTimeline[3] = 2; songTimeline[4] = 3; songTimeline[5] = 3; }
Instance of Symbol 77 MovieClip in Frame 3
on (release) { if (_root.quality == "Low") { _root.quality = "High"; } else if (_root.quality == "High") { _root.quality = "Medium"; } else { _root.quality = "Low"; } }
Symbol 5 MovieClip [musicFadeOut] Frame 1
_visible = false; onEnterFrame = function () { if (Mus.getVolume() > 0) { Mus.setVolume(Mus.getVolume() - 10); } else { Mus.stop(songName); Mus.setVolume(100); this.removeMovieClip(); } };
Symbol 7 MovieClip [trail] Frame 1
_alpha = 50; onEnterFrame = function () { _alpha = (_alpha - 5); if (_alpha <= 0) { this.removeMovieClip(); } };
Symbol 8 MovieClip [bullet] Frame 1
oTimer = timer; oTrail = trail; life = 400; onEnterFrame = function () { var _local1 = _root; var _local2 = this; if (trail > 0) { trail--; if (trail == 1) { _local1.attachMovie("trail", "trail" + _local1.trailCounter, _local1.trailCounter); _local1["trail" + _local1.trailCounter]._x = _local2._x; _local1["trail" + _local1.trailCounter]._y = _local2._y; _local1["trail" + _local1.trailCounter]._rotation = _local2._rotation; _local1.trailCounter++; trail = oTrail; } } if (timer > 0) { timer--; if (timer == 1) { spin = spin * -1; timer = oTimer; } } rotation = rotation + spin; _rotation = (-rotation); if (rotation > 360) { rotation = rotation - 360; } else if (rotation < 0) { rotation = rotation + 360; } _x = (_x + (Math.cos((rotation * Math.PI) / 180) * speed)); _y = (_y - (Math.sin((rotation * Math.PI) / 180) * speed)); life--; if (((((_x < -20) || (_x > 420)) || (_y < -20)) || (_y > 320)) || (life <= 0)) { _local2.removeMovieClip(); } if (_local2.hitTest(_local1.cross._x, _local1.cross._y, true)) { _local1.death._alpha = 1000; _local1.clearAll(); } }; this.onUnload = function () { var _local1 = _root; var _local2 = this; _local1.attachMovie("trail", "trail" + _local1.trailCounter, _local1.trailCounter); _local1["trail" + _local1.trailCounter]._x = _local2._x; _local1["trail" + _local1.trailCounter]._y = _local2._y; _local1["trail" + _local1.trailCounter]._rotation = _local2._rotation; _local1.trailCounter++; };
Symbol 13 MovieClip [hotSpot] Frame 1
_x = random(400); _y = random(300);
Symbol 13 MovieClip [hotSpot] Frame 35
iStart = _root.bulletCounter; _root.randSplode(_x, _y); if (random(2) == 0) { _root.randSplode(_x, _y); } iStop = _root.bulletCounter;
Symbol 13 MovieClip [hotSpot] Frame 48
this.onRollOver = function () { var _local1 = _root; onRollOver = null; i = iStart; while (i < iStop) { _local1["bullet" + i].removeMovieClip(); i++; } _local1.score = _local1.score + 10; _alpha = 75; onEnterFrame = function () { _alpha = (_alpha-1); _alpha = (_alpha * 0.85); _xscale = (_xscale * 1.15); _yscale = (_yscale * 1.15); if (_alpha <= 1) { this.removeMovieClip(); } }; };
Symbol 25 MovieClip Frame 1
stop(); onEnterFrame = function () { var _local1 = this; if ((_root.score / 2) > _local1._currentframe) { _local1.nextFrame(); } else if (_root.score == 0) { _local1.gotoAndStop(int(_local1._currentframe * 0.9)); } };
Symbol 33 Button
on (release) { _root.nextFrame(); }
Symbol 37 MovieClip Frame 1
lastX = _x; lastY = _y; onEnterFrame = function () { if ((((_x < -10) || (_x > 410)) || (_y < -10)) || (_y > 310)) { _root.cheater._alpha = 100; _root.clearAll(); } Mouse.hide(); _x = (_x + ((_parent._xmouse - _x) * 0.75)); _y = (_y + ((_parent._ymouse - _y) * 0.75)); ring._x = (lastX - _x) / 2; ring._y = (lastY - _y) / 2; ring2._x = (lastX - _x) / 5; ring2._y = (lastY - _y) / 5; ring._alpha = ring._alpha + ((Math.abs((lastX - _x) + ((lastY - _y) * 5)) - ring._alpha) * 0.25); ring._xscale = (ring._alpha / 3) + 80; ring._yscale = ring._xscale; ring2._alpha = ring2._alpha + ((Math.abs((lastX - _x) + ((lastY - _y) * 10)) - ring2._alpha) * 0.75); lastX = _x; lastY = _y; };
Symbol 46 Button
on (press) { getURL ("http://www.monkeyinthepants.com", "_blank"); }
Symbol 51 Button
on (press) { getURL ("http://www.armorgames.com/index.html", "_blank"); }
Symbol 55 Button
on (release) { _root.gotoAndStop(3); }
Symbol 62 MovieClip Frame 1
_alpha = 0; onEnterFrame = function () { if (_alpha > 0) { _alpha = (_alpha * 0.8); } };
Symbol 66 Button
on (release) { _root.gotoAndStop(2); }
Symbol 68 MovieClip Frame 1
_visible = false; if ((!songTimeline.length) > 0) { songTimeline = new Array(); i = 0; while (i < (songPieces * 8)) { songTimeline[i] = int(i / 8) + 1; i++; } } currentTrack = -1; currentSound = 1; music1 = new Sound(); music2 = new Sound(); onEnterFrame = function () { var _local1 = this; if ((music1.getVolume() == 100) && (_local1["music" + currentSound].position > (_local1["music" + currentSound].duration - 30))) { _local1["music" + currentSound].stop(); currentTrack++; if (currentTrack >= songTimeline.length) { currentTrack = 0; } currentSound++; if (currentSound > 2) { currentSound = 1; } _local1["music" + currentSound].attachSound(songName + songTimeline[currentTrack]); _local1["music" + currentSound].start(0, 0); } }; this.onUnload = function () { var _local1 = this; var _local2 = _root; _local2.attachMovie("musicFadeOut", "fadeOutMusic", 999999); _local2.fadeOutMusic.Mus = new Sound(); _local2.fadeOutMusic.Mus.attachSound(_local1.songName + _local1.songTimeline[_local1.currentTrack]); _local2.fadeOutMusic.Mus.setVolume(100); _local2.fadeOutMusic.songName = _local1.songName + _local1.songTimeline[_local1.currentTrack]; _local1.pos = _local1["music" + _local1.currentSound].position; _local1["music" + currentSound].stop(songName + songTimeline[currentTrack]); _local2.fadeOutMusic.Mus.start(_local1.pos / 1000, 0); };
Symbol 70 MovieClip Frame 1
_alpha = 0; onEnterFrame = function () { if (_alpha > 0) { _alpha = (_alpha * 0.9); } };

Library Items

Symbol 1 Sound [loop3]
Symbol 2 Sound [loop2]
Symbol 3 Sound [loop1]
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [musicFadeOut]Uses:4
Symbol 6 GraphicUsed by:7 8
Symbol 7 MovieClip [trail]Uses:6
Symbol 8 MovieClip [bullet]Uses:6
Symbol 9 ShapeTweeningUsed by:13
Symbol 10 ShapeTweeningUsed by:13
Symbol 11 ShapeTweeningUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [hotSpot]Uses:9 10 11 12
Symbol 14 ShapeTweeningUsed by:25
Symbol 15 GraphicUsed by:25
Symbol 16 ShapeTweeningUsed by:25
Symbol 17 ShapeTweeningUsed by:25
Symbol 18 ShapeTweeningUsed by:25
Symbol 19 ShapeTweeningUsed by:25
Symbol 20 ShapeTweeningUsed by:25
Symbol 21 ShapeTweeningUsed by:25
Symbol 22 ShapeTweeningUsed by:25
Symbol 23 ShapeTweeningUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:14 15 16 17 18 19 20 21 22 23 24Used by:Timeline
Symbol 26 GraphicUsed by:Timeline
Symbol 27 FontUsed by:28 38 39
Symbol 28 TextUses:27Used by:Timeline
Symbol 29 GraphicUsed by:33 55
Symbol 30 GraphicUsed by:33 55
Symbol 31 GraphicUsed by:33 55
Symbol 32 GraphicUsed by:33 55 66
Symbol 33 ButtonUses:29 30 31 32Used by:Timeline
Symbol 34 GraphicUsed by:37
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:37
Symbol 37 MovieClipUses:34 36Used by:Timeline
Symbol 38 TextUses:27Used by:Timeline
Symbol 39 TextUses:27Used by:Timeline
Symbol 40 FontUsed by:41 47 50
Symbol 41 TextUses:40Used by:46
Symbol 42 GraphicUsed by:46
Symbol 43 FontUsed by:44 49
Symbol 44 TextUses:43Used by:46
Symbol 45 GraphicUsed by:46 51
Symbol 46 ButtonUses:41 42 44 45Used by:Timeline
Symbol 47 TextUses:40Used by:51
Symbol 48 GraphicUsed by:51
Symbol 49 TextUses:43Used by:51
Symbol 50 TextUses:40Used by:51
Symbol 51 ButtonUses:47 48 49 50 45Used by:Timeline
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:Timeline
Symbol 54 GraphicUsed by:Timeline
Symbol 55 ButtonUses:29 30 31 32Used by:Timeline
Symbol 56 GraphicUsed by:Timeline
Symbol 57 FontUsed by:58 61 69
Symbol 58 TextUses:57Used by:Timeline
Symbol 59 GraphicUsed by:Timeline
Symbol 60 GraphicUsed by:Timeline
Symbol 61 TextUses:57Used by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 GraphicUsed by:66
Symbol 64 GraphicUsed by:66
Symbol 65 GraphicUsed by:66
Symbol 66 ButtonUses:63 64 65 32Used by:Timeline
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:Timeline
Symbol 69 TextUses:57Used by:70
Symbol 70 MovieClipUses:69Used by:Timeline
Symbol 71 FontUsed by:72 73 74 75
Symbol 72 TextUses:71Used by:Timeline
Symbol 73 TextUses:71Used by:Timeline
Symbol 74 EditableTextUses:71Used by:Timeline
Symbol 75 EditableTextUses:71Used by:Timeline
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:Timeline

Instance Names

"playButton"Frame 1Symbol 33 Button
"cross"Frame 1Symbol 37 MovieClip
"cheater"Frame 3Symbol 62 MovieClip
"death"Frame 3Symbol 70 MovieClip
"ring"Symbol 37 MovieClip Frame 1Symbol 36 MovieClip
"ring2"Symbol 37 MovieClip Frame 1Symbol 36 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "loop3"
ExportAssets (56)Timeline Frame 1Symbol 2 as "loop2"
ExportAssets (56)Timeline Frame 1Symbol 3 as "loop1"
ExportAssets (56)Timeline Frame 1Symbol 5 as "musicFadeOut"
ExportAssets (56)Timeline Frame 1Symbol 7 as "trail"
ExportAssets (56)Timeline Frame 1Symbol 8 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 13 as "hotSpot"

Dynamic Text Variables

_root.xScoreSymbol 74 EditableText"10000"
_root.highestSymbol 75 EditableText"1000"




http://swfchan.com/21/100354/info.shtml
Created: 21/3 -2019 09:19:24 Last modified: 21/3 -2019 09:19:24 Server time: 14/11 -2024 06:25:22