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

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

442261_portal07c4.swf

This is the info page for
Flash #210709

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { function dpweb() { getURL('http://www.dissoluteproductions.com/', '_blank'); } function agweb() { getURL('http://www.armorgames.com/', '_blank'); } _root.kongregateServices.connect(); stop(); System.security.allowDomain('server.cpmstar.com'); var so = SharedObject.getLocal('epsilon_so', '/'); MENU = new ContextMenu(); MENU.hideBuiltInItems(); f1 = new ContextMenuItem('© Dissolute Productions', dpweb); f2 = new ContextMenuItem('Armor Games', agweb); MENU.customItems.push(f1); MENU.customItems.push(f2); _root.menu = MENU; _root.currentv = 9; _root.adBox.nextFrame(); } movieClip 5 { } // unknown tag 88 length 66 movieClip 22 { } movieClip 26 { } movieClip 27 { } button 29 { on (release) { getURL('http://www.armorgames.com', '_blank'); } } movieClip 30 { frame 1 { stop(); } } movieClip 31 { frame 1 { stop(); } } movieClip 32 { frame 1 { stop(); } frame 2 { if (_root.urlMatch) { adBox.nextFrame(); } else { _root.adsOk = true; var CPMStarPoolID = 1052; var CPMStarSubPoolID = 16; var mcLoader = new MovieClipLoader(); var listener = new Object(); listener.onLoadError = function () { adBox.nextFrame(); }; mcLoader.addListener(listener); mcLoader.loadClip('http://server.cpmstar.com/adviewas2.swf?poolid=' + CPMStarPoolID + '&subpoolid=' + CPMStarSubPoolID, adBox); } _root.play(); stop(); } } movieClip 33 { frame 1 { 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__('80938736', this, 10301, true); } } movieClip 36 { } movieClip 37 { frame 15 { gotoAndPlay(1); } } movieClip 41 { } movieClip 43 { } // unknown tag 88 length 156 movieClip 50 { frame 1 { txt.htmlText = 'This version: <b>' + _root.currentv + '</b> Latest version: <b>' + _root.latestv; } } movieClip 53 { frame 1 { stop(); if (!(Stage.width == 800 and Stage.height == 600)) { gotoAndStop('d'); } lv = new LoadVars(); lv.load('http://www.dissoluteproductions.com/ep_version.txt'); lv.onLoad = function (success) { if (success) { _root.latestv = this.v; if (_root.latestv > _root.currentv) { gotoAndStop('v'); } } else { _root.latestv = _root.currentv; } }; } } movieClip 54 { frame 1 { stop(); } } // unknown tag 88 length 65 // unknown tag 88 length 67 button 61 { on (press) { getURL('http://www.dissoluteproductions.com/', '_blank'); } } movieClip 63 { } movieClip 65 { } movieClip 67 { } movieClip 70 { } movieClip 73 { frame 1 { stop(); onEnterFrame = function () { _alpha = 80 + random(20); _root.pl = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; _parent.b._xscale = _root.pl; kb = Math.round(_root.getBytesTotal() / 1024); kbl = Math.round(_root.getBytesLoaded() / 1024); _root.loadedtxt = kbl + '/' + kb + ' KB'; if (_root.getBytesLoaded() == _root.getBytesTotal()) { delete onEnterFrame; play(); _parent.play(); } }; } frame 12 { stop(); } } movieClip 77 { } button 78 { on (press) { _quality = 'medium'; if (_root.so.data.stages != undefined) { _root.gotoAndPlay('menu'); } else { _root.attachMovie('intro music', 'im', _root.getNextHighestDepth()); _root.attachMovie('loader zoom', 'lz', _root.getNextHighestDepth()); _root.attachMovie('loader black', 'lb', _root.getNextHighestDepth()); } } } movieClip 79 { frame 1 { stop(); } frame 2 { stop(); } } // unknown tag 88 length 65 movieClip 85 { frame 1 { onEnterFrame = function () { if (random(20) == 1) { z = this.attachMovie('mg', 'mg' + this.getNextHighestDepth(), this.getNextHighestDepth()); z._x = random(800); } }; } } movieClip 86 { } instance of movieClip 86 { onClipEvent (press) { getURL('http://armorgames.com/play/1642/epsilon', '_blank'); } } movieClip 90 mg { frame 70 { this.removeMovieClip(); } } instance of movieClip 90 mg { onClipEvent (load) { this.unloadMovie(); } } frame 3 { stop(); } movieClip 93 { } movieClip 94 { instance of movieClip 93 { onClipEvent (enterFrame) { _rotation = _rotation + 20; } } } movieClip 96 ball freeze { frame 4 { stop(); onEnterFrame = function () { if (!Key.isDown(32) or _root.paused or _root.tr or _root.go) { play(); } _rotation = _rotation + 5; }; } frame 7 { this.removeMovieClip(); } } movieClip 98 { frame 1 { r = (random(5) + 2) * (random(2) * 2 - 1); if (!p) { onEnterFrame = function () { if (_root.started and !_root.paused) { if (random(20) == 1) { r = (random(5) + 2) * (random(2) * 2 - 1); } _rotation = _rotation + r; } }; } } } movieClip 100 { } movieClip 103 { frame 1 { if (_parent._parent._xscale == -100) { t._xscale = _parent._parent._xscale; t._x += t._width - 3; d = _parent._parent._x - (_width / 2 + _parent._x); if (d < 0) { _x = _x + d; } } else { d = _parent._parent._x + (_width / 2 + _parent._x); if (d > _root.all.r1.frame._width) { _x = _x - (d - _root.all.r1.frame._width); } } } } movieClip 104 { frame 1 { if (_parent.r) { gotoAndStop('end'); } if (_root.level > 6) { stop(); } } frame 206 { stop(); if (_parent.r != true) { _root.all.r1.p1.play(); _root.all.r1.p2.play(); } } } movieClip 106 { } movieClip 107 { instance of movieClip 106 { onClipEvent (enterFrame) { if (!_root.paused) { _rotation = _rotation + 20; } } } } movieClip 109 { frame 1 { _visible = false; } } movieClip 110 ball highlight { frame 1 { _x = Math.round(_x); _y = Math.round(_y); } frame 1 { stop(); if (_x > _parent._width / 2) { _xscale = -100; } } instance of movieClip 109 { onClipEvent (enterFrame) { if (!_root.paused) { _parent._alpha = random(30) + 70; if (Key.isDown(32) and _root.started) { _root.released = true; _parent.play(); } } } } frame 2 { if (_root.all.r1.p1._currentframe > 1) { _root.all.r1.p1.play(); _root.all.r1.p2.play(); } } frame 21 { stop(); } frame 22 { _root.trSnd.stop(); } instance of movieClip 100 { onClipEvent (press) { _root.released = true; } } frame 41 { r = true; } } movieClip 111 { } movieClip 112 copy room { frame 1 { _alpha = _root.so.data.gra; bg.attachBitmap(_root.bm, 100); frame._width = bg._width; frame._height = bg._height; if (this.hitTest(_parent._xmouse, _parent._ymouse) and _root.so.data.gc and !_root.tr and !_root.paused) { c = _root.all.r1.gc2; c._visible = true; c._rotation = -_rotation; c._x = _xmouse; c._y = _ymouse; if (!_root.comz.hitTest(_root._xmouse, _root._ymouse, true)) { Mouse.hide(); } } if (_root.frameEnable) { f = _root.all.r1.frame; c = new Object({'x': _root.all.r1._x + f._width / 2, 'y': _root.all.r1._y + f._height / 2}); p1 = new Object({'x': 0, 'y': 0}); p2 = new Object({'x': f._width, 'y': 0}); p3 = new Object({'x': f._width, 'y': f._height}); p4 = new Object({'x': 0, 'y': f._height}); this.localToGlobal(p1); this.localToGlobal(p2); this.localToGlobal(p3); this.localToGlobal(p4); _root.frame.moveTo(p1.x, p1.y); _root.frame.lineTo(p1.x - (c.x - p1.x) / _root.s, p1.y - (c.y - p1.y) / _root.s); _root.frame.lineTo(p2.x - (c.x - p2.x) / _root.s, p2.y - (c.y - p2.y) / _root.s); _root.frame.lineTo(p2.x, p2.y); _root.frame.moveTo(p2.x - (c.x - p2.x) / _root.s, p2.y - (c.y - p2.y) / _root.s); _root.frame.lineTo(p3.x - (c.x - p3.x) / _root.s, p3.y - (c.y - p3.y) / _root.s); _root.frame.lineTo(p3.x, p3.y); _root.frame.moveTo(p3.x - (c.x - p3.x) / _root.s, p3.y - (c.y - p3.y) / _root.s); _root.frame.lineTo(p4.x - (c.x - p4.x) / _root.s, p4.y - (c.y - p4.y) / _root.s); _root.frame.lineTo(p4.x, p4.y); _root.frame.moveTo(p4.x - (c.x - p4.x) / _root.s, p4.y - (c.y - p4.y) / _root.s); _root.frame.lineTo(p1.x - (c.x - p1.x) / _root.s, p1.y - (c.y - p1.y) / _root.s); } } frame 4 { if (_root.level < 5) { Mouse.show(); } this.removeMovieClip(); } } movieClip 115 { } movieClip 116 { frame 1 { } frame 2 { stop(); } } movieClip 117 cursor { frame 1 { stop(); onEnterFrame = function () { c._visible = true; _x = _root.all.r1.b.parray[_root.all.r1.b.i - 1].xmouse; _y = _root.all.r1.b.parray[_root.all.r1.b.i - 1].ymouse; }; } frame 2 { stop(); delete onEnterFrame; onEnterFrame = function () { _x = _x + (_root._xmouse - _x) / 2; _y = _y + (_root._ymouse - _y) / 2; if (Math.sqrt((_root._xmouse - _x) * (_root._xmouse - _x) + (_root._ymouse - _y) * (_root._ymouse - _y)) < 5) { Mouse.show(); this.removeMovieClip(); } }; } } movieClip 119 { frame 1 { stop(); } } // unknown tag 88 length 65 movieClip 122 { } movieClip 123 { frame 53 { stop(); } } // unknown tag 88 length 65 // unknown tag 88 length 80 movieClip 130 { } movieClip 131 { frame 1 { z.attachBitmap(_root.bm, 1, 'auto', true); z._x = -_root.bm.width / 2; z._y = -_root.bm.height / 2; _yscale = 120; _xscale = 120; } } movieClip 133 { frame 2 { stop(); } } movieClip 136 { } movieClip 137 { instance of movieClip 136 { onClipEvent (load) { i = 2; } onClipEvent (enterFrame) { i += 0.1; _rotation = _rotation + i; } } } movieClip 139 { } movieClip 141 { } movieClip 142 { frame 1 { function f(t) { with (t) { i += 0.05; _x += Math.sin(i * xr) * 5; _y += Math.cos(i * yr) * 5; } } } instance of movieClip 133 { onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { _visible = random(10) == 1; _rotation = random(360); } } instance end of movieClip 137 { onClipEvent (enterFrame) { _width = _width * 1.01; _height = _height * 1.01; } } instance t1 of movieClip 139 { onClipEvent (load) { i = 0; xr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); yr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); } onClipEvent (enterFrame) { _parent.f(this); } } instance t3 of movieClip 139 { onClipEvent (load) { i = 0; xr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); yr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); } onClipEvent (enterFrame) { _parent.f(this); } } instance t2 of movieClip 139 { onClipEvent (load) { i = 0; xr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); yr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); } onClipEvent (enterFrame) { _parent.f(this); } } instance t0 of movieClip 139 { onClipEvent (load) { i = 0; xr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); yr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); } onClipEvent (enterFrame) { _parent.f(this); } } instance of movieClip 141 { onClipEvent (load) { i = 0; xr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); yr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); } onClipEvent (enterFrame) { _parent.f(this); } } instance of movieClip 141 { onClipEvent (load) { i = 0; xr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); yr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); } onClipEvent (enterFrame) { _parent.f(this); } } instance t3 of movieClip 139 { onClipEvent (load) { i = 0; xr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); yr = (random(2) * 2 - 1) * (Math.random() * 2 + 1); } onClipEvent (enterFrame) { _parent.f(this); } } } movieClip 143 { instance of movieClip 142 { } } // unknown tag 88 length 80 movieClip 150 { } movieClip 151 { frame 1 { txt = ''; i = 0; this.createEmptyMovieClip('sclip', this.getNextHighestDepth()); snd = new Sound(sclip); snd.attachSound('text scroll'); snd.setVolume(0); _root.music = new Sound(_root); _root.music.attachSound('ending music'); _root.musicloop = new Sound(_root); _root.musicloop.attachSound('ending music loop'); s = 4; p = true; onEnterFrame = function () { if (i <= length(txt) or i > length(txt) + s) { snd.setVolume(200); t.htmlText = txt.substr(0, i) + '<font color=\'#AAAAAA\'>' + txt.substr(i, s / 2) + '</font><font color=\'#555555\'>' + txt.substr(i + s / 2, s / 2) + '_</font>'; i += s; stop(); } else { snd.setVolume(0); t.htmlText = txt + _; if (p) { play(); } else { snd.stop(); } } if (timer != undefined and getTimer() - timer > 3500) { _parent.play(); } }; } frame 3 { snd.start(0, 999); } frame 60 { txt = '>/# lct bckup <*>'; } frame 96 { txt += '\r> scanning hosts . . .'; } frame 124 { txt += '\r> primary node located'; } frame 132 { txt += '\r> gathering blocks . . .'; } frame 139 { txt += '\r> #block 6'; } frame 140 { txt += '\r> #block 10'; } frame 141 { txt += '\r> #block 12'; } frame 142 { txt += '\r> #block 14'; } frame 143 { txt += '\r> #block 18'; } frame 144 { txt += '\r> #block 24'; } frame 145 { txt += '\r> #block 28'; } frame 146 { txt += '\r> #block 35'; } frame 147 { txt += '\r> compiling . . .'; } frame 163 { i = 0; txt = '> System backup restored'; } frame 201 { i = 0; txt = '> Requesting participant status...'; } frame 270 { i = 0; txt = '> Requesting participant status...'; } frame 341 { i = 0; txt = '> Requesting participant status...'; } frame 411 { i = 0; txt = '> . . . participant not found'; } frame 461 { i = 0; txt = '<p align=\'center\'>########## TEST COMPLETED ##########</p>'; _root.music.setVolume(100); _root.music.start(); _root.music.onSoundComplete = function () { _root.musicloop.start(0, 999); }; timer = getTimer(); } frame 483 { txt += '\r\r> Closing participant file...'; } frame 495 { txt += '\r> Finalizing...'; } frame 504 { txt += '\r> Preparing phase 2...'; stop(); p = false; } } button 162 { on (press) { _root.complete.removeMovieClip(); } } movieClip 163 { frame 70 { stop(); } } movieClip 164 { frame 1 { gotoAndStop(_parent.id); } frame 6 { _parent.end = true; } } movieClip 165 { frame 1 { _parent.stop(); } frame 15 { if (end) { stop(); } } frame 120 { stop(); _parent.play(); } } movieClip 166 { frame 1 { function txt(t, targ) { with (targ) { i = 0; while (i <= length(t)) { z = this.attachMovie('dp letter', 'dpl' + i, this.getNextHighestDepth()); z._x = (i == 0) ? -(length(t) / 2) * (z._width + 2) : this['dpl' + (i - 1)]._x + this['dpl' + (i - 1)]._width + 2; z.gotoAndPlay(random(10) + 1); z.letter = t.charAt(i); ++i; } } } txt('dissolute productions', this); } instance of movieClip 165 { onClipEvent (load) { id = 1; } } frame 10 { txt('armor games', this); } instance of movieClip 165 { onClipEvent (load) { id = 2; } } frame 20 { txt('eon', this); } instance of movieClip 165 { onClipEvent (load) { id = 3; } } instance of movieClip 165 { onClipEvent (load) { id = 4; } } instance of movieClip 165 { onClipEvent (load) { id = 5; } } instance of movieClip 165 { onClipEvent (load) { id = 6; } } } movieClip 167 complete { frame 1 { onUnload = function () { stopAllSounds(); _root.gotoAndPlay('menu'); }; } frame 1 { _quality = 'medium'; z = this.createEmptyMovieClip('z', w.getDepth() - 1); z._x = 400; z._y = 300; zz = z.createEmptyMovieClip('z', z.getNextHighestDepth()); zz._x = -400; zz._y = -300; bm = new flash.display.BitmapData(Stage.width, Stage.height, false, 0); bm.draw(_root); _root.all.gotoAndStop(2); zz.attachBitmap(bm, 100); var filter = new flash.filters.BlurFilter(12, 12); _root.kongregateStats.submit('moduleComplete5', 1); if ((getTimer() - _root.timer) / 1000 < _root.so.data.stagesc[_root.levels[_root.level].module] or _root.so.data.stagesc[_root.levels[_root.level].module] == 'N/A') { _root.so.data.stagesc[_root.levels[_root.level].module] = (getTimer() - _root.timer) / 1000; _root.kongregateStats.submit('moduleTime5', Math.round((getTimer() - _root.timer) / 1000)); } } instance of movieClip 123 { onClipEvent (press) { _parent.removeMovieClip(); } onClipEvent (load) { if (_root.so.data.ending != true) { _root.so.data.ending = true; this.unloadMovie(); } } } frame 2 { _root.frame2.clear(); } frame 92 { stop(); i = 12; c = 0; this.createEmptyMovieClip('sc', this.getNextHighestDepth()); s = new Sound(sc); s.attachSound('go2'); this.createEmptyMovieClip('sc2', this.getNextHighestDepth()); s2 = new Sound(sc2); s2.attachSound('ending 1'); s2.start(); t._visible = true; asd = true; sdf = true; x1 = txt._x; y1 = txt._y; t = getTimer(); chars = ['$', '%', '!', '#', '.', '...', '_', '__', '___', '____', '>', '<', '-', '----', '. . .', '[', ']', 'error', 'abort', 'override', 'system', '\n', '\n', '\n', '\n', ' ', ' ', ' ', ' ']; onEnterFrame = function () { if (getTimer() - t > 6400 and sdf) { sdf = false; play(); } ++c; if (random(2) == 1) { txt._x = x1 + (random(12 - i) - (12 - i) / 2) * 2; txt._y = y1 + (random(12 - i) - (12 - i) / 2) * 2; } if (c >= i) { c = 0; if (i > 1) { i -= i / 25; } } if (random(i) == 1 or asd) { asd = false; txt.text = ''; x = 0; while (x <= 100) { txt.text += chars[random(chars.length)]; ++x; } s.stop(); s.start(random(s.duration) / 1000, 999); z._yscale = random(50) + 100; z._xscale = z._yscale; w._alpha = 100 - 100 * (i / 60); w.gotoAndPlay(2); bm.applyFilter(bm, bm.rectangle, new Point(0, 0), filter); zz.attachBitmap(bm, 100); } }; } frame 143 { delete onEnterFrame; s.stop(); z.unloadMovie(); _root.comz.unloadMovie(); } frame 175 { _root.bm = new flash.display.BitmapData(500, 500, true, 0); _quality = 'medium'; } instance a of movieClip 143 { onClipEvent (load) { } onClipEvent (enterFrame) { _root.bm.draw(this); } } frame 501 { stop(); _quality = 'high'; } instance of movieClip 151 { onClipEvent (enterFrame) { _ = getTimer() % 1000 > 500 ? '_' : ''; } } frame 556 { stop(); } } movieClip 169 { frame 1 { } } movieClip 170 dp letter { frame 124 { this.removeMovieClip(); } } movieClip 172 { } movieClip 173 end portal particle { frame 1 { _rotation = random(360); _yscale = random(50) + 50; _xscale = random(50) + 50; _alpha = random(50) + 50; } frame 48 { this.removeMovieClip(); } } movieClip 174 end zoom { frame 1 { var p = {'x': _root.all.r1.end._x, 'y': _root.all.r1.end._y}; _root.all.r1.localToGlobal(p); _x = p.x; _y = p.y; z = this.createEmptyMovieClip('z', this.getNextHighestDepth()); z._x = -p.x; z._y = -p.y; bm = new flash.display.BitmapData(Stage.width, Stage.height, false, 0); _root.comz.gotoAndStop(1); bm.draw(_root); _root.comz._visible = false; z.attachBitmap(bm, 100); _root.all.r1.unloadMovie(); var filter = new flash.filters.BlurFilter(5, 5); i = 0; onEnterFrame = function () { ++i; bm.applyFilter(bm, bm.rectangle, new Point(0, 0), filter); z.attachBitmap(bm, 100); _x = _x + (Stage.width / 2 - _x) / 10; _y = _y + (Stage.height / 2 - _y) / 10; _xscale = _xscale + Math.pow(i, 5) / 1000; _yscale = _yscale + Math.pow(i, 5) / 1000; _rotation = _rotation + Math.pow(i, 5) / 10000; if (_xscale > 2000) { _root.comz._visible = true; this.removeMovieClip(); } }; } } movieClip 178 ep last lines { frame 1 { _rotation = random(360); r = Math.random() * (2 * random(2) - 1); onEnterFrame = function () { if (_root.paused) { stop(); } else { play(); _rotation = _rotation + r * (_root.tr ? -10 : 1); } }; } frame 50 { this.removeMovieClip(); } } movieClip 182 ep last lines2 { frame 1 { _rotation = random(360); r = 5 + Math.random() * 5; onEnterFrame = function () { if (_root.paused) { stop(); } else { play(); _rotation = _rotation + r * (_root.tr ? -1 : 1); } }; } frame 50 { this.removeMovieClip(); } } movieClip 184 { } movieClip 185 target swirl { frame 1 { onEnterFrame = function () { if (_root.paused) { stop(); } else { if (_root.tr) { prevFrame(); if (_currentframe == 1) { this.removeMovieClip(); } } else { play(); } } }; } frame 17 { if (!_root.tr) { this.removeMovieClip(); } } } movieClip 186 explosion { frame 1 { x = (random(20) + 20) * (random(2) * 2 - 1); y = random(20) * (random(2) * 2 - 1); x1 = _root.all._x; y1 = _root.all._y; _root.all._x -= x; _root.all._y -= y; } frame 2 { _root.all._x += x; _root.all._y += y; x /= 1.5; y /= 1.5; _root.all._x += x; _root.all._y += y; if (Math.abs(x) < 0.1 and Math.abs(y) < 0.1) { _root.all._x = x1; _root.all._y = y1; this.removeMovieClip(); } } frame 3 { _root.all._x -= x; _root.all._y -= y; x /= 1.5; y /= 1.5; _root.all._x -= x; _root.all._y -= y; } frame 4 { gotoAndPlay(2); } } movieClip 188 fl { frame 1 { x = _root.all.r1._x + _root.all.r1.frame._width / 2 - _x; y = _root.all.r1._y + _root.all.r1.frame._height / 2 - _y; _width = Math.sqrt(x * x + y * y) / 10; _rotation = Math.atan2(y, x) * 180 / Math.PI; } frame 2 { this.removeMovieClip(); } } movieClip 192 go { frame 1 { _root.go = true; z = this.createEmptyMovieClip('z', w.getDepth() - 1); z._x = 400; z._y = 300; zz = z.createEmptyMovieClip('z', z.getNextHighestDepth()); zz._x = -400; zz._y = -300; bm = new flash.display.BitmapData(Stage.width, Stage.height, false, 0); bm.draw(_root); _root.all.gotoAndStop(2); zz.attachBitmap(bm, 100); var filter = new flash.filters.BlurFilter(12, 12); } frame 75 { stop(); i = 10; s = new Sound(this); s.attachSound('go dist'); t._visible = true; asd = true; onEnterFrame = function () { if (random(i) <= 1 or asd) { asd = false; s.stop(); s.start(random(s.duration) / 1000, 999); z._yscale = random(50) + 100; z._xscale = z._yscale; --i; w._alpha = 100 - 100 * (i / 60); w.gotoAndPlay(2); bm.applyFilter(bm, bm.rectangle, new Point(0, 0), filter); zz.attachBitmap(bm, 100); } if (i == 0) { delete onEnterFrame; s.stop(); s.attachSound('go end'); s.start(0, 0); play(); } }; } frame 95 { _root.all.gotoAndStop(1); this.removeMovieClip(); } } movieClip 196 grav particle { frame 25 { this.removeMovieClip(); } } movieClip 197 { } movieClip 198 grav shift { frame 1 { bm = new flash.display.BitmapData(_root.all.r1.frame._width, _root.all.r1.frame._height, false, 0); bm.draw(_root.all.r1); z._x = _root.all._x + _root.all.r1._x; z._y = _root.all._y + _root.all.r1._y; z.attachBitmap(bm, 100); var filter = new flash.filters.BlurFilter(5, 5); i = 4; d = 20; x = z._x; y = z._y; w = z._width; h = z._height; z._alpha = 80; onEnterFrame = function () { bm.applyFilter(bm, bm.rectangle, new Point(0, 0), filter); z.attachBitmap(bm, 100); if (zoom) { z._xscale += i / 3; z._yscale += i / 3; z._x = x - (z._width - w) / 2; z._y = y - (z._height - h) / 2; } else { if (GT) { d -= 2; z._x = x + (random(d) + 1) * (random(2) * 2 - 1); z._y = y + (random(d) + 1) * (random(2) * 2 - 1); } else { if (r == 0) { z._y += i; } else { if (r == 90) { z._x -= i; } else { if (r == 180) { z._y -= i; } else { if (r == -90) { z._x += i; } } } } } } z._alpha -= 5; if (z._alpha <= 0) { this.removeMovieClip(); } i *= 0.9; }; } } movieClip 201 intro music { frame 645 { _root.play(); } frame 650 { this.removeMovieClip(); } } movieClip 204 { frame 40 { stop(); } } movieClip 205 loader black { } movieClip 208 el { } movieClip 212 { frame 23 { _root.play(); } frame 44 { _parent.unloadMovie(); } } movieClip 213 loader white { } movieClip 214 loader zoom { frame 1 { _root.adBox.unloadMovie(); } frame 2 { stop(); var p = {'x': 400, 'y': 300}; _root.all.r1.localToGlobal(p); _x = p.x; _y = p.y; z = this.createEmptyMovieClip('z', this.getNextHighestDepth()); z._x = -p.x; z._y = -p.y; bm = new flash.display.BitmapData(Stage.width, Stage.height, false, 0); bm.draw(_root); _root.nextFrame(); z.attachBitmap(bm, 100); _root.all.r1.unloadMovie(); var filter = new flash.filters.BlurFilter(2, 2); i = 0; onEnterFrame = function () { i += 0.5; if (i > 5) { bm.applyFilter(bm, bm.rectangle, new Point(0, 0), filter); } z.attachBitmap(bm, 100); _xscale = _xscale + Math.pow(i, 4) / 1500; _yscale = _yscale + Math.pow(i, 4) / 1500; if (_xscale > 1000) { _root.play(); } }; } } movieClip 216 star { frame 1 { d1 = random(300) + 100; _rotation = r; _x = Math.sin((r / 180) * Math.PI) * d1; _y = -Math.cos((r / 180) * Math.PI) * d1; while (_x > 400 or _x < -400 or _y > 300 or _y < -300) { d1 = random(300) + 100; _rotation = r; _x = Math.sin((r / 180) * Math.PI) * d1; _y = -Math.cos((r / 180) * Math.PI) * d1; } _height = 0; _width = 0; d = 0; i = 0; onEnterFrame = function () { _alpha = d * 2; ++d; _yscale = d / (1 + d1 / 100); _xscale = d / (1 + d1 / 100); _x = _x + Math.sin((r / 180) * Math.PI) * d / 4 / (1 + d1 / 200); _y = _y - Math.cos((r / 180) * Math.PI) * d / 4 / (1 + d1 / 200); if (_x > 450 or _x < -450 or _y > 350 or _y < -350) { this.removeMovieClip(); } }; } } movieClip 219 star trail { frame 10 { this.removeMovieClip(); } } movieClip 234 { frame 1 { gotoAndStop(_root.tcount); } } movieClip 235 text float { frame 19 { onEnterFrame = function () { _xscale = _xscale - 0.1; _yscale = _yscale - 0.1; }; } frame 74 { this.removeMovieClip(); } } movieClip 236 text fly { frame 2 { i = 1; if (_root.tcount > 5) { y = 10 * (random(2) * 2 - 1); x = (Math.random() + 1) * (random(2) * 2 - 1); z = true; } onEnterFrame = function () { v = Math.pow(i, i) / 20; _xscale = _xscale + v; _yscale = _yscale + v; if (z) { _y = _y + v / y; _x = _x + v / x; } i += z ? 0.08 : 0.04; _alpha = i * 100; if (_xscale > 35000) { this.removeMovieClip(); this.unloadMovie(); } }; } frame 45 { if (t == 4) { _root.attachMovie('el', 'el', this.getDepth() - 1); _root.el._width = _width; _root.el._height = _height; _root.el._x = _x; _root.el._y = _y; } } frame 85 { stop(); } } movieClip 238 { frame 20 { stop(); } } movieClip 239 menu white { } movieClip 240 menu zoom { frame 1 { var p = {'x': 400, 'y': 100}; _root.all.r1.localToGlobal(p); _x = p.x; _y = p.y; z = this.createEmptyMovieClip('z', this.getNextHighestDepth()); z._x = -p.x; z._y = -p.y; bm = new flash.display.BitmapData(Stage.width, Stage.height, false, 0); bm.draw(_root); z.attachBitmap(bm, 100); _root.all.r1.unloadMovie(); var filter = new flash.filters.BlurFilter(5, 5); i = 0; onEnterFrame = function () { ++i; if (i > 5) { bm.applyFilter(bm, bm.rectangle, new Point(0, 0), filter); } z.attachBitmap(bm, 100); _xscale = _xscale + Math.pow(i, 4) / 1500; _yscale = _yscale + Math.pow(i, 4) / 1500; if (_xscale > 2000) { _root.play(); this.removeMovieClip(); } }; } } movieClip 241 menu loop clip { frame 1 { function fade() { clearInterval(interval); onEnterFrame = function () { menuLoop.setVolume(menuLoop.getVolume() - 0.1); if (menuLoop.getVolume() == 70) { delete onEnterFrame; } }; } menuLoop = new Sound(this); menuLoop.attachSound('menu loop'); menuLoop.start(0, 999); interval = setInterval(fade, 1800); } } movieClip 242 loops { frame 2 { function fadeIn() { if (i != undefined) { } else { i = 0; } i++; if (i >= _root.so.data.vol) { i = _root._root.so.data.vol; delete onEnterFrame; } s.setVolume(i); } function p() { s.stop(); s.attachSound(_root.music); s.start(0, 999); onUnload = function () { s.stop(); }; } function r() { s.stop(); s.attachSound('reverse'); s.start(); s.onSoundComplete = function () { s.stop(); s.attachSound(_root.music + 'r'); s.start(0, 999); }; } stop(); s = new Sound(this); s.setVolume(0); _root.music = random(10) + 1; while (_root.music == _root.lastMusic) { _root.music = random(10) + 1; } _root.lastMusic = _root.music; onEnterFrame = fadeIn; p(); } } movieClip 245 port particle { frame 1 { _xscale = _xscale + Math.random() * 10; } frame 20 { this.removeMovieClip(); } } movieClip 248 portal trail { frame 16 { this.removeMovieClip(); } frame 16 { this.removeMovieClip(); } } movieClip 250 { } movieClip 256 { frame 9 { _parent.r1.bg.play(); _parent.r2.bg.play(); _parent.removeMovieClip(); } } movieClip 257 rift link { frame 1 { s = new Sound(this); s.attachSound('rift' + random(3)); } frame 2 { stop(); s.start(); } } movieClip 259 shadow { frame 1 { onEnterFrame = function () { _x = _parent.b._x; _y = _parent.b._y; x = _parent.b._x - p._x; y = _parent.b._y - p._y; d = Math.sqrt(x * x + y * y); _yscale = d + 100; _alpha = 30 - d / 5; _rotation = Math.atan2(y, x) * 180 / Math.PI + 90; }; } } movieClip 262 { } movieClip 265 config sign { frame 1 { onEnterFrame = function () { if (_root.ended) { this.removeMovieClip(); } }; } frame 507 { this.removeMovieClip(); } } movieClip 268 { } movieClip 269 ep portal sign { frame 1 { _root.comz.txt.s.start(); _root.htext += '\r> Now navigate the orb to the portal'; onEnterFrame = function () { if (!_root.paused) { _alpha = random(30) + 70; } }; } frame 40 { stop(); } } movieClip 272 { } movieClip 273 restart sign { frame 1 { onEnterFrame = function () { if (_root.ended) { gotoAndPlay('out'); } if (!_root.paused) { } }; } frame 125 { this.removeMovieClip(); } } movieClip 276 { } movieClip 277 spark { frame 1 { bounce = -0.8; if (xvel == undefined) { xvel = random(20) - 10; } if (yvel == undefined) { yvel = random(20) - 10; } yv = (_root.gEnable and g == undefined) ? Math.cos(Math.PI * _root.gside / 180) * 1 : 0; xv = (_root.gEnable and g == undefined) ? -Math.sin(Math.PI * _root.gside / 180) * 1 : 0; yf = (_root.gEnable and g == undefined) ? ((_root.gside == 90 or _root.gside == -90) ? 0.9 : 1) : 0.8; xf = (_root.gEnable and g == undefined) ? ((_root.gside == 0 or _root.gside == 180) ? 0.9 : 1) : 0.8; onEnterFrame = function () { if (Key.isDown(32) and !_root.tr) { this.removeMovieClip(); } if (g == false) { _visible = random(5) > 1; } yvel += yv; xvel += xv; yvel *= yf; xvel *= xf; _x = _x + xvel; _y = _y + yvel; if (_x > _parent.frame._width) { _x = _parent.frame._width; xvel *= bounce; } if (_x < 0) { _x = 0; xvel *= bounce; } if (_y > _parent.frame._height) { _y = _parent.frame._height; yvel *= bounce; } if (_y < 0) { _y = 0; yvel *= bounce; } }; } frame 28 { this.removeMovieClip(); } } movieClip 279 start white { frame 1 { this.blendMode = 'add'; } frame 21 { this.removeMovieClip(); } } movieClip 280 start zoom { frame 2 { stop(); var p = {'x': _root.all.r1.end._x, 'y': _root.all.r1.end._y}; _root.all.r1.localToGlobal(p); _x = p.x; _y = p.y; z = this.createEmptyMovieClip('z', this.getNextHighestDepth()); z._x = -p.x; z._y = -p.y; bm = new flash.display.BitmapData(Stage.width, Stage.height, false, 0); _root.white._visible = false; _root.frame.clear(); _root.comz.bg._visible = false; bm.draw(_root); _root.white._visible = true; _root.comz.bg._visible = true; z.attachBitmap(bm, 100); i = 1; _yscale = 2000; _xscale = 2000; onEnterFrame = function () { i += 0.1; _xscale = _xscale - 950 / Math.pow(i, 5); _yscale = _yscale - 950 / Math.pow(i, 5); if (_xscale <= 100) { _root.started = true; if (_root.showHelp) { _root.comz.gotoAndPlay(2); } this.removeMovieClip(); } }; _root.attachMovie('start white', 'sw', _root.getNextHighestDepth()); } } movieClip 281 stream { } movieClip 285 tf { frame 25 { this.removeMovieClip(); } } movieClip 296 { } movieClip 297 tj { frame 1 { onEnterFrame = function () { _yscale = (_totalframes - _currentframe) * 20; _alpha = (_totalframes - _currentframe) * 10; }; } instance of movieClip 296 { onClipEvent (enterFrame) { gotoAndStop(random(_totalframes) + 1); } } instance of movieClip 296 { onClipEvent (enterFrame) { gotoAndStop(random(_totalframes) + 1); } } frame 11 { this.removeMovieClip(); } } movieClip 300 token swirl { frame 1 { r = -10 + Math.random() * 20; onEnterFrame = function () { if (_root.paused) { stop(); } else { play(); _rotation = _rotation + r; } }; } frame 25 { this.removeMovieClip(); } } movieClip 304 trail { frame 1 { onEnterFrame = function () { if (_root.tr and _currentframe < 20 and _root.tr2) { if (_root.all.r1.b.i > 248) { prevFrame(); } prevFrame(); if (_currentframe <= 2) { this.removeMovieClip(); } } else { if (Key.isDown(32) and !_root.tr) { this.removeMovieClip(); } if (_root.paused) { stop(); } else { play(); } } if (_root.hit) { this.removeMovieClip(); } }; } frame 20 { if (!_root.tr) { this.removeMovieClip(); } else { onEnterFrame = function () { if (_root.paused) { stop(); } else { play(); } }; } } frame 40 { this.removeMovieClip(); } } movieClip 309 { frame 1 { stop(); if (!_root.so.data.stages[_root.levels[_root.level].module + 1]) { this.unloadMovie(); } } } movieClip 311 { } movieClip 317 { frame 1 { bi = 0; onEnterFrame = function () { if (bi < length(_parent.bodyTxt)) { body.htmlText = _parent.bodyTxt.substr(0, bi) + '<font color=\'#666666\'>' + _parent.bodyTxt.substr(bi, 3) + '</font><font color=\'#CCCCCC\'>' + _parent.bodyTxt.substr(bi + 3, 3) + '</font>'; bi += 6; } else { body.htmlText = _parent.bodyTxt; _parent.play(); delete onEnterFrame; } }; } } button 321 { on (press) { _parent.play(); } } button 322 { on (press) { play(); } } movieClip 327 { frame 1 { stop(); onUnload = function () { if (ul) { stopAllSounds(); _root.gotoAndPlay('menu'); } }; } frame 13 { titleTxt = (eval('_root.modules._' + _root.levels[_root.level + 1].module)).name; bodyTxt = 'Aims:\r'; x = 0; while (x < (eval('_root.modules._' + _root.levels[_root.level + 1].module)).aims.length) { bodyTxt += '> ' + (eval('_root.modules._' + _root.levels[_root.level + 1].module)).aims[x] + '\n'; ++x; } bodyTxt += '\rRisks:\r'; x = 0; while (x < (eval('_root.modules._' + _root.levels[_root.level + 1].module)).risks.length) { bodyTxt += '> ' + (eval('_root.modules._' + _root.levels[_root.level + 1].module)).risks[x] + '\n'; ++x; } _root.so.data.stages[_root.levels[_root.level].module + 1] = true; _root.kongregateStats.submit('moduleComplete' + _root.levels[_root.level].module, 1); if ((getTimer() - _root.timer) / 1000 < _root.so.data.stagesc[_root.levels[_root.level].module] or _root.so.data.stagesc[_root.levels[_root.level].module] == 'N/A') { _root.so.data.stagesc[_root.levels[_root.level].module] = (getTimer() - _root.timer) / 1000; _root.kongregateStats.submit('moduleTime' + _root.levels[_root.level].module, Math.round((getTimer() - _root.timer) / 1000)); } } instance exit of movieClip 309 { onClipEvent (press) { _root.white.removeMovieClip(); } } instance exit of movieClip 309 { onClipEvent (press) { _parent.ul = true; _root.white.removeMovieClip(); } } frame 83 { stop(); } frame 115 { stop(); } instance exit of movieClip 309 { onClipEvent (press) { _root.white.removeMovieClip(); } } frame 124 { _parent.play(); stop(); } } movieClip 329 { frame 17 { _root.frame2.clear(); } frame 18 { loadMovie('', _root.ez); if (_root.levels[_root.level + 1].stage.charAt(1) == 'a') { stop(); stage.play(); } } frame 24 { _root.ended = false; ++_root.level; _root.all.play(); } frame 45 { _parent.removeMovieClip(); } } movieClip 330 white { } movieClip 331 portal arc { frame 1 { function f(t) { _x = t._x; _y = t._y; _rotation = 0; _alpha = 100 - d / 2; _yscale = 300 - d + Math.random() * 20; _width = d; _rotation = r; snd.setVolume(d < 70 ? 100 : (d < 170 ? 170 - d : 0)); l.gotoAndStop(random(l._totalframes) + 1); l._yscale *= random(2) * 2 - 1; } snd = new Sound(this); snd.attachSound('portal buzz'); snd.setVolume(0); snd.start(0, 999); f(t); onEnterFrame = function () { f(t); if (!_root.dragging or _root.ended) { snd.stop(); this.removeMovieClip(); } }; } } movieClip 333 { } movieClip 334 config sign 2 { frame 1 { onEnterFrame = function () { if (_root.ended) { gotoAndPlay('out'); } if (!_root.paused) { } }; } frame 125 { this.removeMovieClip(); } } movieClip 380 { frame 1 { stop(); } } frame 4 { stop(); } instance of movieClip 123 { onClipEvent (press) { with (_parent) { stopAllSounds(); delete onEnterFrame; el.unloadMovie(); tf.unloadMovie(); stars.unloadMovie(); im.removeMovieClip(); gotoAndPlay('menu'); } } } frame 5 { stop(); lz.removeMovieClip(); lb.removeMovieClip(); _root.createEmptyMovieClip('tf', _root.getNextHighestDepth()); tcount = 1; i = 0; onEnterFrame = function () { if (i % 85 == 0) { if (tcount > 4) { delete onEnterFrame; _root.attachMovie('loader white', 'lw', _root.getNextHighestDepth()); } else { t = _root.tf.attachMovie('text fly', 'tf' + tcount, -tcount); t._x = 400; t._y = 300; t.t = tcount; ++tcount; } } ++i; }; } frame 6 { stop(); el.unloadMovie(); _root.createEmptyMovieClip('stars', _root.getNextHighestDepth()); stars._x = 400; stars._y = 300; tf.tf3.unloadMovie(); onEnterFrame = function () { t = _root.stars.attachMovie('star', 's' + _root.stars.getNextHighestDepth(), _root.stars.getNextHighestDepth()); t.r = random(360); if (i % 22 == 0) { if (tcount > 12) { delete onEnterFrame; } else { ++tcount; t = _root.tf.attachMovie('text fly', 'tf' + i, -i); t._x = 400; t._y = 300; float = _root.tf.attachMovie('text float', 'float' + i, _root.tf.getNextHighestDepth()); float._y = random(600); float._x = 400; } } ++i; }; } movieClip 382 { } frame 7 { function menuButton(t) { i = 1; while (i <= 4) { if (t != i) { _root['b' + i].gotoAndPlay('out'); } ++i; } _root.scan._xscale = -100; _root.scan.gotoAndPlay(1); } tf.unloadMovie(); stars.unloadMovie(); _root.q = 'MEDIUM'; _quality = 'medium'; stage = '- -'; _root.started = false; z = 'omg'; levels = new Array(); levels[1] = {'module': 1, 'stage': '1a'}; levels[2] = {'module': 1, 'stage': '1b'}; levels[3] = {'module': 1, 'stage': '1c'}; levels[4] = {'module': 1, 'stage': '1d'}; levels[5] = {'module': 1, 'stage': '1e'}; levels[6] = {'module': 2, 'stage': '2a'}; levels[7] = {'module': 2, 'stage': '2b'}; levels[8] = {'module': 2, 'stage': '2c'}; levels[9] = {'module': 2, 'stage': '2d'}; levels[10] = {'module': 2, 'stage': '2e'}; levels[11] = {'module': 3, 'stage': '3a'}; levels[12] = {'module': 3, 'stage': '3b', 'tr': false}; levels[13] = {'module': 3, 'stage': '3c'}; levels[14] = {'module': 3, 'stage': '3d', 'tr': false}; levels[15] = {'module': 3, 'stage': '3e', 'tr': false}; levels[16] = {'module': 4, 'stage': '4a'}; levels[17] = {'module': 4, 'stage': '4b'}; levels[18] = {'module': 4, 'stage': '4c', 'tr': false}; levels[19] = {'module': 4, 'stage': '4d', 'tr': false}; levels[20] = {'module': 4, 'stage': '4e', 'tr': false}; levels[21] = {'module': 5, 'stage': '5a'}; levels[22] = {'module': 5, 'stage': '5b'}; levels[23] = {'module': 5, 'stage': '5c'}; levels[24] = {'module': 5, 'stage': '5d', 'tr': false}; levels[25] = {'module': 5, 'stage': '5e', 'tr': false}; levels[26] = {'module': 5, 'stage': '5f'}; levels[27] = {'module': 5, 'stage': '5g', 'tr': false}; levels[28] = {'module': 5, 'stage': '5h', 'tr': false}; levels[29] = {'module': 5, 'stage': '5i', 'tr': false}; levels[30] = {'module': 5, 'stage': '5j', 'tr': false}; levels[31] = {'module': 5, 'stage': '5k'}; levels[32] = {'module': 5, 'stage': '5l'}; levels[33] = {'module': 5, 'stage': '5m', 'tr': false}; levels[34] = {'module': 5, 'stage': '5n', 'tr': false}; levels[35] = {'module': 5, 'stage': 'X', 'tr': false}; modules = {}; modules._0 = {'name': 'TRAINING', 'aims': ['Prepare test participant for course Ep-01', 'It is obligatory for this module to be completed before starting the test'], 'risks': ['none']}; modules._1 = {'name': 'BASIC WORMHOLES', 'aims': ['Problem solving using wormholes', 'Research possibility of extra dimensions'], 'risks': ['Gravitational loops', 'Photon saturation']}; modules._2 = {'name': 'COMPLEX TIME FIELDS', 'aims': ['Extended problem solving using time manipulation'], 'risks': ['Chronologically recursive loops', 'Twin paradox']}; modules._3 = {'name': 'GRAVITY MANIPULATION', 'aims': ['Problem solving using gravitational shift', 'Research into weakness of gravity'], 'risks': ['Micro black hole', 'Magnetic monopole']}; modules._4 = {'name': 'ADVANCED WORMHOLES', 'aims': ['Extended wormhole manipulation', 'Use of stationary rifts'], 'risks': ['Quantum mechanical vacuum', 'Godel paradox']}; modules._5 = {'name': 'ADVANCED CHALLENGES', 'aims': ['Solving more intricate tasks', 'Investigate compatibility of all methods'], 'risks': ['Resonance cascade', 'Production of \'strange quarks\'']}; var so = SharedObject.getLocal('epsilon_so', '/'); if (so.data.stages == undefined) { so.data.stages = new Array(true, true, false, false, false, false); so.data.stagesc = ['', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A']; so.data.clicks = ['', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A']; so.data.rooms = undefined; so.data.gc = true; so.data.gra = 60; so.data.vol = 30; so.data.q = 'medium'; so.data.freeze = false; } } frame 7 { x = 0; while (x <= 100) { a = Math.random() * 2 * Math.PI; v = Math.random() * 20; t = _root.attachMovie('spark', 's' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); t._x = 400; t._y = 100; t.g = true; t.xvel = Math.cos(a) * v * 3; t.yvel = Math.sin(a) * v; ++x; } stars.removeMovieClip(); } movieClip 384 { } movieClip 386 { } movieClip 389 { } movieClip 391 { } movieClip 393 { } movieClip 395 { } movieClip 396 { } movieClip 406 { } movieClip 407 { frame 1 { stop(); } } movieClip 419 { frame 1 { _visible = false; } } movieClip 421 { frame 1 { _visible = false; } } movieClip 426 { frame 1 { stop(); } } movieClip 427 { } movieClip 428 { frame 1 { function rolled(i, t) { if (!_root.started) { z.z.gotoAndPlay(2); l2._visible = true; l._visible = true; l._y = t._y; l._height = t._y - b0._y + 1; module.text = (eval('_root.modules._' + i)).name; x = 0; while (x <= 5) { this['b' + x].gotoAndStop(1); ++x; } if (_root.so.data.stages[i]) { t.gotoAndStop(2); _root.module = i; module.text = (eval('_root.modules._' + i)).name; moddesc.htmlText = '<b>Aims:</b>\r'; x = 0; while (x < (eval('_root.modules._' + i)).aims.length) { moddesc.htmlText += '> ' + (eval('_root.modules._' + i)).aims[x]; ++x; } moddesc.htmlText += '\r<b>Risks:</b>\r'; x = 0; while (x < (eval('_root.modules._' + i)).risks.length) { moddesc.htmlText += '> ' + (eval('_root.modules._' + i)).risks[x]; ++x; } if (i != 0) { moddesc.htmlText += '\n' + ((_root.so.data.stagesc[i] == 'N/A') ? '<font color="#507174">' : '') + '<b>Best completion time:</b> ' + _root.so.data.stagesc[i] + ((_root.so.data.stagesc[i] == 'N/A') ? '</font>' : ' seconds'); } } else { moddesc.htmlText = 'Complete the previous module to access this test.'; } } } function pressed(i) { if (_root.so.data.stages[i]) { select.start(); _root.started = true; _parent.gotoAndPlay(28); } } gotoAndStop(_root.marea); hover = new Sound(this); hover.attachSound('menu hover'); select = new Sound(this); select.attachSound('menu back'); i = 0; while (i <= 5) { this['m' + i].text = i + '. ' + (eval('_root.modules._' + i)).name; this['m' + i]._alpha = _root.so.data.stages[i] ? 100 : 30; ++i; } } instance b0 of movieClip 407 { onClipEvent (rollOver) { _parent.rolled(0, this); } onClipEvent (rollOut) { _parent.out(this); } onClipEvent (press) { _parent.pressed(0); } } instance b1 of movieClip 407 { onClipEvent (rollOver) { _parent.rolled(1, this); } onClipEvent (rollOut) { _parent.out(this); } onClipEvent (press) { _parent.pressed(1); } } instance b2 of movieClip 407 { onClipEvent (rollOver) { _parent.rolled(2, this); } onClipEvent (rollOut) { _parent.out(this); } onClipEvent (press) { _parent.pressed(2); } } instance b3 of movieClip 407 { onClipEvent (rollOver) { _parent.rolled(3, this); } onClipEvent (rollOut) { _parent.out(this); } onClipEvent (press) { _parent.pressed(3); } } instance b4 of movieClip 407 { onClipEvent (rollOver) { _parent.rolled(4, this); } onClipEvent (rollOut) { _parent.out(this); } onClipEvent (press) { _parent.pressed(4); } } instance b5 of movieClip 407 { onClipEvent (rollOver) { _parent.rolled(5, this); } onClipEvent (rollOut) { _parent.out(this); } onClipEvent (press) { _parent.pressed(5); } } } movieClip 432 { } button 434 { on (press) { play(); } } movieClip 440 { frame 1 { stop(); } instance of movieClip 396 { onClipEvent (load) { this.unloadMovie(); var bitmapData_1 = new flash.display.BitmapData(620, 300, false); var mc_1 = this.createEmptyMovieClip('mc', this.getNextHighestDepth()); mc_1.attachBitmap(bitmapData_1, this.getNextHighestDepth()); mc_1.onEnterFrame = function () { bitmapData_1.noise(random(100), 0, 255, 0, true); }; } } frame 10 { _root.scan._xscale = 100; _root.scan._width = 300; _root.scan._height = 260; _root.scan.gotoAndPlay(1); } frame 27 { stop(); } frame 29 { _root.scan._width = 300; _root.scan._xscale *= -1; _root.scan.gotoAndPlay(1); } frame 45 { i = 1; while (i <= 4) { if (_root['b' + i].x._currentframe > 20) { _root['b' + i].x.play(); } ++i; } } frame 52 { if (!_root.started) { _root.scan._width = _root.scan.w; _root.scan._height = _root.scan.h; _root.scan.play(); } } frame 53 { if (!_root.started) { i = 1; while (i <= 4) { if (_root['b' + i].x._currentframe > 20) { _root['b' + i].x.gotoAndStop(1); } _root['b' + i].gotoAndPlay('in'); _root['b' + i]._y = _root['b' + i].y; ++i; } } else { _root.started = false; _root.play(); } } } movieClip 442 { } movieClip 443 { } movieClip 445 { } movieClip 446 { } movieClip 447 { frame 18 { stop(); } } instance scan of movieClip 447 { onClipEvent (load) { gotoAndStop(24); w = a._width; h = a._height; } } movieClip 449 { } movieClip 453 { } movieClip 454 { } movieClip 455 { } movieClip 460 { frame 1 { gotoAndStop(_parent._parent.b); } } movieClip 463 { } movieClip 470 { frame 1 { stop(); } instance of movieClip 463 { onClipEvent (enterFrame) { if (_parent.area.hitTest(_root._xmouse, _root._ymouse) and _root.buttons) { _parent.play(); } } } instance area of movieClip 463 { onClipEvent (press) { s = new Sound(this); s.attachSound('menu back'); s.start(); if (_parent._parent.link != undefined) { getURL(_parent._parent.link, '_blank'); } else { _root.marea = _parent._parent.marea; _root.menuButton(_parent._parent.b); _parent.gotoAndPlay('pressed'); } } } frame 4 { stop(); } instance of movieClip 463 { onClipEvent (enterFrame) { if (!_parent.area.hitTest(_root._xmouse, _root._ymouse)) { _parent.play(); } } } frame 8 { gotoAndStop(1); } frame 24 { _parent.p(); onEnterFrame = function () { if (_parent._y > 189) { _parent._y -= (_parent._y - 189) / 2; } else { _parent._y = 189; delete onEnterFrame; } }; } frame 28 { stop(); } frame 31 { stop(); } } movieClip 473 { frame 10 { stop(); } frame 21 { stop(); } } instance b1 of movieClip 473 { onClipEvent (load) { function p() { _root.bg.play(); } y = _y; b = 1; marea = 'ng'; gotoAndStop(27); } } instance b2 of movieClip 473 { onClipEvent (load) { y = _y; b = 2; link = 'http://armorgames.com/'; gotoAndStop(27); } } instance b3 of movieClip 473 { onClipEvent (load) { y = _y; b = 3; link = 'http://armorblog.com/'; gotoAndStop(27); } } instance b4 of movieClip 473 { onClipEvent (load) { y = _y; b = 4; link = 'http://dissoluteproductions.com/'; gotoAndStop(27); } } movieClip 475 { } movieClip 476 { } frame 23 { stop(); buttons = true; } frame 24 { _root.attachMovie('menu zoom', 'mz', _root.getNextHighestDepth()); _root.attachMovie('menu white', 'mw', _root.getNextHighestDepth()); stopAllSounds(); } frame 25 { stop(); } frame 80 { if (_root.module > 0) { _root.mw.removeMovieClip(); gotoAndStop('game'); } else { _root.module = 1; } } frame 100 { stop(); z = 'omg'; levels = new Array(); levels[1] = {'module': 1, 'stage': '1a'}; levels[2] = {'module': 1, 'stage': '1b'}; levels[3] = {'module': 1, 'stage': '1c'}; levels[4] = {'module': 1, 'stage': '1d'}; levels[5] = {'module': 1, 'stage': '1e'}; levels[6] = {'module': 2, 'stage': '2a'}; levels[7] = {'module': 2, 'stage': '2b'}; levels[8] = {'module': 2, 'stage': '2c'}; levels[9] = {'module': 2, 'stage': '2d'}; levels[10] = {'module': 2, 'stage': '2e'}; levels[11] = {'module': 3, 'stage': '3a'}; levels[12] = {'module': 3, 'stage': '3b', 'tr': false}; levels[13] = {'module': 3, 'stage': '3c'}; levels[14] = {'module': 3, 'stage': '3d', 'tr': false}; levels[15] = {'module': 3, 'stage': '3e', 'tr': false}; levels[16] = {'module': 4, 'stage': '4a'}; levels[17] = {'module': 4, 'stage': '4b'}; levels[18] = {'module': 4, 'stage': '4c', 'tr': false}; levels[19] = {'module': 4, 'stage': '4d', 'tr': false}; levels[20] = {'module': 4, 'stage': '4e', 'tr': false}; levels[21] = {'module': 5, 'stage': '5a'}; levels[22] = {'module': 5, 'stage': '5b'}; levels[23] = {'module': 5, 'stage': '5c'}; levels[24] = {'module': 5, 'stage': '5d', 'tr': false}; levels[25] = {'module': 5, 'stage': '5e', 'tr': false}; levels[26] = {'module': 5, 'stage': '5f'}; levels[27] = {'module': 5, 'stage': '5g', 'tr': false}; levels[28] = {'module': 5, 'stage': '5h', 'tr': false}; levels[29] = {'module': 5, 'stage': '5i', 'tr': false}; levels[30] = {'module': 5, 'stage': '5j', 'tr': false}; levels[31] = {'module': 5, 'stage': '5k'}; levels[32] = {'module': 5, 'stage': '5l'}; levels[33] = {'module': 5, 'stage': '5m', 'tr': false}; levels[34] = {'module': 5, 'stage': '5n', 'tr': false}; levels[35] = {'module': 5, 'stage': 'X', 'tr': false}; modules = {}; modules._0 = {'name': 'TRAINING', 'aims': ['Prepare test participant for course Ep-01', 'It is obligatory for this module to be completed before starting the test'], 'risks': ['none']}; modules._1 = {'name': 'BASIC WORMHOLES', 'aims': ['Problem solving using wormholes', 'Research possibility of extra dimensions'], 'risks': ['Gravitational loops', 'Photon saturation']}; modules._2 = {'name': 'COMPLEX TIME FIELDS', 'aims': ['Extended problem solving using time manipulation'], 'risks': ['Chronologically recursive loops', 'Twin paradox']}; modules._3 = {'name': 'GRAVITY MANIPULATION', 'aims': ['Problem solving using gravitational shift', 'Research into weakness of gravity'], 'risks': ['Micro black hole', 'Magnetic monopole']}; modules._4 = {'name': 'ADVANCED WORMHOLES', 'aims': ['Extended wormhole manipulation', 'Use of stationary rifts'], 'risks': ['Quantum mechanical vacuum', 'Godel paradox']}; modules._5 = {'name': 'ADVANCED CHALLENGES', 'aims': ['Solving more intricate tasks', 'Investigate compatibility of all methods'], 'risks': ['Resonance cascade', 'Production of \'strange quarks\'']}; _root._quality = 'high'; intro = new Sound(this); intro.attachSound('training intro'); intro.start(); _root.mw.removeMovieClip(); } movieClip 480 { } movieClip 482 { } movieClip 485 { frame 1 { titleTxt = 'training program'; bodyTxt = 'Aims:\r' + _root.modules._0.aims[0] + '\n' + '\n' + 'Risks:' + '\n' + _root.modules._0.risks; } frame 124 { stop(); } frame 201 { _parent.play(); } } frame 101 { stop(); boom = new Sound(this); boom.attachSound('boom'); } movieClip 490 { } movieClip 492 { } movieClip 493 { } movieClip 496 { } movieClip 501 { } movieClip 511 { } movieClip 515 { frame 1 { onEnterFrame = function () { _rotation = _rotation + 5; }; } } movieClip 519 { } movieClip 521 { } movieClip 523 { frame 1 { function timer() { clearInterval(interval); } txt = ''; i = 0; snd = new Sound(this); snd.attachSound('text scroll'); snd.setVolume(0); s = 4; p = true; onEnterFrame = function () { if (i <= length(txt) or i > length(txt) + s) { snd.setVolume(200); t.htmlText = txt.substr(0, i) + '<font color=\'#AAAAAA\'>' + txt.substr(i, s / 2) + '</font><font color=\'#555555\'>' + txt.substr(i + s / 2, s / 2) + '_</font>'; i += s; stop(); } else { snd.setVolume(0); t.htmlText = txt + _; if (p) { play(); } } }; l = new Object(); l.onKeyDown = function () { if (Key.getCode() == 27) { stopAllSounds(); snd.stop(); _root.gotoAndPlay('menu'); } p = true; Key.removeListener(l); Key.removeListener(l2); play(); }; } frame 3 { snd.start(0, 999); } frame 32 { txt += '> Loading test participant file...'; stop(); } frame 58 { txt += '\r> ID 04876.001'; stop(); } frame 75 { txt += '\r> Loading training module...'; stop(); } frame 104 { i = 0; txt = '...training module loaded.'; stop(); } frame 130 { i = 0; txt = '> Press Esc to return to the menu\r\r> Press any other key to proceed throughout this introduction...'; stop(); p = false; Key.addListener(l); } frame 131 { i = 0; txt = 'Wormholes are manipulated by clicking and dragging them around the edges of a room.'; p = true; stop(); } frame 132 { stop(); p = false; Key.addListener(l); } frame 133 { i = 0; txt = 'When released, the orb will fall through one and come out of the other with maintained velocity and equivalent direction.'; p = true; stop(); } frame 134 { stop(); p = false; Key.addListener(l); } frame 135 { i = 0; txt = 'To complete a task, guide the orb into all of the tokens, and then into the portal to proceed to the next level.'; p = true; stop(); } frame 136 { stop(); p = false; Key.addListener(l); } frame 137 { i = 0; txt = 'An auxiliary feature towards solving tasks is the ability to freeze the orb to allow time to position the wormholes.\rThis can be done by pressing and holding the\rSPACE BAR.'; p = true; stop(); } frame 138 { stop(); p = false; Key.addListener(l); } frame 139 { i = 0; txt = 'This is the basis of every challenge, but you will come across different devices to be tested throughout the course.\r\rThese will be explained through messages in the communication panel at the top of the screen which MUST BE READ to comply with safety protocol.'; stop(); } frame 140 { stop(); p = false; Key.addListener(l); } frame 141 { i = 0; txt = '> Training module complete'; } frame 150 { txt += '\r\r> Preparing course Ep-01...'; } frame 186 { delete onEnterFrame; stopAllSounds(); snd.stop(); _parent.boom.start(); } frame 187 { } frame 223 { _root.play(); } } instance of movieClip 523 { onClipEvent (enterFrame) { _ = getTimer() % 1000 > 500 ? '_' : ''; } } movieClip 526 { } movieClip 527 { } frame 287 { function createRooms() { if (_root.portals) { if (!_root.tr and _root.cursor == undefined) { Mouse.show(); } p1 = _root.all.r1.p1; p2 = _root.all.r1.p2; f = all.r1.frame; r = all.r1; if (p1.side == p2.side) { tmp = _root.all.attachMovie('copy room', 'cr1', 100); (_root.all.getInstanceAtDepth(101)).removeMovieClip(); (_root.all.getInstanceAtDepth(102)).removeMovieClip(); tmp._rotation = 180; if (p1._y == p2._y) { tmp._y = r._y + 2 * p1._y; tmp._x = r._x + 2 * p1._x + (p2._x - p1._x); } else { tmp._x = r._x + 2 * p1._x; tmp._y = r._y + 2 * p1._y + (p2._y - p1._y); } } else { if (p1.al == p2.al) { tmp1 = _root.all.attachMovie('copy room', 'cr1', 100); tmp2 = _root.all.attachMovie('copy room', 'cr2', 101); (_root.all.getInstanceAtDepth(102)).removeMovieClip(); if (p1.al == 'v') { tmp1._x = r._x + f._width; tmp1._y = p1._x < p2._x ? r._y + (p2._y - p1._y) : r._y - (p2._y - p1._y); tmp2._x = r._x - f._width; tmp2._y = p1._x < p2._x ? r._y + (p1._y - p2._y) : r._y - (p1._y - p2._y); } else { tmp1._x = p1._y < p2._y ? r._x + (p1._x - p2._x) : r._x - (p1._x - p2._x); tmp1._y = r._y - f._height; tmp2._x = p1._y < p2._y ? r._x + (p2._x - p1._x) : r._x - (p2._x - p1._x); tmp2._y = r._y + f._height; } } else { if (p2.al == 'v') { p1 = _root.all.r1.p2; p2 = _root.all.r1.p1; } tmp1 = _root.all.attachMovie('copy room', 'cr1', 100); tmp2 = _root.all.attachMovie('copy room', 'cr2', 101); tmp3 = _root.all.attachMovie('copy room', 'cr3', 102); if (p1._y < p2._y) { if (p1._x < p2._x) { tmp1._rotation = -90; tmp1._x = r._x - f._height; tmp1._y = r._y + f._height + (p2._x - (f._height - p1._y)); tmp2._rotation = 90; tmp2._x = r._x + f._height + (p2._x - (f._height - p1._y)); tmp2._y = r._y + f._height; tmp3._rotation = 180; tmp3._x = tmp2._x - f._height; tmp3._y = tmp1._y + f._height; } else { tmp1._rotation = 90; tmp1._x = r._x + f._width + f._height; tmp1._y = r._y - (f._width - f._height) + (f._width - p2._x - (f._height - p1._y)); tmp2._rotation = -90; tmp2._x = r._x + f._width - f._height - (f._width - p2._x - (f._height - p1._y)); tmp2._y = r._y + f._height + f._width; tmp3._rotation = 180; tmp3._x = tmp2._x + f._height + f._width; tmp3._y = tmp1._y + f._height + f._width; } } else { if (p1._x < p2._x) { tmp1._rotation = -90; tmp1._x = r._x + (p2._x - p1._y); tmp1._y = r._y; tmp2._rotation = 90; tmp2._x = r._x; tmp2._y = r._y + (p1._y - p2._x); tmp3._rotation = 180; tmp3._x = tmp1._x; tmp3._y = tmp2._y; } else { tmp1._rotation = 90; tmp1._x = r._x + p2._x + p1._y; tmp1._y = r._y - f._width; tmp2._rotation = -90; tmp2._x = r._x + f._width; tmp2._y = r._y + p2._x + p1._y; tmp3._rotation = 180; tmp3._x = tmp1._x + f._width; tmp3._y = tmp2._y - f._width; } } } } } } var so = SharedObject.getLocal('epsilon_so', '/'); z = 'omg'; levels = new Array(); levels[1] = {'module': 1, 'stage': '1a'}; levels[2] = {'module': 1, 'stage': '1b'}; levels[3] = {'module': 1, 'stage': '1c'}; levels[4] = {'module': 1, 'stage': '1d'}; levels[5] = {'module': 1, 'stage': '1e'}; levels[6] = {'module': 2, 'stage': '2a'}; levels[7] = {'module': 2, 'stage': '2b'}; levels[8] = {'module': 2, 'stage': '2c'}; levels[9] = {'module': 2, 'stage': '2d'}; levels[10] = {'module': 2, 'stage': '2e'}; levels[11] = {'module': 3, 'stage': '3a'}; levels[12] = {'module': 3, 'stage': '3b', 'tr': false}; levels[13] = {'module': 3, 'stage': '3c'}; levels[14] = {'module': 3, 'stage': '3d', 'tr': false}; levels[15] = {'module': 3, 'stage': '3e', 'tr': false}; levels[16] = {'module': 4, 'stage': '4a'}; levels[17] = {'module': 4, 'stage': '4b'}; levels[18] = {'module': 4, 'stage': '4c', 'tr': false}; levels[19] = {'module': 4, 'stage': '4d', 'tr': false}; levels[20] = {'module': 4, 'stage': '4e', 'tr': false}; levels[21] = {'module': 5, 'stage': '5a'}; levels[22] = {'module': 5, 'stage': '5b'}; levels[23] = {'module': 5, 'stage': '5c'}; levels[24] = {'module': 5, 'stage': '5d', 'tr': false}; levels[25] = {'module': 5, 'stage': '5e', 'tr': false}; levels[26] = {'module': 5, 'stage': '5f'}; levels[27] = {'module': 5, 'stage': '5g', 'tr': false}; levels[28] = {'module': 5, 'stage': '5h', 'tr': false}; levels[29] = {'module': 5, 'stage': '5i', 'tr': false}; levels[30] = {'module': 5, 'stage': '5j', 'tr': false}; levels[31] = {'module': 5, 'stage': '5k'}; levels[32] = {'module': 5, 'stage': '5l'}; levels[33] = {'module': 5, 'stage': '5m', 'tr': false}; levels[34] = {'module': 5, 'stage': '5n', 'tr': false}; levels[35] = {'module': 5, 'stage': 'X', 'tr': false}; modules = {}; modules._0 = {'name': 'TRAINING', 'aims': ['Prepare test participant for course Ep-01', 'It is obligatory for this module to be completed before starting the test'], 'risks': ['none']}; modules._1 = {'name': 'BASIC WORMHOLES', 'aims': ['Problem solving using wormholes', 'Research possibility of extra dimensions'], 'risks': ['Gravitational loops', 'Photon saturation']}; modules._2 = {'name': 'COMPLEX TIME FIELDS', 'aims': ['Extended problem solving using time manipulation'], 'risks': ['Chronologically recursive loops', 'Twin paradox']}; modules._3 = {'name': 'GRAVITY MANIPULATION', 'aims': ['Problem solving using gravitational shift', 'Research into weakness of gravity'], 'risks': ['Micro black hole', 'Magnetic monopole']}; modules._4 = {'name': 'ADVANCED WORMHOLES', 'aims': ['Extended wormhole manipulation', 'Use of stationary rifts'], 'risks': ['Quantum mechanical vacuum', 'Godel paradox']}; modules._5 = {'name': 'ADVANCED CHALLENGES', 'aims': ['Solving more intricate tasks', 'Investigate compatibility of all methods'], 'risks': ['Resonance cascade', 'Production of \'strange quarks\'']}; stop(); _quality = so.data.q; test = false; rooms = (so.data.rooms == undefined) ? true : so.data.rooms; if (_root.module != undefined) { level = 5 * (_root.module - 1) + 1; } else { level = 35; } gravity = 1.5; s = 5; frameEnable = true; dragging = false; menable = true; onEnterFrame = function () { if (_root.all.r1.b.i < _root.time or _root.hit) { _root.frame.clear(); if (!_root.ended and !_root.go and _root.level > 2 and !_root.completed) { if (_root.so.data.rooms and _root.level > 3 or _root.dragging and _root.level == 3) { _root.all.r1.cursor._visible = _root.so.data.gc and !_root.tr and !_root.paused; _root.bm.draw(all.r1); _root.all.r1.cursor._visible = false; createRooms(); _root.frame.lineStyle(1, 16777215, 30, true); } } _root.all.r1.gc2._visible = false; if (_root.ended) { Mouse.show(); } } }; } movieClip 530 { } movieClip 532 { } movieClip 533 { instance of movieClip 532 { onClipEvent (load) { _xscale = _xscale * (100 / _parent._parent.frame._xscale); _xscale = _xscale + (_parent._parent.frame._yscale - 100); } } } movieClip 534 { } movieClip 535 { } movieClip 537 { frame 1 { b = _parent._parent.b; s = new Sound(this); s.attachSound('bi'); onEnterFrame = function () { if (this.hitTest(b) and !_root.paused) { if (!Key.isDown(32)) { if (b.parray[b.i - 1].p) { bx = b._x; by = b._y; p = true; } else { bx = b.parray[b.i - 1].x; by = b.parray[b.i - 1].y; p = false; } if (_y - by < (_x - bx) * (_height / _width)) { if (by - _y < -(bx - _x) * (_height / _width)) { b._x = _x - _width / 2 - 8; if (p and b.parray[b.i - 1].portal.al == 'h') { b.xvel = b.parray[b.i - 1].xvel; b.yvel = -b.parray[b.i - 1].yvel * b.bounce; } else { b.xvel *= -b.bounce; } if (Math.abs(b.xvel) > 3) { s.setVolume(b.xvel * 5); s.start(); } } else { b._y = _y + _height / 2 + 8; if (p and b.parray[b.i - 1].portal.al == 'v') { b.xvel = -b.parray[b.i - 1].xvel * b.bounce; b.yvel = b.parray[b.i - 1].yvel; } else { b.yvel *= p ? b.bounce : -b.bounce; } if (Math.abs(b.yvel) > 3) { s.setVolume(b.yvel * 5); s.start(); } } } else { if (by - _y < -(bx - _x) * (_height / _width)) { b._y = _y - _height / 2 - 8; if (p and b.parray[b.i - 1].portal.al == 'v') { b.xvel = -b.parray[b.i - 1].xvel * b.bounce; b.yvel = b.parray[b.i - 1].yvel; } else { b.yvel *= p ? b.bounce : -b.bounce; } b.yvel = -Math.abs(b.yvel); if (Math.abs(b.yvel) > 3) { s.setVolume(b.yvel * 5); s.start(); } } else { b._x = _x + _width / 2 + 8; if (p and b.parray[b.i - 1].portal.al == 'h') { b.xvel = b.parray[b.i - 1].xvel; b.yvel = -b.parray[b.i - 1].yvel * b.bounce; } else { b.xvel *= -b.bounce; } if (Math.abs(b.xvel) > 3) { s.setVolume(b.xvel * 5); s.start(); } } } if (p) { b._x = b.parray[b.i - 1].x; b._y = b.parray[b.i - 1].y; } } } }; if (_root.test) { onPress = function () { this.startDrag(); }; onRelease = function () { this.stopDrag(); }; onReleaseOutside = function () { this.stopDrag(); }; } } } movieClip 540 { frame 1 { _visible = false; b = _parent._parent.b; s = new Sound(this); s.attachSound('bi'); onEnterFrame = function () { if (b._x > _x - _width / 2 - 8 and b._x < _x + _width / 2 + 8 and b._y > _y - _height / 2 - 8 and b._y < _y + _height / 2 + 8 and !_root.paused) { if (!Key.isDown(32)) { t._rotation = 180 + (Math.atan2(ydif, xdif) / Math.PI) * 180; var v10 = this._rotation * Math.PI / 180; var v3 = Math.cos(v10); var v4 = Math.sin(v10); var v8 = b._x - this._x; var v6 = b._y - this._y; var v5 = v3 * v6 - v4 * v8; var v7 = v3 * b.yvel - v4 * b.xvel; if (v5 > -8 and v5 < v7) { vel = Math.sqrt(b.xvel * b.xvel + b.yvel * b.yvel); if (vel > 6 or !_root.gEnable) { ballr = 180 * (1.570796326794897 + Math.atan2(b.yvel, b.xvel)) / Math.PI; adif = Math.abs(ballr - _rotation - 90); adif = adif < 10 ? 0 : adif; s.setVolume(vel * 5 * Math.sin(Math.PI * adif / 180)); s.start(); } if (_rotation == 45 or _rotation == -135 or _rotation == -45 or _rotation == 135) { if (_rotation == 45 and (b.xvel < 0 or b.yvel > 0) or _rotation == -135 and (b.xvel > 0 or b.yvel < 0)) { xt = b.xvel; b.xvel = b.yvel; b.yvel = xt; } else { if (_rotation == -45 and (b.xvel > 0 or b.yvel > 0) or _rotation == 135 and (b.xvel < 0 or b.yvel < 0)) { xt = b.xvel; b.xvel = -b.yvel; b.yvel = -xt; } } } else { var v9 = v3 * v8 + v4 * v6; var v11 = v3 * b.xvel + v4 * b.yvel; v5 = -8; v7 *= _root.gEnable ? -0.5 : -0.9; v8 = v3 * v9 - v4 * v5; v6 = v3 * v5 + v4 * v9; b.xvel = v3 * v11 - v4 * v7; b.yvel = v3 * v7 + v4 * v11; b._x = this._x + v8; b._y = this._y + v6; } } } } }; } } movieClip 569 { frame 1 { gotoAndStop(_root.level); } } movieClip 571 { } movieClip 572 { frame 20 { stop(); onEnterFrame = function () { if (random(5) == 1 and !_root.paused) { this.attachMovie('ep last lines' + _parent.z, 'l' + this.getNextHighestDepth(), this.getNextHighestDepth()); } }; } } movieClip 574 { } movieClip 576 { instance of movieClip 574 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { _alpha = (_root.collected / _root.total) * 100; } } } movieClip 581 { frame 1 { stop(); s = new Sound(this); s.attachSound('ep rotor'); s.setVolume(0); s.start(0, 9999); z = ''; } instance of movieClip 109 { onClipEvent (enterFrame) { if (_root.total == _root.collected) { _parent.play(); } _parent.s.setVolume((_root.collected / _root.total) * 100); } } instance r of movieClip 576 { onClipEvent (enterFrame) { if (_root.started and !_root.paused) { _rotation = _rotation + (5 + (_root.collected / _root.total) * 40) * (_root.tr ? -1 : 1); } } } frame 5 { stop(); g = _root.attachMovie('grav shift', 'grav shift' + _rotation, _root.getNextHighestDepth()); g.zoom = true; if (_root.level == 1) { eps = _parent.attachMovie('ep portal sign', 'sign', _parent.getNextHighestDepth()); eps._x = _x; eps._y = _y; } z = '2'; } instance of movieClip 109 { onClipEvent (load) { b = _parent._parent.b; } onClipEvent (enterFrame) { d = Math.sqrt(Math.pow(_parent._x - b._x, 2) + Math.pow(_parent._y - b._y, 2)); if (d < 30) { b = _parent._parent.b; l = 10; b.yvel = b.yvel > l ? l : (b.yvel < -l ? -l : b.yvel); b.xvel = b.xvel > l ? l : (b.xvel < -l ? -l : b.xvel); _parent.play(); } if (!_root.hit and !_root.paused) { t = _parent.lines.attachMovie('target swirl', 's' + _parent.lines.getNextHighestDepth(), _parent.lines.getNextHighestDepth()); t._rotation = random(360); if (_root.tr) { t.gotoAndStop(t._totalframes); } } if (random(20) == 1 and !_root.paused) { j = _parent._parent.attachMovie('tj', 'tj' + _parent._parent.getNextHighestDepth(), _parent._parent.getNextHighestDepth()); j._alpha = 10; _root.all.r1.b.ball.gotoAndPlay(2); } xdif = _parent._x - _root.all.r1.b._x; ydif = _parent._y - _root.all.r1.b._y; j._x = _parent._x; j._y = _parent._y; j._rotation = 0; j._width = Math.sqrt(xdif * xdif + ydif * ydif); j._rotation = 180 + (Math.atan2(ydif, xdif) / Math.PI) * 180; } } frame 6 { _root.hit = true; if (_parent.bh._currentframe > 21) { _parent.bh.gotoAndPlay(42 - _parent.bh._currentframe); } _root.cursor.play(); delete z; sndclip.s.stop(); } instance of movieClip 109 { onClipEvent (load) { b = _parent._parent.b; b.gotoAndPlay('hit'); } onClipEvent (enterFrame) { d = (Math.sqrt(Math.pow(_parent._x - b._x, 2) + Math.pow(_parent._y - b._y, 2)) + 10) / 100; r = Math.atan2(b._y - _parent._y, b._x - _parent._x); b.xvel -= Math.cos(r) * 2; b.yvel -= Math.sin(r) * 2; b.xvel *= 0.8; b.yvel *= 0.8; } } frame 39 { _root.ended = true; _root.loops.removeMovieClip(); if (_root.final) { stop(); stopAllSounds(); _root.attachMovie('complete', 'complete', _root.getNextHighestDepth()); } } frame 40 { stop(); _root.attachMovie('end zoom', 'ez', _root.getNextHighestDepth()); _root.attachMovie('white', 'white', _root.getNextHighestDepth()); } } movieClip 583 { frame 1 { onEnterFrame = function () { if (!_root.paused) { _alpha = random(9) + 91; _yscale = random(9) + 91; _xscale = random(9) + 91; } }; } } movieClip 586 { frame 1 { s = new Sound(this); s.attachSound('token' + (random(3) + 1)); stop(); hit = false; onEnterFrame = function () { if (!hit and _root.started and !_root.paused) { if (random(10) == 1) { t = this.attachMovie('token swirl', 'tg' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._rotation = random(360); } d = Math.sqrt((_x - _parent.b._x) * (_x - _parent.b._x) + (_y - _parent.b._y) * (_y - _parent.b._y)); if (d < _width / 2 + 8) { hit = true; play(); } if ((60 * Math.random() * (_root.total - _root.collected) <= 1 or Number(_root.all.r1.b.i) >= _root.time - 1) and _root.total - _root.collected > 1) { asd.play(); r = random(_root.total); while (r == this._name.charAt(1) or _parent['t' + r].got == true) { r = random(_root.total); } xdif = _x - _parent['t' + r]._x; ydif = _y - _parent['t' + r]._y; dif = Math.sqrt(xdif * xdif + ydif * ydif); if (dif < 200) { t = _parent.attachMovie('tj', 'tj' + _parent.getNextHighestDepth(), _parent.getNextHighestDepth()); t._width = dif; t._x = _x; t._y = _y; t._rotation = 180 + (Math.atan2(ydif, xdif) / Math.PI) * 180; } } } }; } frame 2 { s.start(); ++_root.collected; x = 0; while (x <= 30) { t = _parent.attachMovie('spark', 's' + _parent.getNextHighestDepth(), _parent.getNextHighestDepth()); t._x = _x; t._y = _y; ++x; } onEnterFrame = function () { _x = _x + (_parent.end._x - _x) / 2; _y = _y + (_parent.end._y - _y) / 2; }; t = _parent.attachMovie('tj', 'tj' + _parent.getNextHighestDepth(), _parent.getNextHighestDepth()); xdif = _x - _parent.end._x; ydif = _y - _parent.end._y; t._x = _x; t._y = _y; t._width = Math.sqrt(xdif * xdif + ydif * ydif); t._rotation = 180 + (Math.atan2(ydif, xdif) / Math.PI) * 180; } frame 10 { stop(); got = true; } } movieClip 589 { } movieClip 592 { } movieClip 593 { } movieClip 594 { instance of movieClip 593 { onClipEvent (enterFrame) { if (_root.hit) { this.unloadMovie(); } _rotation = 0; if (_root.tr) { p = {'x': _root.all.r1.b.parray[_root.all.r1.b.i - 1].xmouse, 'y': _root.all.r1.b.parray[_root.all.r1.b.i - 1].ymouse}; _root.all.r1.globalToLocal(p); x = p.x; y = p.y; } else { if (_root.all.r1.gc2._visible) { x = _root.all.r1.gc2._x; y = _root.all.r1.gc2._y; _rotation = _root.all.r1.gc2._rotation; } else { x = _root.all.r1._xmouse; y = _root.all.r1._ymouse; } } xdif = x - _root.all.r1.b._x; ydif = y - _root.all.r1.b._y; dif = Math.sqrt(xdif * xdif + ydif * ydif); r = 1.570796326794897 + Math.atan2(ydif, xdif); _x = 110 * Math.atan(xdif / 10) * Math.abs(Math.sin(r)) / 9.869604401089358; _y = 110 * Math.atan(ydif / 10) * Math.abs(Math.cos(r)) / 9.869604401089358; _yscale = dif < 26 ? 200 * Math.cos(dif / 20) : 50; _xscale = dif < 26 ? 200 * Math.cos(dif / 20) : 50; } } } movieClip 595 { } movieClip 596 { frame 1 { stop(); } frame 2 { play(); x = 0; while (x <= 20) { t = _root.all.r1.attachMovie('spark', 's' + _root.all.r1.getNextHighestDepth(), _root.all.r1.getNextHighestDepth()); t._x = _root.all.r1.b._x; t._y = _root.all.r1.b._y; ++x; } } frame 15 { gotoAndStop(1); } frame 16 { play(); } frame 29 { gotoAndStop(1); } } movieClip 597 { frame 1 { function port(t, p, side) { ttemp = {'x': t._x, 'y': t._y, 'xvel': t.xvel, 'yvel': t.yvel}; if (p.o.side == p.side) { if (p.o.al == 'h') { ttemp.x = p.o._x - (ttemp.x - p._x); ttemp.y = p.o._y; ttemp.yvel *= -1; ttemp.xvel *= -1; } else { ttemp.y = p.o._y - (ttemp.y - p._y); ttemp.yvel *= -1; ttemp.xvel *= -1; } } else { if (p.o.al == p.al) { if (p.al == 'h') { ttemp.y = p.o._y; ttemp.x = p.o._x + (ttemp.x - p._x); } else { ttemp.x = p.o._x; ttemp.y = p.o._y + (ttemp.y - p._y); } } else { if (p.side == 'l' and p.o.side == 'b' or p.side == 'b' and p.o.side == 'r' or p.side == 'r' and p.o.side == 't' or p.side == 't' and p.o.side == 'l') { if (p.al == 'v') { ttemp.x = p.o._x - (ttemp.y - p._y); ttemp.y = p.o._y; } else { ttemp.y = p.o._y + (ttemp.x - p._x); ttemp.x = p.o._x; } tmp = ttemp.xvel; ttemp.xvel = -ttemp.yvel; ttemp.yvel = tmp; } else { if (p.al == 'v') { ttemp.x = p.o._x + (ttemp.y - p._y); ttemp.y = p.o._y; } else { ttemp.y = p.o._y - (ttemp.x - p._x); ttemp.x = p.o._x; } tmp = ttemp.xvel; ttemp.xvel = ttemp.yvel; ttemp.yvel = -tmp; } } } if (p.o.side == 't') { ttemp.y += 2; } else { if (p.o.side == 'b') { ttemp.y -= 2; } else { if (p.o.side == 'l') { ttemp.x += 2; } else { if (p.o.side == 'r') { ttemp.x -= 2; } } } } c = {'x': ttemp.x, 'y': ttemp.y}; _root.all.r1.localToGlobal(c); if (!_root.all.r1.walls.hitTest(c.x, c.y, true)) { t._x = ttemp.x; t._y = ttemp.y; t.xvel = ttemp.xvel; t.yvel = ttemp.yvel; if (_root.gsidep == 1) { if (p.o.side == 'l') { _root.gside = 90; } if (p.o.side == 't') { _root.gside = 180; } if (p.o.side == 'r') { _root.gside = -90; } if (p.o.side == 'b') { _root.gside = 0; } } else { if (_root.gsidep == 2) { if (p.o.side == 'l') { _root.gside = -90; } if (p.o.side == 't') { _root.gside = 0; } if (p.o.side == 'r') { _root.gside = 90; } if (p.o.side == 'b') { _root.gside = 180; } } } if (Math.abs(t.xvel) > 5 or Math.abs(t.yvel) > 5) { p.p.r.gotoAndPlay(2); p.o.p.gotoAndStop('p'); } parray[i].p = true; parray[i].portal = p; if (Math.abs(t.xvel) < 0.5) { t.xvel = 0; } if (Math.abs(t.yvel) < 0.5) { t.yvel = 0; } } else { wbounce(t, side, true); } } function wbounce(t, side, p) { os = p ? 0 : 8; if (side == 't') { t._y = os; vol = t.yvel > -1.2 ? 0 : t.yvel * 5; t.yvel *= -t.bounce; } else { if (side == 'r') { t._x = _parent.frame._width - os; vol = t.xvel < 1.2 ? 0 : t.xvel * 5; t.xvel *= -t.bounce; } else { if (side == 'b') { t._y = _parent.frame._height - os; vol = t.yvel < 1.2 ? 0 : t.yvel * 5; t.yvel *= -t.bounce; } else { if (side == 'l') { t._x = os; vol = t.xvel > -1.2 ? 0 : t.xvel * 5; t.xvel *= -t.bounce; } } } } t.s.setVolume(vol); t.s.start(); } this.setMask(_parent.mask2); stop(); xvel = 0; yvel = 0; speed = 2; _root.focus = this; p1 = _parent.p1; p2 = _parent.p2; i = 0; parray = new Array(); xi = (random(10) + 5) / 20; yi = (random(10) + 5) / 20; ii = 0; s = new Sound(this); s.attachSound('bi'); onEnterFrame = function () { bounce = _root.gEnable ? 0.5 : 0.9; vel = Math.sqrt(xvel * xvel + yvel * yvel); if (!_root.paused) { if (_root.released) { if (_root.tr and !_root.hit and Math.abs(xvel) < 1 and Math.abs(yvel) < 1) { _root.tr2 = true; i -= i > 250 ? (i > 500 ? 4 : 2) : 1; if (i >= 1) { } else { i = 0; } null; yvel = 0; xvel = 0; _x = parray[i].x; _y = parray[i].y; _parent.p1._x = parray[i].p1x; _parent.p1._y = parray[i].p1y; _parent.p1._rotation = parray[i].p1r; _parent.p1.side = parray[i].p1s; _parent.p1.al = parray[i].p1a; _parent.p2._x = parray[i].p2x; _parent.p2._y = parray[i].p2y; _parent.p2._rotation = parray[i].p2r; _parent.p2.side = parray[i].p2s; _parent.p2.al = parray[i].p2a; if (parray[i - 18] != undefined and !_root.go) { tmp = _parent.rings.attachMovie('trail', 't' + _parent.rings.getNextHighestDepth(), _parent.rings.getNextHighestDepth()); tmp.gotoAndPlay(21); tmp._x = parray[i - (i > 248 ? (i > 500 ? 72 : 36) : 18)].x; tmp._y = parray[i - (i > 248 ? (i > 500 ? 72 : 36) : 18)].y; tmp._width = 16; tmp._height = 16; } if (i <= 20) { _parent.bh.play(); } if (i < 1) { _root.go = false; _root.tr = false; _root.tr2 = false; _root.gside = 0; parray = new Array(); xvel = 0; yvel = 0; _root.released = false; _root.gEnable = true; _root.cursor.play(); _root.loops.p(); } } else { if (!Key.isDown(32) or i < 10 or _root.tr) { parray[i] = {'x': _x, 'y': _y, 'xvel': xvel, 'yvel': yvel, 'p1x': _parent.p1._x, 'p1y': _parent.p1._y, 'p1r': _parent.p1._rotation, 'p1s': _parent.p1.side, 'p1a': _parent.p1.al, 'p2x': _parent.p2._x, 'p2y': _parent.p2._y, 'p2r': _parent.p2._rotation, 'p2s': _parent.p2.side, 'p2a': _parent.p2.al, 'xmouse': _root._xmouse, 'ymouse': _root._ymouse}; if (_root.tr) { xvel *= 0.7; yvel *= 0.7; } else { if (_root.gEnable and !_root.hit) { if (_root.gside == 0 or _root.gside == 180) { xvel *= 0.99; yvel += (_root.gside == 0) ? _root.gravity : -_root.gravity; } else { yvel *= 0.99; xvel += (_root.gside == -90) ? _root.gravity : -_root.gravity; } if (yvel > 50) { yvel = 50; } if (xvel > 50) { xvel = 50; } if (yvel < -50) { yvel = -50; } if (xvel < -50) { xvel = -50; } } } _x = _x + xvel; _y = _y + yvel; if (_y > _parent.frame._height - 8) { if (_x > p1._x - p1._width / 2 and _x < p1._x + p1._width / 2 and p1.side == 'b') { if (_y > _parent.frame._height) { port(this, p1, 'b'); } } else { if (_x > p2._x - p2._width / 2 and _x < p2._x + p2._width / 2 and p2.side == 'b') { if (_y > _parent.frame._height) { port(this, p2, 'b'); } } else { wbounce(this, 'b', false); } } } else { if (_y < 8) { if (_x > p1._x - p1._width / 2 and _x < p1._x + p1._width / 2 and p1.side == 't') { if (_y < 0) { port(this, p1, 't'); } } else { if (_x > p2._x - p2._width / 2 and _x < p2._x + p2._width / 2 and p2.side == 't') { if (_y < 0) { port(this, p2, 't'); } } else { wbounce(this, 't', false); } } } } if (_x < 8) { if (_y > p1._y - p1._height / 2 and _y < p1._y + p1._height / 2 and p1.side == 'l') { if (_x < 0) { port(this, p1, 'l'); } } else { if (_y > p2._y - p2._height / 2 and _y < p2._y + p2._height / 2 and p2.side == 'l') { if (_x < 0) { port(this, p2, 'l'); } } else { wbounce(this, 'l', false); } } } else { if (_x > _parent.frame._width - 8) { if (_y > p1._y - p1._height / 2 and _y < p1._y + p1._height / 2 and p1.side == 'r') { if (_x > _parent.frame._width) { port(this, p1, 'r'); } } else { if (_y > p2._y - p2._height / 2 and _y < p2._y + p2._height / 2 and p2.side == 'r') { if (_x > _parent.frame._width) { port(this, p2, 'r'); } } else { wbounce(this, 'r', false); } } } } tmp = _parent.rings.attachMovie('trail', 't' + _parent.rings.getNextHighestDepth(), _parent.rings.getNextHighestDepth()); tmp._x = _x; tmp._y = _y; tmp._xscale = ball._xscale; tmp._yscale = ball._yscale; tmp._alpha = vel < 10 ? 100 * vel / 10 : 100; ++i; } else { if (_root.all.r1.bf == undefined and !_root.hit and !_root.paused) { bf = _root.all.r1.attachMovie('ball freeze', 'bf', _root.all.r1.getNextHighestDepth()); bf._x = _root.all.r1.b._x; bf._y = _root.all.r1.b._y; } } } } else { ++ii; ball._x += Math.sin(ii * xi) * 2; ball._y += Math.cos(ii * yi) * 2; } } }; } instance ball of movieClip 596 { onClipEvent (keyDown) { if (Key.isDown(88) and _root.released and _parent.parray.length > 10 and !_root.tr and !_root.paused and !_root.hit and !_root.go) { if (_root.levels[_root.level].tr == false) { if (!pressed) { pressed = true; _root.comz.txt.s.start(); _root.htext += ((_root.htext != '') ? '\n' : '') + '> Time reversal is not permitted on this level'; _root.comz.gotoAndStop('tframe'); } } else { _root.tr = true; Mouse.hide(); _root.attachMovie('cursor', 'cursor', _root.getNextHighestDepth()); _root.loops.r(); } } } } frame 17 { stop(); } } movieClip 606 { } movieClip 607 { frame 1 { stop(); } frame 2 { _width = 20 + Math.abs(_root.all.r1.b.yvel + _root.all.r1.b.xvel); } frame 31 { } } movieClip 626 { frame 1 { stop(); } instance of movieClip 109 { onClipEvent (enterFrame) { if (_root.started and random(5) == 1) { _parent.play(); } } } frame 20 { stop(); _root.portals = true; } frame 21 { stop(); i = 0; while (i < 20) { t = _parent._parent.attachMovie('spark', 's' + _parent._parent.getNextHighestDepth(), _parent._parent.getNextHighestDepth()); t._y = _parent._y + Math.cos(Math.PI * _parent._rotation / 180) * (random(70) - 35); t._x = _parent._x + Math.sin(Math.PI * _parent._rotation / 180) * (random(70) - 35); t.xvel = Math.cos(Math.PI * _parent._rotation / 180) * (6 + Math.random() * 5); t.yvel = Math.sin(Math.PI * _parent._rotation / 180) * (6 + Math.random() * 5); t._alpha = 80; t.g = false; ++i; } gotoAndStop('s'); } } movieClip 630 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 637 { frame 1 { if (_parent.o == _root.all.r1.p2) { gotoAndPlay('b'); } onEnterFrame = function () { if (_root.paused) { stop(); } else { play(); } }; } frame 27 { gotoAndPlay(1); } frame 54 { gotoAndPlay('b'); } } movieClip 638 { frame 1 { stop(); this.useHandCursor = false; onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse)) { if ((!o.hitTest(_root._xmouse, _root._ymouse) or _name == 'p1') and !_root.tr) { ++_root.clicks; if (!_root.paused) { dragging = true; _root.dragging = true; yo = _parent._ymouse - _y; xo = _parent._xmouse - _x; h.gotoAndPlay('in'); onEnterFrame = function () { if (!_root.tr) { if (_parent._ymouse > _parent._xmouse * (_parent.frame._height / _parent.frame._width)) { if (_parent._ymouse < _parent._xmouse * (-_parent.frame._height / _parent.frame._width) + _parent.frame._height) { side = 'l'; al = 'v'; _rotation = 0; _x = 0; _y = _parent._ymouse - yo; if (_y < _height / 2) { _y = _height / 2; } if (_y > _parent.frame._height - _height / 2) { _y = _parent.frame._height - _height / 2; } } else { side = 'b'; al = 'h'; _rotation = -90; _x = _parent._xmouse - xo; _y = _parent.frame._height; if (_x < _width / 2) { _x = _width / 2; } if (_x > _parent.frame._width - _width / 2) { _x = _parent.frame._width - _width / 2; } } } else { if (_parent._ymouse < _parent._xmouse * (-_parent.frame._height / _parent.frame._width) + _parent.frame._height) { side = 't'; al = 'h'; _rotation = 90; _x = _parent._xmouse - xo; _y = 0; if (_x < _width / 2) { _x = _width / 2; } if (_x > _parent.frame._width - _width / 2) { _x = _parent.frame._width - _width / 2; } } else { side = 'r'; al = 'v'; _rotation = -180; _x = _parent.frame._width; _y = _parent._ymouse - yo; if (_y < _height / 2) { _y = _height / 2; } if (_y > _parent.frame._height - _height / 2) { _y = _parent.frame._height - _height / 2; } } } } }; } } } }; onMouseUp = function () { if (dragging) { delete onEnterFrame; p.gotoAndPlay('wobble'); h.gotoAndPlay('out'); dragging = false; _root.dragging = false; } }; } instance p of movieClip 626 { onClipEvent (enterFrame) { if (_parent.dragging and !_root.ended) { xd = _parent.o._x - _parent._x; yd = _parent.o._y - _parent._y; d = Math.sqrt(xd * xd + yd * yd); if (d < 200) { if (_parent._parent.pa == undefined) { j = _parent._parent.attachMovie('portal arc', 'pa', _parent._parent.getNextHighestDepth()); } j.d = d; j.r = 180 + (Math.atan2(yd, xd) / Math.PI) * 180; j.t = _parent.o; } else { j.snd.stop(); j.removeMovieClip(); } } } } frame 10 { stop(); } } movieClip 639 { } movieClip 641 { } movieClip 644 { frame 1 { stop(); onEnterFrame = function () { if (!_root.paused) { if (Key.isDown(32)) { play(); } _alpha = random(30) + 70; } }; } frame 8 { this.unloadMovie(); } } movieClip 647 { } movieClip 648 { } movieClip 652 { frame 1 { stop(); onEnterFrame = function () { if (_root.collected == 2) { delete onEnterFrame; play(); } }; } frame 24 { stop(); onEnterFrame = function () { if (_root.tr) { this.unloadMovie(); } }; } } movieClip 656 { frame 1 { onEnterFrame = function () { if (_root.paused) { stop(); } else { play(); } }; } } movieClip 657 { frame 1 { stop(); s = new Sound(this); s.attachSound('grav' + (random(3) + 1)); onEnterFrame = function () { if (this.hitTest(_parent.b) and _currentframe == 1) { if (_root.gEnable) { _parent.b.yvel = 0; _parent.b.xvel = 0; } else { v = Math.sqrt(_parent.b.xvel * _parent.b.xvel + _parent.b.yvel * _parent.b.yvel); _parent.b.xvel = -Math.sin((_rotation / 180) * Math.PI) * v; _parent.b.yvel = Math.cos((_rotation / 180) * Math.PI) * v; } _parent.b._x = _x; _parent.b._y = _y; s.start(); _root.gside = _rotation; g = _root.attachMovie('grav shift', 'grav shift' + _rotation, _root.getNextHighestDepth()); g.r = _rotation; play(); } }; } frame 10 { this.unloadMovie(); } } movieClip 659 { } // unknown tag 88 length 80 movieClip 662 { frame 1 { t.autoSize = true; t.text = _parent.item; bg._width = t._width + 5; } } movieClip 663 { frame 1 { stop(); onEnterFrame = function () { _alpha = random(30) + 70; if (_root.released) { play(); } }; } frame 15 { this.unloadMovie(); } } movieClip 666 { frame 1 { onEnterFrame = function () { if (!_root.paused) { _rotation = _rotation + (random(50) + 50); } }; } } movieClip 667 { } movieClip 668 { frame 1 { stop(); s = new Sound(this); s.attachSound('grav' + (random(3) + 1)); onEnterFrame = function () { if (this.hitTest(_parent.b)) { s.start(); g = _root.attachMovie('grav shift', 'grav shift g', _root.getNextHighestDepth()); g.GT = true; _root.gEnable = !_root.gEnable; d = 10; x = a._x; y = a._y; onEnterFrame = function () { --d; a._x = x + (random(d) + 1) * (random(2) * 2 - 1); a._y = y + (random(d) + 1) * (random(2) * 2 - 1); _alpha = _alpha - 10; _xscale = _xscale - 10; _yscale = _yscale - 10; if (d < 1) { this.unloadMovie(); } }; } }; } } movieClip 677 { frame 1 { stop(); } } movieClip 678 { frame 1 { function f1() { if (this.hitTest(_parent.b) and !_root.tr and o._currentframe == 1 and o != undefined and !_root.paused) { rl = _parent.attachMovie('rift link', 'rl', _parent.getNextHighestDepth()); rl._x = _x; rl._y = _y; x = o._x - _x; y = o._y - _y; rl._width = Math.sqrt(x * x + y * y); rl._rotation = Math.atan2(y, x) * 180 / Math.PI; rl.r1 = this; rl.r2 = o; if (_root.gEnable) { _parent.b.yvel = 0; _parent.b.xvel = 0; } o.play(); } } function f2() { if (!this.hitTest(_parent.b)) { delete onEnterFrame; onEnterFrame = f1; } } delete s; stop(); if (onEnterFrame == undefined) { onEnterFrame = f1; } } frame 2 { delete onEnterFrame; onEnterFrame = f2; _parent.b._x = _x; _parent.b._y = _y; } } movieClip 679 { frame 1 { gotoAndStop(_root.level); while (this['t' + _root.total] != undefined) { ++_root.total; } i = 1; while (i <= 2) { if (_root.all.r1['p' + i]._x < 0) { _root.all.r1['p' + i].side = 'l'; _root.all.r1['p' + i].al = 'v'; _root.all.r1['p' + i]._x = 0; } if (_root.all.r1['p' + i]._x > _root.all.r1.frame._width) { _root.all.r1['p' + i].side = 'r'; _root.all.r1['p' + i].al = 'v'; _root.all.r1['p' + i]._x = _root.all.r1.frame._width; } if (_root.all.r1['p' + i]._y < 0) { _root.all.r1['p' + i].side = 't'; _root.all.r1['p' + i].al = 'h'; _root.all.r1['p' + i]._y = 0; } if (_root.all.r1['p' + i]._y > _root.all.r1.frame._height) { _root.all.r1['p' + i].side = 'b'; _root.all.r1['p' + i].al = 'h'; _root.all.r1['p' + i]._y = _root.all.r1.frame._height; } ++i; } _x = 400 - frame._width / 2; _y = 300 - frame._height / 2; _root.bm = new flash.display.BitmapData(frame._width, frame._height, false); if (_root.frameEnable) { _root.frame2.clear(); _root.frame2.lineStyle(1, 16777215, 30, true); f = frame; c = new Object({'x': _x + f._width / 2, 'y': _y + f._height / 2}); pp1 = new Object({'x': _x, 'y': _y}); pp2 = new Object({'x': _x + f._width, 'y': _y}); p3 = new Object({'x': _x + f._width, 'y': _y + f._height}); p4 = new Object({'x': _x, 'y': _y + f._height}); _root.frame2.moveTo(pp1.x, pp1.y); _root.frame2.lineTo(pp1.x - (c.x - pp1.x) / _root.s, pp1.y - (c.y - pp1.y) / _root.s); _root.frame2.lineTo(pp2.x - (c.x - pp2.x) / _root.s, pp2.y - (c.y - pp2.y) / _root.s); _root.frame2.lineTo(pp2.x, pp2.y); _root.frame2.moveTo(pp2.x - (c.x - pp2.x) / _root.s, pp2.y - (c.y - pp2.y) / _root.s); _root.frame2.lineTo(p3.x - (c.x - p3.x) / _root.s, p3.y - (c.y - p3.y) / _root.s); _root.frame2.lineTo(p3.x, p3.y); _root.frame2.moveTo(p3.x - (c.x - p3.x) / _root.s, p3.y - (c.y - p3.y) / _root.s); _root.frame2.lineTo(p4.x - (c.x - p4.x) / _root.s, p4.y - (c.y - p4.y) / _root.s); _root.frame2.lineTo(p4.x, p4.y); _root.frame2.moveTo(p4.x - (c.x - p4.x) / _root.s, p4.y - (c.y - p4.y) / _root.s); _root.frame2.lineTo(pp1.x - (c.x - pp1.x) / _root.s, pp1.y - (c.y - pp1.y) / _root.s); } bh = this.attachMovie('ball highlight', 'bh', b.getDepth() - 1); bh._x = b._x; bh._y = b._y; } frame 1 { if (_root.level == 1) { _root.stage = '1a'; _root.htext = '> Position the wormholes by dragging them around the walls\r> Collect all the tokens to open the portal to pregress to the next section\r> Press the space bar to release the orb'; _root.showHelp = true; _root.timer = getTimer(); _root.clicks = 0; } } instance mask of movieClip 534 { onClipEvent (load) { _width = _parent.frame._width - 1; _height = _parent.frame._height - 1; } } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } instance of movieClip 639 { onClipEvent (load) { _root.time = Infinity; if (_root.level == 1) { _root.moduleTxt = 'basic wormholes'; } } } instance cursor of movieClip 116 { onClipEvent (load) { _visible = false; this.startDrag(true); } } instance f2 of movieClip 641 { onClipEvent (load) { _width = _parent.frame._width - 1; _height = _parent.frame._height - 1; } } instance gc2 of movieClip 116 { onClipEvent (load) { _visible = false; } } instance mask2 of movieClip 534 { onClipEvent (load) { _width = _parent.frame._width - 1; _height = _parent.frame._height - 1; } } frame 2 { _root.stage = '1b'; _root.htext = '> Obstructions block the path of the orb\r> Wormholes cannot be placed on obstructions'; _root.showHelp = true; } frame 3 { _root.stage = '1c'; _root.htext = '> You will now see ghost rooms while dragging the wormholes\r> These show space as a conceptual continuum\r> They can be used to help calculate the path of the orb through space'; _root.showHelp = true; } frame 4 { _root.stage = '1d'; _root.htext = '> The orb can be frozen by pressing and holding the SPACE BAR\r> The orb can also be frozen automatically while dragging wormholes\r> Enable this feature in the config menu'; _root.showHelp = true; _root.comz.attachMovie('config sign', 'cs', _root.comz.getNextHighestDepth()); if (_root.so.data.rooms != undefined) { } else { _root.so.data.rooms = true; } 0; } frame 5 { _root.stage = '1e'; _root.htext = '> Ghost rooms can be processor heavy and have been disabled for your safety\r> It is recommended that they are only used when necessary\r> Re-enabled them in the config menu, or by pressing G'; _root.showHelp = true; _root.so.data.rooms = false; } frame 6 { _root.stage = '2a'; _root.htext = '> Initiate a CTF after the orb has been released by pressing X on your keyboard\r> The orb will follow its path back in time to its origin position\r> CTFs can not be initiated on some levels'; _root.showHelp = true; _root.timer = getTimer(); _root.clicks = 0; } instance of movieClip 639 { onClipEvent (load) { _root.moduleTxt = 'complex time fields'; _root.time = 600; } } frame 7 { _root.stage = '2b'; } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } frame 8 { _root.stage = '2c'; _root.htext = '> Remember, the ghost rooms can be turned on/off by pressing G'; _root.showHelp = true; } frame 9 { _root.stage = '2d'; } frame 10 { _root.stage = '2e'; _root.time = 40; } frame 11 { _root.stage = '3a'; _root.htext = '> A Gravitational Shift Unit (GSU) rotates the direction of gravity\r> When the orb collides with a GSU, gravity will change depending on its rotation'; _root.showHelp = true; _root.timer = getTimer(); _root.clicks = 0; } instance of movieClip 663 { onClipEvent (load) { item = 'gsu'; } } instance of movieClip 639 { onClipEvent (load) { _root.moduleTxt = 'gravitaty manipulation'; _root.time = 600; } } frame 12 { _root.stage = '3b'; _root.htext = '> Remember, the orb can be frozen by pressing and holding the SPACE BAR'; _root.showHelp = true; } frame 13 { _root.stage = '3c'; _root.htext = '> A Gravitational Toggle Unit (GTU) enables or disables gravity'; _root.showHelp = true; } instance of movieClip 663 { onClipEvent (load) { item = 'gtu'; } } frame 14 { _root.stage = '3d'; } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } frame 15 { _root.stage = '3e'; } frame 16 { _root.stage = '4a'; _root.htext = '> When the ball hits a stationary rift, it will be transported to the corresponding rift\r> It is up to the participant to deduce which rifts correspond'; _root.showHelp = true; _root.timer = getTimer(); _root.clicks = 0; } instance r1 of movieClip 678 { onClipEvent (load) { o = _parent.r2; } } instance r2 of movieClip 678 { onClipEvent (load) { o = _parent.r1; } } instance of movieClip 663 { onClipEvent (load) { item = 'stationary rift'; } } instance of movieClip 639 { onClipEvent (load) { _root.moduleTxt = 'advanced wormholes'; _root.time = 600; } } frame 17 { _root.stage = '4b'; } instance r3 of movieClip 678 { onClipEvent (load) { o = _parent.r4; } } instance r4 of movieClip 678 { onClipEvent (load) { o = _parent.r3; } } frame 18 { _root.stage = '4c'; } instance r1 of movieClip 678 { onClipEvent (load) { o = _parent.r2; } } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } frame 19 { _root.stage = '4d'; } frame 20 { _root.stage = '4e'; } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } instance r2 of movieClip 678 { onClipEvent (load) { o = _parent.r3; } } instance r3 of movieClip 678 { onClipEvent (load) { o = _parent.r4; } } instance r4 of movieClip 678 { onClipEvent (load) { o = _parent.r5; } } instance r5 of movieClip 678 { onClipEvent (load) { o = _parent.r6; } } instance r6 of movieClip 678 { onClipEvent (load) { o = _parent.r7; } } instance r7 of movieClip 678 { onClipEvent (load) { o = _parent.r8; } } instance r8 of movieClip 678 { onClipEvent (load) { o = _parent.r1; } } frame 21 { _root.stage = '5a'; _root.htext = '> The following tasks incorporate all methods learnt in the course so far\r> These tasks are more challenging\r> Feelings of self-worthlessness/frustration are to be expected'; _root.showHelp = true; _root.timer = getTimer(); _root.clicks = 0; } instance of movieClip 639 { onClipEvent (load) { _root.moduleTxt = 'further challenges'; _root.time = 450; } } frame 22 { _root.stage = '5b'; _root.htext = '> Remember, the orb can be made to follow its path back in time by pressing X'; _root.showHelp = true; } frame 23 { _root.stage = '5c'; } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } instance r1 of movieClip 678 { onClipEvent (load) { o = _parent.r2; } } instance r2 of movieClip 678 { onClipEvent (load) { o = _parent.r1; } } frame 24 { _root.stage = '5d'; _root.time = 100; } frame 25 { _root.stage = '5e'; _root.time = 150; } frame 26 { _root.stage = '5f'; } frame 27 { _root.stage = '5g'; _root.gsidep = 1; _root.htext = '> As far as the laws of mathematics refer to reality, they are not certain\r> As far as they are certain, they do not refer to reality'; _root.showHelp = true; } frame 28 { _root.stage = '5h'; _root.gsidep = 1; } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } frame 29 { _root.stage = '5i'; _root.gsidep = 1; } instance r1 of movieClip 678 { onClipEvent (load) { o = _parent.r2; } } instance r2 of movieClip 678 { onClipEvent (load) { o = _parent.r1; } } frame 30 { _root.stage = '5j'; } frame 31 { _root.stage = '5k'; _root.gsidep = 1; } frame 32 { _root.stage = '5l'; } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } instance r1 of movieClip 678 { onClipEvent (load) { o = _parent.r2; } } instance r2 of movieClip 678 { onClipEvent (load) { o = _parent.r1; } } instance r4 of movieClip 678 { onClipEvent (load) { o = _parent.r3; } } instance r3 of movieClip 678 { onClipEvent (load) { o = _parent.r4; } } frame 33 { _root.stage = '5m'; _root.time = Infinity; } frame 34 { _root.stage = '5n'; } instance p1 of movieClip 638 { onClipEvent (load) { o = _parent.p2; } } instance p2 of movieClip 638 { onClipEvent (load) { o = _parent.p1; } } frame 35 { _root.stage = 'X'; _root.final = true; _root.time = Infinity; } instance r1 of movieClip 678 { onClipEvent (load) { o = _parent.r2; } } instance r2 of movieClip 678 { onClipEvent (load) { o = _parent.r1; } } instance r3 of movieClip 678 { onClipEvent (load) { o = _parent.r2; } } instance r6 of movieClip 678 { onClipEvent (load) { o = _parent.r1; } } instance r7 of movieClip 678 { onClipEvent (load) { o = _parent.r6; } } instance r8 of movieClip 678 { onClipEvent (load) { o = _parent.r10; } } instance r9 of movieClip 678 { onClipEvent (load) { o = _parent.r5; } } instance r10 of movieClip 678 { onClipEvent (load) { o = _parent.r11; } } instance r11 of movieClip 678 { onClipEvent (load) { o = _parent.r9; } } } movieClip 680 { frame 1 { stop(); _root.go = false; _root.hit = false; _root.total = 0; _root.collected = 0; _root.released = false; _root.portals = false; _root.tr = false; _root.tr2 = false; _root.comz.gotoAndStop(1); _root.showHelp = false; _root.gEnable = true; _root.gside = 0; _root.gChange = false; _root.ended = false; _root.paused = false; _root.gsidep = 0; _root.htext = ''; _root.cursor.removeMovieClip(); _root.final = false; Mouse.show(); z = _root.attachMovie('start zoom', 'sz', _root.getNextHighestDepth()); z.swapDepths(_root.white); _root.started = false; if (_root.menable) { _root.attachMovie('loops', 'loops', _root.getNextHighestDepth()); } } } movieClip 681 { } movieClip 683 { frame 1 { var bitmapData_1 = new flash.display.BitmapData(_parent._width, _parent._height, false); var mc_1 = this.createEmptyMovieClip('mc', this.getNextHighestDepth()); mc_1.attachBitmap(bitmapData_1, this.getNextHighestDepth()); mc_1.onEnterFrame = function () { bitmapData_1.noise(random(300), 0, 255, 0, true); }; _alpha = 10; } } movieClip 686 { } movieClip 687 { } movieClip 688 { } button 691 { on (press) { _root.paused = !_root.paused; _parent.play(); } } button 692 { on (press) { if (_root.started and !_root.hit and !_root.go) { stopAllSounds(); _root.frame.unloadMovie(); _root.f2.unloadMovie(); _root.comz.unloadMovie(); _root.gotoAndPlay('menu'); _root.paused = !_root.paused; } } } // unknown tag 88 length 67 movieClip 697 { frame 1 { track.text = _root.tracks[_root.music - 1]; } instance of movieClip 688 { onClipEvent (enterFrame) { _parent.f(this); } } } movieClip 698 { frame 1 { stop(); } frame 2 { if (_parent.bg._currentframe > 1) { _parent.bg.gotoAndStop(12); } _root.paused = true; } frame 7 { stop(); } frame 8 { if (_parent.bg._currentframe == 12) { _parent.bg.gotoAndPlay(2); } _root.paused = false; } } movieClip 700 { frame 1 { var bitmapData_1 = new flash.display.BitmapData(_parent._width, _parent._height, false); var mc_1 = this.createEmptyMovieClip('mc', this.getNextHighestDepth()); mc_1.attachBitmap(bitmapData_1, this.getNextHighestDepth()); mc_1.onEnterFrame = function () { if (_root.comz._currentframe > 1) { _visible = true; bitmapData_1.noise(random(300), 0, 255, 0, true); } else { _visible = false; } }; _alpha = 10; } } movieClip 704 { frame 1 { stop(); } frame 15 { stop(); } } movieClip 705 { } movieClip 709 { } movieClip 710 { } movieClip 711 { } movieClip 713 { } movieClip 716 { instance of movieClip 713 { onClipEvent (load) { _xscale = 0; } onClipEvent (enterFrame) { if (_root.all.r1.b.i > _root.time - 250 and !_root.tr and !_root.hit) { _xscale = 100 * (_root.all.r1.b.i / _root.time); _parent.time.text = (_root.time - _root.all.r1.b.i) / 25; if (_root.time == _root.all.r1.b.i) { stopAllSounds(); _root.attachMovie('go', 'gameover', _root.getNextHighestDepth()); _parent._parent.play(); } } else { _xscale = 100 * (_root.all.r1.b.i / _root.all.r1.b.parray.length); _parent.time.text = _root.all.r1.b.i / 25; } if (_parent.time.text == Math.round(_parent.time.text)) { _parent.time.text += '.00'; } } } } movieClip 717 { frame 1 { stop(); } instance of movieClip 109 { onClipEvent (enterFrame) { if ((_root.tr2 or Number(_root.all.r1.b.i) >= _root.time - 250 and _root.all.r1.b.i != undefined) and !_root.hit) { _parent.play(); } } } frame 7 { stop(); } instance of movieClip 716 { onClipEvent (enterFrame) { if (!_root.tr and _root.all.r1.b.i < _root.time - 250 and !_root.go or _root.hit) { _parent.play(); } } } } movieClip 719 { } movieClip 721 { } movieClip 723 { } movieClip 726 { frame 1 { stop(); } } movieClip 727 { frame 1 { gotoAndStop(_parent.t); } } movieClip 729 { } movieClip 730 { frame 1 { var bitmapData_1 = new flash.display.BitmapData(130, 23, false); var mc_1 = this.createEmptyMovieClip('mc', this.getNextHighestDepth()); mc_1.attachBitmap(bitmapData_1, this.getNextHighestDepth()); mc_1.onEnterFrame = function () { bitmapData_1.noise(random(300), 0, 255, 0, true); }; _alpha = 20; } } movieClip 733 { } movieClip 737 { frame 1 { gotoAndStop(_parent._parent.t); } } movieClip 738 { } movieClip 739 { } movieClip 741 { frame 1 { stop(); } instance of movieClip 729 { onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse) and !_root.tr) { if (_parent.t == 'init' and _root.so.data.r == undefined) { _root.so.data.r = true; _parent._parent.attachMovie('restart sign', 'restart sign', _parent._parent.getNextHighestDepth()); } if (_parent.t == 'config' and _root.so.data.c == undefined) { _root.so.data.c = true; _parent._parent.attachMovie('config sign 2', 'restart sign', _parent._parent.getNextHighestDepth()); } _parent.play(); } } } instance of movieClip 738 { onClipEvent (enterFrame) { if (!_parent.hitTest(_root._xmouse, _root._ymouse)) { _parent.play(); } } } frame 8 { stop(); } instance of movieClip 729 { onClipEvent (enterFrame) { if (!this.hitTest(_root._xmouse, _root._ymouse)) { _parent.play(); } } } } button 746 { on (press) { _root.so.data.q = 'medium'; gotoAndStop(_root.so.data.q); _quality = 'medium'; } } button 747 { on (press) { _root.so.data.q = 'low'; gotoAndStop(_root.so.data.q); _quality = 'low'; } } button 748 { on (press) { _root.so.data.q = 'high'; gotoAndStop(_root.so.data.q); _quality = 'high'; } } movieClip 752 { } button 753 { on (press) { f1(); _root.so.data[v] = false; gotoAndStop(2); } } button 754 { on (press) { f1(); _root.so.data[v] = true; gotoAndStop(1); } } movieClip 757 { frame 3 { t.enabled = false; f.enabled = false; } } movieClip 761 { } movieClip 763 { } movieClip 764 { instance of movieClip 763 { onClipEvent (load) { _parent._parent[_parent.v].text = _root.so.data[_parent.v]; _x = _root.so.data[_parent.v] * _parent.bg._width / 100; } onClipEvent (press) { onEnterFrame = function () { _x = _parent._xmouse; if (_x >= 0) { } else { _x = 0; } 0; if (_x <= _parent.bg._width) { } else { _x = _parent.bg._width; } 0; _root.so.data[_parent.v] = Math.round((_x / _parent.bg._width) * 100); if (_parent.v == 'vol') { _root.loops.s.setVolume(_root.so.data[_parent.v]); } _parent._parent[_parent.v].text = _root.so.data[_parent.v]; }; } onClipEvent (release, releaseOutside) { delete onEnterFrame; } } } movieClip 769 { frame 1 { track.text = _root.tracks[_root.music - 1]; } instance of movieClip 688 { onClipEvent (enterFrame) { _parent.f(this); } } instance of movieClip 752 { onClipEvent (load) { gotoAndStop(_root.so.data.q); } } instance of movieClip 757 { onClipEvent (enterFrame) { v = 'rooms'; gotoAndStop((_root.so.data[v] == undefined) ? 3 : _root.so.data[v]); } } instance of movieClip 757 { onClipEvent (load) { v = 'gc'; gotoAndStop(_root.so.data[v]); } } instance of movieClip 764 { onClipEvent (load) { v = 'vol'; } } instance of movieClip 757 { onClipEvent (load) { v = 'freeze'; gotoAndStop(_root.so.data[v]); } } instance of movieClip 764 { onClipEvent (load) { v = 'gra'; } } } movieClip 770 { frame 1 { stop(); } frame 2 { if (_parent.bg._currentframe > 1) { _parent.bg.gotoAndStop(12); } _root.paused = true; } frame 7 { stop(); } frame 8 { if (_parent.bg._currentframe == 12) { _parent.bg.gotoAndPlay(2); } _root.paused = false; } } movieClip 772 { } button 780 { on (press) { getURL('http://www.dissoluteproductions.com/', '_blank'); } } movieClip 782 { frame 1 { t.autoSize = true; i = 1; stop(); s = new Sound(this); s.attachSound('text scroll'); s.start(0, 999); onEnterFrame = function () { if (_visible and i != length(_root.htext)) { if (_parent.bg.bg.bg._currentframe > 1) { _parent.bg.bg.bg.gotoAndStop(1); } s.setVolume(100); i += 6; t.htmlText = '<b>' + _root.htext.substr(0, i) + '<font color=\'#AAAAAA\'>' + _root.htext.substr(i, 3) + '</font><font color=\'#555555\'>' + _root.htext.substr(i + 3, 3) + '_</font></b>'; } if (i >= length(_root.htext)) { if (_parent.bg.bg.bg._currentframe == 1) { _parent.bg.bg.bg.play(); } i = length(_root.htext); t.htmlText = '<b>' + _root.htext + '<b>'; s.stop(); _root.started = true; if (_root.level != 1 and _root.levels[_root.level].tr != false) { delete onEnterFrame; } } }; onUnload = function () { s.stop(); }; } } movieClip 783 { frame 1 { function f(t) { if (iy - t._y < -1) { t._y += (iy - t._y) / 5; } } stop(); bg.bg.bg.gotoAndStop(1); } instance bg of movieClip 717 { onClipEvent (enterFrame) { _parent.f(this); } onClipEvent (load) { _parent.iy = _y; } } instance of movieClip 741 { onClipEvent (load) { t = 'config'; } onClipEvent (press) { if (!_root.hit and !_root.tr) { _parent.config.play(); if (_parent._currentframe > 1) { _parent.gotoAndStop(1); } if (_parent.abort._currentframe > 1) { _root.paused = !_root.paused; _parent.abort.play(); } } } onClipEvent (rollOver) { _parent.cs.gotoAndPlay('out'); } onClipEvent (keyDown) { if (Key.getCode() == 67 and _root.started and !_root.hit and !_root.go) { if (!_root.hit and !_root.tr) { _parent.config.play(); if (_parent._currentframe > 1) { _parent.gotoAndStop(1); } if (_parent.abort._currentframe > 1) { _root.paused = !_root.paused; _parent.abort.play(); } } } } } instance of movieClip 741 { onClipEvent (load) { t = 'init'; } onClipEvent (press) { if (_root.started and !_root.hit and !_root.go and !_root.tr) { _parent.abort.gotoAndStop(1); _parent.config.gotoAndStop(1); _root.all.play(); stopAllSounds(); _root.f2.clear(); } } onClipEvent (keyDown) { if (Key.getCode() == 82 and _root.started and !_root.hit and !_root.go) { _parent.abort.gotoAndStop(1); _parent.config.gotoAndStop(1); _root.all.play(); stopAllSounds(); _root.f2.clear(); } if (Key.getCode() == 71 and !_root.tr) { _root.so.data.rooms = !_root.so.data.rooms; Mouse.show(); } } } instance of movieClip 741 { onClipEvent (load) { t = 'abort'; } onClipEvent (press) { if (!_root.hit and !_root.tr) { _parent.abort.play(); _parent.cs.play(); if (_parent._currentframe > 1) { _parent.gotoAndStop(1); } if (_parent.config._currentframe > 1) { _root.paused = !_root.paused; _parent.config.play(); } } } } frame 30 { function f(t) { if (t._parent.txt._height - t._y > 2) { t._y += (t._parent.txt._height - t._y) / 3; } else { txt._visible = true; } } stop(); txt._visible = false; if (config._currentframe != 1) { config.gotoAndPlay(8); } } } button 786 { on (press) { _root.level = 1; _root.all.play(); stopAllSounds(); } } button 789 { on (press) { _root.level = 6; _root.all.play(); stopAllSounds(); } } button 791 { on (press) { _root.level = 11; _root.all.play(); stopAllSounds(); } } button 793 { on (press) { _root.level = 16; _root.all.play(); stopAllSounds(); } } button 795 { on (press) { if (_root.level < _root.all.r1._totalframes) { ++_root.level; } _root.all.play(); stopAllSounds(); } } button 798 { on (press) { if (_root.level > 1) { --_root.level; } _root.all.play(); stopAllSounds(); } } button 802 { on (press) { _root.level = random(_root.all.r1._totalframes) + 1; _root.all.play(); stopAllSounds(); } } movieClip 805 { } button 806 { on (press) { _root.level = 21; _root.all.play(); stopAllSounds(); } } button 808 { on (press) { _root.level = 35; _root.all.play(); stopAllSounds(); } } movieClip 810 { instance of movieClip 805 { onClipEvent (load) { frame = 0; time = getTimer(); } onClipEvent (enterFrame) { ++frame; if (getTimer() >= time + 1000) { displayFrame = frame; time = getTimer(); frame = 0; } } } } button 812 { on (press) { if (Key.isDown(16) and Key.isDown(17)) { play(); } } } button 813 { on (press) { play(); } } movieClip 815 { frame 1 { stop(); b.useHandCursor = false; } frame 5 { stop(); } }




http://swfchan.com/43/210709/info.shtml
Created: 8/10 -2018 06:22:45 Last modified: 8/10 -2018 06:22:45 Server time: 27/04 -2024 16:16:45