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

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

-battle of grim island-.swf

This is the info page for
Flash #65439

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { function startTimer(frame) { startTime = getTimer(); timerActive = true; var intervalID = setInterval(function () { if (soundLayer && musicLayer && subEnglish && subGerman && subSwedish && subDanish) { if (soundFx) { soundLayer.gotoAndPlay(frame); } else { soundLayer.gotoAndStop(1); } if (music) { musicLayer.gotoAndPlay(frame); } else { musicLayer.gotoAndStop(1); } subEnglish._visible = subtitles == 0; subGerman._visible = subtitles == 1; subSwedish._visible = subtitles == 2; subDanish._visible = subtitles == 3; subEnglish.gotoAndPlay(frame); subGerman.gotoAndPlay(frame); subSwedish.gotoAndPlay(frame); subDanish.gotoAndPlay(frame); clearInterval(intervalID); } }, 1); } function stopTimer() { timerActive = false; } function pauseTimer() { timerPaused = true; pauseTime = getTimer(); soundLayer.stop(); musicLayer.stop(); subEnglish.stop(); subGerman.stop(); subSwedish.stop(); subDanish.stop(); } function unpauseTimer() { timerPaused = false; removeTime += getTimer() - pauseTime; startTimer(_root._currentframe); } function gotoCobraMilk() { getURL('http://www.cobramilk.com', '_new'); } function gotoMainMenu() { stopAllSounds(); gotoAndStop(1); } function setGraphicQuality(quality) { switch (quality) { case 0: _quality = 'LOW'; break; case 1: _quality = 'MEDIUM'; break; case 2: _quality = 'HIGH'; } } var timerActive = false; var timerPaused = false; var pauseTime = 0; var startTime = 0; var removeTime = 0; onEnterFrame = function () { if (timerActive && !timerPaused) { var v4 = int(((_currentframe - 323) / 18) * 100); if (v4 < 0) { v4 = 0; } var v3 = (int(v4 / 100 / 60)).toString(); var v1 = (int(v4 / 100) % 60).toString(); var v2 = (v4 % 100).toString(); while (v3.length < 2) { v3 = '0' + v3; } while (v1.length < 2) { v1 = '0' + v1; } while (v2.length < 2) { v2 = '0' + v2; } if (timeText) { timeText.text = v3 + ':' + v1 + ':' + v2; } } }; so = SharedObject.getLocal('bogi'); var soundFx; var music; var graphicQuality; var subtitles; if (so.data.soundFx == undefined) { so.data.soundFx = true; soundFx = so.data.soundFx; so.data.music = true; music = so.data.music; so.data.graphicQuality = 1; graphicQuality = 1; so.data.subtitles = 0; subtitles = 0; } else { soundFx = so.data.soundFx; music = so.data.music; graphicQuality = so.data.graphicQuality; subtitles = so.data.subtitles; } setGraphicQuality(graphicQuality); var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); myMenu.customItems.push(new ContextMenuItem('Cobramilk.com', gotoCobraMilk)); myMenu.customItems.push(new ContextMenuItem('Main Menu', gotoMainMenu)); this.menu = myMenu; } movieClip 7 { } button 15 { on (release) { _root.gotoAndStop(3); } } button 18 { on (release) { _root.gotoAndStop(2); } } button 21 { on (release) { getURL('http://www.cobramilk.com', '_new'); } } button 23 { on (release) { getURL('http://www.cafepress.com/grimisland', '_new'); } } button 25 { on (release) { _root.startTimer(1); _root.gotoAndPlay(4); } } movieClip 26 { frame 1 { _root.stop(); stop(); if (!showPercent) { txt.text = ''; } onEnterFrame = function () { var v4 = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (showPercent) { txt.text = v4 + ' %'; } loadingbar.gotoAndStop(v4); if (v4 == 100) { if (autoplay) { this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); _root.play(); } else { gotoAndStop(_currentframe + 1); } } }; } } instance of movieClip 26 { onClipEvent (construct) { autoplay = false; showPercent = true; } } frame 2 { function setupSetup() { soundFx0.gotoAndStop(soundFx ? 2 : 1); soundFx1.gotoAndStop(!soundFx ? 2 : 1); music0.gotoAndStop(music ? 2 : 1); music1.gotoAndStop(!music ? 2 : 1); graphicQuality0.gotoAndStop((graphicQuality == 0) ? 2 : 1); graphicQuality1.gotoAndStop((graphicQuality == 1) ? 2 : 1); graphicQuality2.gotoAndStop((graphicQuality == 2) ? 2 : 1); subtitles0.gotoAndStop((subtitles == 0) ? 2 : 1); subtitles1.gotoAndStop((subtitles == 1) ? 2 : 1); subtitles2.gotoAndStop((subtitles == 2) ? 2 : 1); subtitles3.gotoAndStop((subtitles == 3) ? 2 : 1); subtitles4.gotoAndStop((subtitles == 4) ? 2 : 1); defaultSettings.gotoAndStop((soundFx && music && graphicQuality == 1 && subtitles == 0) ? 2 : 1); setGraphicQuality(graphicQuality); } function changedSetup(setupName, isOn) { switch (setupName) { case 'soundFx0': soundFx = isOn; break; case 'soundFx1': soundFx = !isOn; break; case 'music0': music = isOn; break; case 'music1': music = !isOn; break; case 'graphicQuality0': if (isOn) { graphicQuality = 0; } break; case 'graphicQuality1': if (isOn) { graphicQuality = 1; } break; case 'graphicQuality2': if (isOn) { graphicQuality = 2; } break; case 'subtitles0': if (isOn) { subtitles = 0; } break; case 'subtitles1': if (isOn) { subtitles = 1; } break; case 'subtitles2': if (isOn) { subtitles = 2; } break; case 'subtitles3': if (isOn) { subtitles = 3; } break; case 'subtitles4': if (isOn) { subtitles = 4; } break; case 'defaultSettings': if (isOn) { soundFx = true; music = true; graphicQuality = 1; subtitles = 0; } } if (graphicQuality0._currentframe == 1 && graphicQuality1._currentframe == 1 && graphicQuality2._currentframe == 1) { graphicQuality = lastGraphicQuality; } else { lastGraphicQuality = graphicQuality; } if (subtitles0._currentframe == 1 && subtitles1._currentframe == 1 && subtitles2._currentframe == 1 && subtitles3._currentframe == 1 && subtitles4._currentframe == 1) { subtitles = lastSubtitles; } else { lastSubtitles = subtitles; } if (so.data.soundFx != null && so.data.soundFx != undefined) { so.data.soundFx = soundFx; so.data.music = music; so.data.graphicQuality = graphicQuality; so.data.subtitles = subtitles; } setupSetup(); } stop(); var lastGraphicQuality = graphicQuality; var lastSubtitles = subtitles; setupSetup(); } button 31 { on (release) { gotoAndPlay(3); } } button 33 { on (release) { startTimer(1); _root.gotoAndPlay(5); this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } button 38 { on (release) { gotoAndStop(2); _root.changedSetup(_name, true); } } button 42 { on (release) { gotoAndStop(1); _root.changedSetup(_name, false); } } movieClip 43 { frame 1 { stop(); } } frame 3 { stop(); } button 46 { on (release) { gotoAndPlay(2); } } button 47 { on (release) { startTimer(1); _root.play(); this.swapDepths(_parent.getNextHighestDepth()); this.removeMovieClip(); } } button 52 { on (release) { startTimer(600); gotoAndPlay(603); } } button 56 { on (release) { startTimer(1); gotoAndPlay(4); } } button 58 { on (release) { startTimer(1165); gotoAndPlay(1168); } } button 62 { on (release) { startTimer(1830); gotoAndPlay(1833); } } button 66 { on (release) { startTimer(2285); gotoAndPlay(2288); } } button 70 { on (release) { startTimer(2560); gotoAndPlay(2563); } } button 74 { on (release) { startTimer(3059); gotoAndPlay(3062); } } button 78 { on (release) { startTimer(3658); gotoAndPlay(3661); } } frame 4 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = 'http://' + mbc + '/my/core.swf?mv=7&fv=' + fv + '&v=' + escape(/:$version) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } __com_mochibot__('d91cd641', this, 10301, true); } movieClip 102 { frame 4511 { stop(); } } movieClip 123 { frame 4511 { stop(); } } movieClip 144 { frame 4511 { stop(); } } movieClip 165 { frame 4511 { stop(); } } movieClip 182 { frame 4514 { stop(); } } movieClip 183 { frame 4654 { stop(); } } button 188 { on (release) { _root.stop(); _root.pauseTimer(); gotoAndStop(2); } } button 190 { on (release) { _root.gotoMainMenu(); } } button 193 { on (release) { _root.play(); _root.unpauseTimer(); gotoAndStop(1); } } movieClip 194 { frame 1 { stop(); } } movieClip 195 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 195 { onClipEvent (enterFrame) { var withinDistance = _xmouse * _xmouse + _ymouse * _ymouse < 2500; if (_currentframe == 1 && withinDistance) { play(); } else { if (_currentframe == 10) { if (!withinDistance && !timerPaused) { play(); } } } } } button 1524 { on (release) { getURL('http://www.cobramilk.com', '_new'); } } button 1558 { on (release) { getURL('http://www.cobramilk.com', '_new'); } } button 1564 { on (release) { gotoAndPlay(1); gotoAndPlay(1); } } frame 4514 { stop(); }




http://swfchan.com/14/65439/info.shtml
Created: 12/4 -2019 14:27:01 Last modified: 12/4 -2019 14:27:01 Server time: 02/05 -2024 13:20:04