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/44107189?noj=FRM44107189-15DC" width="1" height="1"></div>

Lunatic.swf

This is the info page for
Flash #25931

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


Text
LOADING

LUNATIC

LUNATIC

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

no
chaeting

DEATH

highest

Score

10000

1000

ActionScript [AS1/AS2]

Frame 1
stop(); playButton._visible = false; Stage.showMenu = false; onEnterFrame = function () { if (_root.getBytesLoaded() == _root.getBytesTotal()) { _root.status.text = "LOADED"; playButton._visible = true; } };
Instance of Symbol 63 MovieClip in Frame 1
/* no clip actions */
Frame 2
function SaveAllData() { trace("Data Saved"); _root.Lunatic.data.dataExists = _root.dataExists; _root.Lunatic.data.highest = _root.highest; _root.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) { trace("Data Declared"); declareAllData(); } else { trace("Data Loaded"); loadAllData(); }
Frame 3
function makeBullet(x, y, speed, rotation, spin, timer, trail) { _root.score++; _root.attachMovie("bullet", "bullet" + bulletCounter, bulletCounter); _root["bullet" + bulletCounter]._x = x; _root["bullet" + bulletCounter]._y = y; _root["bullet" + bulletCounter].speed = speed; _root["bullet" + bulletCounter].rotation = rotation; _root["bullet" + bulletCounter].spin = spin; _root["bullet" + bulletCounter].timer = int(timer); _root["bullet" + bulletCounter].trail = int(trail); bulletCounter++; if (bulletCounter > 5000) { bulletCounter = 1000; } } function randSplode(x, y) { 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(x, y, speed, i, spin, timer, trail); i = i + times; } } function clearAll() { _root.SaveAllData(); score = 0; xScore = 0; i = 1000; while (i <= bulletCounter) { _root["bullet" + i].removeMovieClip(); i++; } } trailCounter = 10000; bulletCounter = 1000; score = 0; xScore = 0; time = 0; _quality = "Medium"; onEnterFrame = function () { if (xScore < score) { xScore++; } if (xScore > highest) { highest = xScore; } if (random(40) == 0) { _root.attachMovie("hotSpot", "bullet" + bulletCounter, bulletCounter); _root["bullet" + bulletCounter]._x = x; _root["bullet" + bulletCounter]._y = y; bulletCounter++; } };
Instance of Symbol 78 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; }
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 9 MovieClip [bullet] Frame 1
oTimer = timer; oTrail = trail; life = 400; onEnterFrame = function () { if (trail > 0) { trail--; if (trail == 1) { _root.attachMovie("trail", "trail" + _root.trailCounter, _root.trailCounter); _root["trail" + _root.trailCounter]._x = this._x; _root["trail" + _root.trailCounter]._y = this._y; _root["trail" + _root.trailCounter]._rotation = this._rotation; _root.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)) { this.removeMovieClip(); } if (this.hitTest(_root.cross._x, _root.cross._y, true)) { _root.death._alpha = 1000; _root.clearAll(); } }; this.onUnload = function () { _root.attachMovie("trail", "trail" + _root.trailCounter, _root.trailCounter); _root["trail" + _root.trailCounter]._x = this._x; _root["trail" + _root.trailCounter]._y = this._y; _root["trail" + _root.trailCounter]._rotation = this._rotation; _root.trailCounter++; };
Symbol 14 MovieClip [hotSpot] Frame 1
_x = random(400); _y = random(300);
Symbol 14 MovieClip [hotSpot] Frame 35
iStart = _root.bulletCounter; _root.randSplode(_x, _y); if (random(2) == 0) { _root.randSplode(_x, _y); } iStop = _root.bulletCounter;
Symbol 14 MovieClip [hotSpot] Frame 48
this.onRollOver = function () { onRollOver = null; i = iStart; while (i < iStop) { _root["bullet" + i].removeMovieClip(); i++; } _root.score = _root.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 26 MovieClip Frame 1
stop(); onEnterFrame = function () { if ((_root.score / 2) > this._currentframe) { this.nextFrame(); } else if (_root.score == 0) { this.gotoAndStop(int(this._currentframe * 0.9)); } };
Symbol 34 Button
on (release) { _root.nextFrame(); }
Symbol 38 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 65 Button
on (release) { _root.gotoAndStop(3); }
Symbol 72 MovieClip Frame 1
_alpha = 0; onEnterFrame = function () { if (_alpha > 0) { _alpha = (_alpha * 0.8); } };
Symbol 76 Button
on (release) { _root.gotoAndStop(2); }
Symbol 78 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 () { if ((music1.getVolume() == 100) && (this["music" + currentSound].position > (this["music" + currentSound].duration - 30))) { this["music" + currentSound].stop(); currentTrack++; if (currentTrack >= songTimeline.length) { currentTrack = 0; } currentSound++; if (currentSound > 2) { currentSound = 1; } this["music" + currentSound].attachSound(songName + songTimeline[currentTrack]); this["music" + currentSound].start(0, 0); } }; this.onUnload = function () { _root.attachMovie("musicFadeOut", "fadeOutMusic", 999999); _root.fadeOutMusic.Mus = new Sound(); _root.fadeOutMusic.Mus.attachSound(this.songName + this.songTimeline[this.currentTrack]); _root.fadeOutMusic.Mus.setVolume(100); _root.fadeOutMusic.songName = this.songName + this.songTimeline[this.currentTrack]; this.pos = this["music" + this.currentSound].position; this["music" + currentSound].stop(songName + songTimeline[currentTrack]); _root.fadeOutMusic.Mus.start(this.pos / 1000, 0); };
Symbol 80 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  Timeline
Symbol 7 MovieClip [trail]Uses:6
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClip [bullet]Uses:8
Symbol 10 ShapeTweeningUsed by:14
Symbol 11 ShapeTweeningUsed by:14
Symbol 12 ShapeTweeningUsed by:14
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [hotSpot]Uses:10 11 12 13
Symbol 15 ShapeTweeningUsed by:26
Symbol 16 GraphicUsed by:26
Symbol 17 ShapeTweeningUsed by:26
Symbol 18 ShapeTweeningUsed by:26
Symbol 19 ShapeTweeningUsed by:26
Symbol 20 ShapeTweeningUsed by:26
Symbol 21 ShapeTweeningUsed by:26
Symbol 22 ShapeTweeningUsed by:26
Symbol 23 ShapeTweeningUsed by:26
Symbol 24 ShapeTweeningUsed by:26
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:15 16 17 18 19 20 21 22 23 24 25Used by:Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 FontUsed by:29 66 67
Symbol 29 EditableTextUses:28Used by:Timeline
Symbol 30 GraphicUsed by:34 65
Symbol 31 GraphicUsed by:34 65
Symbol 32 GraphicUsed by:34 65
Symbol 33 GraphicUsed by:34 65 76
Symbol 34 ButtonUses:30 31 32 33Used by:Timeline
Symbol 35 GraphicUsed by:38
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:38
Symbol 38 MovieClipUses:35 37Used by:Timeline
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:63
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:63
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:63
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:63
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:63
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:63
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:63
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:63
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:63
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:63
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:63
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:63
Symbol 63 MovieClipUses:40 42 44 46 48 50 52 54 56 58 60 62Used by:Timeline
Symbol 64 GraphicUsed by:Timeline
Symbol 65 ButtonUses:30 31 32 33Used by:Timeline
Symbol 66 TextUses:28Used by:Timeline
Symbol 67 TextUses:28Used by:Timeline
Symbol 68 GraphicUsed by:Timeline
Symbol 69 FontUsed by:70 71 79
Symbol 70 TextUses:69Used by:Timeline
Symbol 71 TextUses:69Used by:72
Symbol 72 MovieClipUses:71Used by:Timeline
Symbol 73 GraphicUsed by:76
Symbol 74 GraphicUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 ButtonUses:73 74 75 33Used by:Timeline
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:Timeline
Symbol 79 TextUses:69Used by:80
Symbol 80 MovieClipUses:79Used by:Timeline
Symbol 81 GraphicUsed by:Timeline
Symbol 82 FontUsed by:83 84 85 86
Symbol 83 TextUses:82Used by:Timeline
Symbol 84 TextUses:82Used by:Timeline
Symbol 85 EditableTextUses:82Used by:Timeline
Symbol 86 EditableTextUses:82Used by:Timeline

Instance Names

"status"Frame 1Symbol 29 EditableText
"playButton"Frame 1Symbol 34 Button
"cross"Frame 1Symbol 38 MovieClip
"cheater"Frame 3Symbol 72 MovieClip
"death"Frame 3Symbol 80 MovieClip
"ring"Symbol 38 MovieClip Frame 1Symbol 37 MovieClip
"ring2"Symbol 38 MovieClip Frame 1Symbol 37 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 9 as "bullet"
ExportAssets (56)Timeline Frame 1Symbol 14 as "hotSpot"

Dynamic Text Variables

_root.xScoreSymbol 85 EditableText"10000"
_root.highestSymbol 86 EditableText"1000"




http://swfchan.com/6/25931/info.shtml
Created: 23/5 -2019 06:19:00 Last modified: 23/5 -2019 06:19:00 Server time: 15/11 -2024 02:14:12