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

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

Lunatic.swf

This is the info page for
Flash #31212

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


Text
Loaded

www.GamesOfGondor.com

visit website

www.GamesOfGondor.com

LUNATIC

LUNATIC

Monkokio

BY

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

Games of Gondor

More Games

Games of Gondor

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false;
Frame 2
function SaveAllData() { _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) { declareAllData(); } else { 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 85 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 8 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 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 () { 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 25 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 33 Button
on (release) { _root.nextFrame(); }
Symbol 37 MovieClip Frame 1
_alpha = 0; onEnterFrame = function () { _alpha = (_alpha + 10); };
Symbol 39 Button
on (press) { getURL ("http://www.gamesofgondor.com", "_blank"); }
Symbol 43 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 75 Button
on (release) { _root.gotoAndStop(3); }
Symbol 80 MovieClip Frame 1
_alpha = 0; onEnterFrame = function () { if (_alpha > 0) { _alpha = (_alpha * 0.8); } };
Symbol 84 Button
on (release) { _root.gotoAndStop(2); }
Symbol 85 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 87 MovieClip Frame 1
_alpha = 0; onEnterFrame = function () { if (_alpha > 0) { _alpha = (_alpha * 0.9); } };
Symbol 98 Button
on (press) { getURL ("http://www.gamesofgondor.com", "_blank"); }

Library Items

Symbol 1 Sound [loop3]
Symbol 2 Sound [loop2]
Symbol 3 Sound [loop1]
Symbol 4 GraphicUsed by:5 85
Symbol 5 MovieClip [musicFadeOut]Uses:4
Symbol 6 GraphicUsed by:7 8  Timeline
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 34 36 38 44 45
Symbol 28 TextUses:27Used by:Timeline
Symbol 29 GraphicUsed by:33 75
Symbol 30 GraphicUsed by:33 75
Symbol 31 GraphicUsed by:33 75
Symbol 32 GraphicUsed by:33 75 84
Symbol 33 ButtonUses:29 30 31 32Used by:Timeline
Symbol 34 TextUses:27Used by:39
Symbol 35 GraphicUsed by:37 39
Symbol 36 TextUses:27Used by:37
Symbol 37 MovieClipUses:35 36Used by:39
Symbol 38 TextUses:27Used by:39
Symbol 39 ButtonUses:34 37 38 35Used by:Timeline
Symbol 40 GraphicUsed by:43
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:43
Symbol 43 MovieClipUses:40 42Used by:Timeline
Symbol 44 TextUses:27Used by:Timeline
Symbol 45 TextUses:27Used by:Timeline
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:70
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:70
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:70
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:70
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:70
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:70
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:70
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:70
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:70
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:70
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:70
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:70
Symbol 70 MovieClipUses:47 49 51 53 55 57 59 61 63 65 67 69Used by:Timeline
Symbol 71 FontUsed by:72 73
Symbol 72 TextUses:71Used by:Timeline
Symbol 73 TextUses:71Used by:Timeline
Symbol 74 GraphicUsed by:Timeline
Symbol 75 ButtonUses:29 30 31 32Used by:Timeline
Symbol 76 GraphicUsed by:Timeline
Symbol 77 FontUsed by:78 79 86 94 95 96
Symbol 78 TextUses:77Used by:Timeline
Symbol 79 TextUses:77Used by:80
Symbol 80 MovieClipUses:79Used by:Timeline
Symbol 81 GraphicUsed by:84
Symbol 82 GraphicUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 ButtonUses:81 82 83 32Used by:Timeline
Symbol 85 MovieClipUses:4Used by:Timeline
Symbol 86 TextUses:77Used by:87
Symbol 87 MovieClipUses:86Used by:Timeline
Symbol 88 GraphicUsed by:Timeline
Symbol 89 FontUsed by:90 91 92 93
Symbol 90 TextUses:89Used by:Timeline
Symbol 91 TextUses:89Used by:Timeline
Symbol 92 EditableTextUses:89Used by:Timeline
Symbol 93 EditableTextUses:89Used by:Timeline
Symbol 94 TextUses:77Used by:98
Symbol 95 TextUses:77Used by:98
Symbol 96 TextUses:77Used by:98
Symbol 97 GraphicUsed by:98
Symbol 98 ButtonUses:94 95 96 97Used by:Timeline

Instance Names

"playButton"Frame 1Symbol 33 Button
"cross"Frame 1Symbol 43 MovieClip
"cheater"Frame 3Symbol 80 MovieClip
"death"Frame 3Symbol 87 MovieClip
"ring"Symbol 43 MovieClip Frame 1Symbol 42 MovieClip
"ring2"Symbol 43 MovieClip Frame 1Symbol 42 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 92 EditableText"10000"
_root.highestSymbol 93 EditableText"1000"




http://swfchan.com/7/31212/info.shtml
Created: 18/5 -2019 20:04:19 Last modified: 18/5 -2019 20:04:19 Server time: 13/05 -2024 06:41:00