Frame 1
function dpweb() {
getURL ("http://www.dissoluteproductions.com/", "_blank");
}
function agweb() {
getURL ("http://www.armorgames.com/", "_blank");
}
stop();
Stage.scaleMode = "noScale";
System.security.allowDomain("server.cpmstar.com");
var so = SharedObject.getLocal("epsilon_so", "/");
MENU = new ContextMenu();
MENU.hideBuiltInItems();
f1 = new ContextMenuItem("\u00A9 Dissolute Productions", dpweb);
f2 = new ContextMenuItem("Armor Games", agweb);
MENU.customItems.push(f1);
MENU.customItems.push(f2);
_root.menu = MENU;
_root.currentv = 5;
lv = new LoadVars();
lv.load("http://www.dissoluteproductions.com/ep_version.txt");
lv.onLoad = function (success) {
if (success) {
_root.latestv = this.v;
} else {
_root.latestv = _root.currentv;
}
};
var CPMStarPoolID = 1052;
var CPMStarSubPoolID = 16;
var mcLoader = new MovieClipLoader();
var listener = new Object();
listener.onLoadError = function (loader) {
_root.play();
};
mcLoader.addListener(listener);
mcLoader.loadClip((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID, adBox);
sb.useHandCursor = false;
Instance of Symbol 4 MovieClip [mg] in Frame 1
onClipEvent (load) {
this.removeMovieClip();
}
Instance of Symbol 11 MovieClip "b" in Frame 1
onClipEvent (load) {
i = -30;
w = _width;
_width = 0;
}
onClipEvent (enterFrame) {
if (i > 330) {
_root.play();
this.unloadMovie();
} else {
i++;
_width = ((i < 0) ? 0 : (((i > 300) ? (w) : (w * (i / 300)))));
}
}
Frame 3
stop();
Frame 4
stop();
Instance of Symbol 102 MovieClip in Frame 4
on (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++;
};
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;
}
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();
Instance of Symbol 422 MovieClip "scan" in Frame 7
onClipEvent (load) {
gotoAndStop (24);
w = a._width;
h = a._height;
}
Instance of Symbol 448 MovieClip "b1" in Frame 7
onClipEvent (load) {
function p() {
_root.bg.play();
}
y = _y;
b = 1;
marea = "ng";
gotoAndStop (27);
}
Instance of Symbol 448 MovieClip "b2" in Frame 7
onClipEvent (load) {
y = _y;
b = 2;
link = "http://armorgames.com/";
gotoAndStop (27);
}
Instance of Symbol 448 MovieClip "b3" in Frame 7
onClipEvent (load) {
y = _y;
b = 3;
link = "http://armorblog.com/";
gotoAndStop (27);
}
Instance of Symbol 448 MovieClip "b4" in Frame 7
onClipEvent (load) {
y = _y;
b = 4;
link = "http://dissoluteproductions.com/";
gotoAndStop (27);
}
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();
Frame 101
stop();
boom = new Sound(this);
boom.attachSound("boom");
Instance of Symbol 498 MovieClip in Frame 101
onClipEvent (enterFrame) {
_ = (((getTimer() % 1000) > 500) ? "_" : "");
}
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 = 29;
}
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();
}
}
};
Symbol 4 MovieClip [mg] Frame 70
this.removeMovieClip();
Symbol 18 Button
on (press) {
if (Key.isDown(16) and Key.isDown(17)) {
play();
}
}
Symbol 22 MovieClip 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(getVersion())) + "&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);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("80938736", this, 10301, true);
Symbol 29 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 15
gotoAndPlay (1);
Symbol 36 MovieClip Frame 1
onEnterFrame = function () {
if (random(20) == 1) {
z = this.attachMovie("mg", "mg" + this.getNextHighestDepth(), this.getNextHighestDepth());
z._x = random(800);
}
};
Symbol 48 MovieClip Frame 1
txt.htmlText = (("This version: <b>" + _root.currentv) + "</b> Latest version: <b>") + _root.latestv;
Symbol 49 MovieClip Frame 1
stop();
if (_root.latestv > _root.currentv) {
nextFrame();
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 57 Button
on (press) {
getURL ("http://www.dissoluteproductions.com/", "_blank");
}
Symbol 63 MovieClip 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();
}
};
Symbol 63 MovieClip Frame 12
stop();
Symbol 68 Button
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());
}
}
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Instance of Symbol 72 MovieClip in Symbol 73 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 20);
}
Symbol 75 MovieClip [ball freeze] Frame 4
stop();
onEnterFrame = function () {
if ((((!Key.isDown(32)) or _root.paused) or _root.tr) or _root.go) {
play();
}
_rotation = (_rotation + 5);
};
Symbol 75 MovieClip [ball freeze] Frame 7
this.removeMovieClip();
Symbol 77 MovieClip 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);
}
};
}
Symbol 82 MovieClip Frame 1
if (_parent._parent._xscale == -100) {
t._xscale = _parent._parent._xscale;
t._x = 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));
}
}
Symbol 83 MovieClip Frame 1
if (_parent.r) {
gotoAndStop ("end");
}
if (_root.level > 6) {
stop();
}
Symbol 83 MovieClip Frame 206
stop();
if (_parent.r != true) {
_root.all.r1.p1.play();
_root.all.r1.p2.play();
}
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.paused) {
_rotation = (_rotation + 20);
}
}
Symbol 88 MovieClip Frame 1
_visible = false;
Symbol 89 MovieClip [ball highlight] Frame 1
_x = Math.round(_x);
_y = Math.round(_y);
stop();
if (_x > (_parent._width / 2)) {
_xscale = -100;
}
Instance of Symbol 88 MovieClip in Symbol 89 MovieClip [ball highlight] Frame 1
onClipEvent (enterFrame) {
if (!_root.paused) {
_parent._alpha = random(30) + 70;
if (Key.isDown(32) and _root.started) {
_root.released = true;
_parent.play();
}
}
}
Symbol 89 MovieClip [ball highlight] Frame 2
if (_root.all.r1.p1._currentframe > 1) {
_root.all.r1.p1.play();
_root.all.r1.p2.play();
}
Symbol 89 MovieClip [ball highlight] Frame 21
stop();
Symbol 89 MovieClip [ball highlight] Frame 22
_root.trSnd.stop();
Instance of Symbol 79 MovieClip in Symbol 89 MovieClip [ball highlight] Frame 22
on (press) {
_root.released = true;
}
Symbol 89 MovieClip [ball highlight] Frame 41
r = true;
Symbol 91 MovieClip [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.com.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));
}
Symbol 91 MovieClip [copy room] Frame 4
if (_root.level < 5) {
Mouse.show();
}
this.removeMovieClip();
Symbol 95 MovieClip Frame 1
Symbol 95 MovieClip Frame 2
stop();
Symbol 96 MovieClip [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;
};
Symbol 96 MovieClip [cursor] 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();
}
};
Symbol 99 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 53
stop();
Symbol 109 MovieClip 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;
Symbol 111 MovieClip Frame 2
stop();
Instance of Symbol 114 MovieClip in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
i = 2;
}
onClipEvent (enterFrame) {
i = i + 0.1;
_rotation = (_rotation + i);
}
Symbol 120 MovieClip Frame 1
function f(t) {
with (t) {
i = i + 0.05;
_x = _x + (Math.sin(i * xr) * 5);
_y = _y + (Math.cos(i * yr) * 5);
}
}
Instance of Symbol 111 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = (random(10) == 1);
_rotation = random(360);
}
Instance of Symbol 115 MovieClip "end" in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = (_width * 1.01);
_height = (_height * 1.01);
}
Instance of Symbol 117 MovieClip "t1" in Symbol 120 MovieClip Frame 1
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 Symbol 117 MovieClip "t3" in Symbol 120 MovieClip Frame 1
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 Symbol 117 MovieClip "t2" in Symbol 120 MovieClip Frame 1
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 Symbol 117 MovieClip "t0" in Symbol 120 MovieClip Frame 1
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 Symbol 119 MovieClip in Symbol 120 MovieClip Frame 1
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 Symbol 119 MovieClip in Symbol 120 MovieClip Frame 1
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 Symbol 117 MovieClip "t3" in Symbol 120 MovieClip Frame 1
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 Symbol 120 MovieClip in Symbol 121 MovieClip Frame 1
/* no clip actions */
Symbol 128 MovieClip 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 = 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();
}
};
Symbol 128 MovieClip Frame 3
snd.start(0, 999);
Symbol 128 MovieClip Frame 60
txt = ">/# lct bckup <*>";
Symbol 128 MovieClip Frame 96
txt = txt + "\r> scanning hosts . . .";
Symbol 128 MovieClip Frame 124
txt = txt + "\r> primary node located";
Symbol 128 MovieClip Frame 132
txt = txt + "\r> gathering blocks . . .";
Symbol 128 MovieClip Frame 139
txt = txt + "\r> #block 6";
Symbol 128 MovieClip Frame 140
txt = txt + "\r> #block 10";
Symbol 128 MovieClip Frame 141
txt = txt + "\r> #block 12";
Symbol 128 MovieClip Frame 142
txt = txt + "\r> #block 14";
Symbol 128 MovieClip Frame 143
txt = txt + "\r> #block 18";
Symbol 128 MovieClip Frame 144
txt = txt + "\r> #block 24";
Symbol 128 MovieClip Frame 145
txt = txt + "\r> #block 28";
Symbol 128 MovieClip Frame 146
txt = txt + "\r> #block 35";
Symbol 128 MovieClip Frame 147
txt = txt + "\r> compiling . . .";
Symbol 128 MovieClip Frame 163
i = 0;
txt = "> System backup restored";
Symbol 128 MovieClip Frame 201
i = 0;
txt = "> Requesting participant status...";
Symbol 128 MovieClip Frame 270
i = 0;
txt = "> Requesting participant status...";
Symbol 128 MovieClip Frame 341
i = 0;
txt = "> Requesting participant status...";
Symbol 128 MovieClip Frame 411
i = 0;
txt = "> . . . participant not found";
Symbol 128 MovieClip 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();
Symbol 128 MovieClip Frame 483
txt = txt + "\r\r> Closing participant file...";
Symbol 128 MovieClip Frame 495
txt = txt + "\r> Finalizing...";
Symbol 128 MovieClip Frame 504
txt = txt + "\r> Preparing phase 2...";
stop();
p = false;
Symbol 139 Button
on (press) {
_root.complete.removeMovieClip();
}
Symbol 140 MovieClip Frame 70
stop();
Symbol 141 MovieClip Frame 1
gotoAndStop(_parent.id);
Symbol 141 MovieClip Frame 6
_parent.end = true;
Symbol 142 MovieClip Frame 1
_parent.stop();
Symbol 142 MovieClip Frame 15
if (end) {
stop();
}
Symbol 142 MovieClip Frame 120
stop();
_parent.play();
Symbol 143 MovieClip 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 Symbol 142 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
id = 1;
}
Symbol 143 MovieClip Frame 10
txt("armor games", this);
Instance of Symbol 142 MovieClip in Symbol 143 MovieClip Frame 10
onClipEvent (load) {
id = 2;
}
Symbol 143 MovieClip Frame 20
txt("eon", this);
Instance of Symbol 142 MovieClip in Symbol 143 MovieClip Frame 20
onClipEvent (load) {
id = 3;
}
Instance of Symbol 142 MovieClip in Symbol 143 MovieClip Frame 40
onClipEvent (load) {
id = 4;
}
Instance of Symbol 142 MovieClip in Symbol 143 MovieClip Frame 51
onClipEvent (load) {
id = 5;
}
Instance of Symbol 142 MovieClip in Symbol 143 MovieClip Frame 60
onClipEvent (load) {
id = 6;
}
Symbol 144 MovieClip [complete] Frame 1
onUnload = function () {
stopAllSounds();
_root.gotoAndPlay("menu");
};
_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));
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;
}
if ((_root.clicks < _root.so.data.clicks[_root.levels[_root.level].module]) or (_root.so.data.clicks[_root.levels[_root.level].module] == "N/A")) {
_root.so.data.clicks[_root.levels[_root.level].module] = _root.clicks;
}
Instance of Symbol 102 MovieClip in Symbol 144 MovieClip [complete] Frame 1
on (press) {
_parent.removeMovieClip();
}
onClipEvent (load) {
if (_root.so.data.ending != true) {
_root.so.data.ending = true;
this.unloadMovie();
}
}
Symbol 144 MovieClip [complete] Frame 2
_root.frame2.clear();
Symbol 144 MovieClip [complete] 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", newline, newline, newline, newline, " ", " ", " ", " "];
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 - (i / 25);
}
}
if ((random(i) == 1) or asd) {
asd = false;
txt.text = "";
x = 0;
while (x <= 100) {
txt.text = txt.text + chars[random(chars.length)];
x++;
}
s.stop();
s.start(random(s.duration) / 1000, 999);
z._xscale = (z._yscale = random(50) + 100);
w._alpha = 100 - (100 * (i / 60));
w.gotoAndPlay(2);
bm.applyFilter(bm, bm.rectangle, new Point(0, 0), filter);
zz.attachBitmap(bm, 100);
}
};
Symbol 144 MovieClip [complete] Frame 143
delete onEnterFrame;
s.stop();
z.unloadMovie();
_root.com.unloadMovie();
Symbol 144 MovieClip [complete] Frame 175
_root.bm = new flash.display.BitmapData(500, 500, true, 0);
_quality = "medium";
Instance of Symbol 121 MovieClip "a" in Symbol 144 MovieClip [complete] Frame 175
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.bm.draw(this);
}
Symbol 144 MovieClip [complete] Frame 501
stop();
_quality = "high";
Instance of Symbol 128 MovieClip in Symbol 144 MovieClip [complete] Frame 501
onClipEvent (enterFrame) {
_ = (((getTimer() % 1000) > 500) ? "_" : "");
}
Symbol 144 MovieClip [complete] Frame 556
stop();
Symbol 146 MovieClip Frame 1
Symbol 147 MovieClip [dp letter] Frame 124
this.removeMovieClip();
Symbol 150 MovieClip [end portal particle] Frame 1
_rotation = random(360);
_yscale = (random(50) + 50);
_xscale = (random(50) + 50);
_alpha = (random(50) + 50);
Symbol 150 MovieClip [end portal particle] Frame 48
this.removeMovieClip();
Symbol 151 MovieClip [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.com.gotoAndStop(1);
bm.draw(_root);
_root.com._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.com._visible = true;
this.removeMovieClip();
}
};
Symbol 155 MovieClip [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)));
}
};
Symbol 155 MovieClip [ep last lines] Frame 50
this.removeMovieClip();
Symbol 159 MovieClip [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)));
}
};
Symbol 159 MovieClip [ep last lines2] Frame 50
this.removeMovieClip();
Symbol 162 MovieClip [target swirl] Frame 1
onEnterFrame = function () {
if (_root.paused) {
stop();
} else if (_root.tr) {
prevFrame();
if (_currentframe == 1) {
this.removeMovieClip();
}
} else {
play();
}
};
Symbol 162 MovieClip [target swirl] Frame 17
if (!_root.tr) {
this.removeMovieClip();
}
Symbol 163 MovieClip [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 = _root.all._x - x;
_root.all._y = _root.all._y - y;
Symbol 163 MovieClip [explosion] Frame 2
_root.all._x = _root.all._x + x;
_root.all._y = _root.all._y + y;
x = x / 1.5;
y = y / 1.5;
_root.all._x = _root.all._x + x;
_root.all._y = _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();
}
Symbol 163 MovieClip [explosion] Frame 3
_root.all._x = _root.all._x - x;
_root.all._y = _root.all._y - y;
x = x / 1.5;
y = y / 1.5;
_root.all._x = _root.all._x - x;
_root.all._y = _root.all._y - y;
Symbol 163 MovieClip [explosion] Frame 4
gotoAndPlay (2);
Symbol 165 MovieClip [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);
Symbol 165 MovieClip [fl] Frame 2
this.removeMovieClip();
Symbol 169 MovieClip [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));
Symbol 169 MovieClip [go] 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._xscale = (z._yscale = random(50) + 100);
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();
}
};
Symbol 169 MovieClip [go] Frame 95
_root.all.gotoAndStop(1);
this.removeMovieClip();
Symbol 173 MovieClip [grav particle] Frame 25
this.removeMovieClip();
Symbol 175 MovieClip [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 = z._xscale + (i / 3);
z._yscale = z._yscale + (i / 3);
z._x = x - ((z._width - w) / 2);
z._y = y - ((z._height - h) / 2);
} else if (GT) {
d = 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 = z._y + i;
} else if (r == 90) {
z._x = z._x - i;
} else if (r == 180) {
z._y = z._y - i;
} else if (r == -90) {
z._x = z._x + i;
}
z._alpha = z._alpha - 5;
if (z._alpha <= 0) {
this.removeMovieClip();
}
i = i * 0.9;
};
Symbol 178 MovieClip [intro music] Frame 645
_root.play();
Symbol 178 MovieClip [intro music] Frame 650
this.removeMovieClip();
Symbol 181 MovieClip Frame 40
stop();
Symbol 189 MovieClip Frame 23
_root.play();
Symbol 189 MovieClip Frame 44
_parent.unloadMovie();
Symbol 191 MovieClip [loader zoom] Frame 1
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 = 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();
}
};
Symbol 193 MovieClip [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();
}
};
Symbol 196 MovieClip [star trail] Frame 10
this.removeMovieClip();
Symbol 211 MovieClip Frame 1
gotoAndStop(_root.tcount);
Symbol 212 MovieClip [text float] Frame 19
onEnterFrame = function () {
_xscale = (_xscale - 0.1);
_yscale = (_yscale - 0.1);
};
Symbol 212 MovieClip [text float] Frame 74
this.removeMovieClip();
Symbol 213 MovieClip [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 = i + (z ? 0.08 : 0.04);
_alpha = (i * 100);
if (_xscale > 35000) {
this.removeMovieClip();
this.unloadMovie();
}
};
Symbol 213 MovieClip [text fly] 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);
}
Symbol 213 MovieClip [text fly] Frame 85
stop();
Symbol 215 MovieClip Frame 20
stop();
Symbol 217 MovieClip [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();
}
};
Symbol 218 MovieClip [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);
Symbol 219 MovieClip [loops] Frame 2
function fadeIn() {
((i == undefined) ? ((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();
Symbol 222 MovieClip [port particle] Frame 1
_xscale = (_xscale + (Math.random() * 10));
Symbol 222 MovieClip [port particle] Frame 20
this.removeMovieClip();
Symbol 225 MovieClip [portal trail] Frame 16
this.removeMovieClip();
this.removeMovieClip();
Symbol 233 MovieClip Frame 9
_parent.r1.bg.play();
_parent.r2.bg.play();
_parent.removeMovieClip();
Symbol 234 MovieClip [rift link] Frame 1
s = new Sound(this);
s.attachSound("rift" + random(3));
Symbol 234 MovieClip [rift link] Frame 2
stop();
s.start();
Symbol 236 MovieClip [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);
};
Symbol 242 MovieClip [config sign] Frame 1
onEnterFrame = function () {
if (_root.ended) {
this.removeMovieClip();
}
};
Symbol 242 MovieClip [config sign] Frame 507
this.removeMovieClip();
Symbol 246 MovieClip [ep portal sign] Frame 1
_root.com.txt.s.start();
_root.htext = _root.htext + "\r> Now navigate the orb to the portal";
onEnterFrame = function () {
if (!_root.paused) {
_alpha = (random(30) + 70);
}
};
Symbol 246 MovieClip [ep portal sign] Frame 40
stop();
Symbol 250 MovieClip [restart sign] Frame 1
onEnterFrame = function () {
if (_root.ended) {
gotoAndPlay ("out");
}
if (!_root.paused) {
}
};
Symbol 250 MovieClip [restart sign] Frame 125
this.removeMovieClip();
Symbol 254 MovieClip [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 = yvel + yv;
xvel = xvel + xv;
yvel = yvel * yf;
xvel = xvel * xf;
_x = (_x + xvel);
_y = (_y + yvel);
if (_x > _parent.frame._width) {
_x = _parent.frame._width;
xvel = xvel * bounce;
}
if (_x < 0) {
_x = 0;
xvel = xvel * bounce;
}
if (_y > _parent.frame._height) {
_y = _parent.frame._height;
yvel = yvel * bounce;
}
if (_y < 0) {
_y = 0;
yvel = yvel * bounce;
}
};
Symbol 254 MovieClip [spark] Frame 28
this.removeMovieClip();
Symbol 256 MovieClip [start white] Frame 1
this.blendMode = "add";
Symbol 256 MovieClip [start white] Frame 21
this.removeMovieClip();
Symbol 257 MovieClip [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.com.bg._visible = false;
bm.draw(_root);
_root.white._visible = true;
_root.com.bg._visible = true;
z.attachBitmap(bm, 100);
i = 1;
_yscale = 2000;
_xscale = 2000;
onEnterFrame = function () {
i = 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.com.gotoAndPlay(2);
}
this.removeMovieClip();
}
};
_root.attachMovie("start white", "sw", _root.getNextHighestDepth());
Symbol 262 MovieClip [tf] Frame 25
this.removeMovieClip();
Symbol 274 MovieClip [tj] Frame 1
onEnterFrame = function () {
_yscale = ((_totalframes - _currentframe) * 20);
_alpha = ((_totalframes - _currentframe) * 10);
};
Instance of Symbol 273 MovieClip in Symbol 274 MovieClip [tj] Frame 1
onClipEvent (enterFrame) {
gotoAndStop(random(_totalframes) + 1);
}
Instance of Symbol 273 MovieClip in Symbol 274 MovieClip [tj] Frame 1
onClipEvent (enterFrame) {
gotoAndStop(random(_totalframes) + 1);
}
Symbol 274 MovieClip [tj] Frame 11
this.removeMovieClip();
Symbol 277 MovieClip [token swirl] Frame 1
r = -10 + (Math.random() * 20);
onEnterFrame = function () {
if (_root.paused) {
stop();
} else {
play();
_rotation = (_rotation + r);
}
};
Symbol 277 MovieClip [token swirl] Frame 25
this.removeMovieClip();
Symbol 281 MovieClip [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();
}
};
Symbol 281 MovieClip [trail] Frame 20
if (!_root.tr) {
this.removeMovieClip();
} else {
onEnterFrame = function () {
if (_root.paused) {
stop();
} else {
play();
}
};
}
Symbol 281 MovieClip [trail] Frame 40
this.removeMovieClip();
Symbol 286 MovieClip Frame 1
stop();
if (!_root.so.data.stages[_root.levels[_root.level].module + 1]) {
this.unloadMovie();
}
Symbol 294 MovieClip 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 = bi + 6;
} else {
body.htmlText = _parent.bodyTxt;
_parent.play();
delete onEnterFrame;
}
};
Symbol 298 Button
on (press) {
_parent.play();
}
Symbol 299 Button
on (press) {
play();
}
Symbol 304 MovieClip Frame 1
stop();
onUnload = function () {
if (ul) {
stopAllSounds();
_root.gotoAndPlay("menu");
}
};
Symbol 304 MovieClip 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 = bodyTxt + (("> " + eval ("_root.modules._" + _root.levels[_root.level + 1].module).aims[x]) + newline);
x++;
}
bodyTxt = bodyTxt + "\rRisks:\r";
x = 0;
while (x < eval ("_root.modules._" + _root.levels[_root.level + 1].module).risks.length) {
bodyTxt = bodyTxt + (("> " + eval ("_root.modules._" + _root.levels[_root.level + 1].module).risks[x]) + newline);
x++;
}
_root.so.data.stages[_root.levels[_root.level].module + 1] = true;
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;
}
if ((_root.clicks < _root.so.data.clicks[_root.levels[_root.level].module]) or (_root.so.data.clicks[_root.levels[_root.level].module] == "N/A")) {
_root.so.data.clicks[_root.levels[_root.level].module] = _root.clicks;
}
Instance of Symbol 286 MovieClip "exit" in Symbol 304 MovieClip Frame 13
on (press) {
_root.white.removeMovieClip();
}
Instance of Symbol 286 MovieClip "exit" in Symbol 304 MovieClip Frame 40
on (press) {
_parent.ul = true;
_root.white.removeMovieClip();
}
Symbol 304 MovieClip Frame 83
stop();
Symbol 304 MovieClip Frame 115
stop();
Instance of Symbol 286 MovieClip "exit" in Symbol 304 MovieClip Frame 117
on (press) {
_root.white.removeMovieClip();
}
Symbol 304 MovieClip Frame 124
_parent.play();
stop();
Symbol 306 MovieClip Frame 17
_root.frame2.clear();
Symbol 306 MovieClip Frame 18
unloadMovie (_root.ez);
if (_root.levels[_root.level + 1].stage.charAt(1) == "a") {
stop();
stage.play();
}
Symbol 306 MovieClip Frame 24
_root.ended = false;
_root.level++;
_root.all.play();
Symbol 306 MovieClip Frame 45
_parent.removeMovieClip();
Symbol 308 MovieClip [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 = 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();
}
};
Symbol 311 MovieClip [config sign 2] Frame 1
onEnterFrame = function () {
if (_root.ended) {
gotoAndPlay ("out");
}
if (!_root.paused) {
}
};
Symbol 311 MovieClip [config sign 2] Frame 125
this.removeMovieClip();
Symbol 357 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 1
_visible = false;
Symbol 396 MovieClip Frame 1
_visible = false;
Symbol 401 MovieClip Frame 1
stop();
Symbol 403 MovieClip 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 = moddesc.htmlText + ("> " + eval ("_root.modules._" + i).aims[x]);
x++;
}
moddesc.htmlText = moddesc.htmlText + "\r<b>Risks:</b>\r";
x = 0;
while (x < eval ("_root.modules._" + i).risks.length) {
moddesc.htmlText = moddesc.htmlText + ("> " + eval ("_root.modules._" + i).risks[x]);
x++;
}
if (i != 0) {
moddesc.htmlText = moddesc.htmlText + ((((newline + ((_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 of Symbol 382 MovieClip "b0" in Symbol 403 MovieClip Frame 1
on (rollOver) {
_parent.rolled(0, this);
}
on (rollOut) {
_parent.out(this);
}
on (press) {
_parent.pressed(0);
}
Instance of Symbol 382 MovieClip "b1" in Symbol 403 MovieClip Frame 1
on (rollOver) {
_parent.rolled(1, this);
}
on (rollOut) {
_parent.out(this);
}
on (press) {
_parent.pressed(1);
}
Instance of Symbol 382 MovieClip "b2" in Symbol 403 MovieClip Frame 1
on (rollOver) {
_parent.rolled(2, this);
}
on (rollOut) {
_parent.out(this);
}
on (press) {
_parent.pressed(2);
}
Instance of Symbol 382 MovieClip "b3" in Symbol 403 MovieClip Frame 1
on (rollOver) {
_parent.rolled(3, this);
}
on (rollOut) {
_parent.out(this);
}
on (press) {
_parent.pressed(3);
}
Instance of Symbol 382 MovieClip "b4" in Symbol 403 MovieClip Frame 1
on (rollOver) {
_parent.rolled(4, this);
}
on (rollOut) {
_parent.out(this);
}
on (press) {
_parent.pressed(4);
}
Instance of Symbol 382 MovieClip "b5" in Symbol 403 MovieClip Frame 1
on (rollOver) {
_parent.rolled(5, this);
}
on (rollOut) {
_parent.out(this);
}
on (press) {
_parent.pressed(5);
}
Symbol 409 Button
on (press) {
play();
}
Symbol 415 MovieClip Frame 1
stop();
Instance of Symbol 371 MovieClip in Symbol 415 MovieClip Frame 1
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);
};
}
Symbol 415 MovieClip Frame 10
_root.scan._xscale = 100;
_root.scan._width = 300;
_root.scan._height = 260;
_root.scan.gotoAndPlay(1);
Symbol 415 MovieClip Frame 27
stop();
Symbol 415 MovieClip Frame 29
_root.scan._width = 300;
_root.scan._xscale = _root.scan._xscale * -1;
_root.scan.gotoAndPlay(1);
Symbol 415 MovieClip Frame 45
i = 1;
while (i <= 4) {
if (_root["b" + i].x._currentframe > 20) {
_root["b" + i].x.play();
}
i++;
}
Symbol 415 MovieClip Frame 52
if (!_root.started) {
_root.scan._width = _root.scan.w;
_root.scan._height = _root.scan.h;
_root.scan.play();
}
Symbol 415 MovieClip 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();
}
Symbol 422 MovieClip Frame 18
stop();
Symbol 435 MovieClip Frame 1
gotoAndStop(_parent._parent.b);
Symbol 445 MovieClip Frame 1
stop();
Instance of Symbol 438 MovieClip in Symbol 445 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.area.hitTest(_root._xmouse, _root._ymouse) and _root.buttons) {
_parent.play();
}
}
Instance of Symbol 438 MovieClip "area" in Symbol 445 MovieClip Frame 1
on (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");
}
}
Symbol 445 MovieClip Frame 4
stop();
Instance of Symbol 438 MovieClip in Symbol 445 MovieClip Frame 4
onClipEvent (enterFrame) {
if (!_parent.area.hitTest(_root._xmouse, _root._ymouse)) {
_parent.play();
}
}
Symbol 445 MovieClip Frame 8
gotoAndStop (1);
Symbol 445 MovieClip Frame 24
_parent.p();
onEnterFrame = function () {
if (_parent._y > 189) {
_parent._y = _parent._y - ((_parent._y - 189) / 2);
} else {
_parent._y = 189;
delete onEnterFrame;
}
};
Symbol 445 MovieClip Frame 28
stop();
Symbol 445 MovieClip Frame 31
stop();
Symbol 448 MovieClip Frame 10
stop();
Symbol 448 MovieClip Frame 21
stop();
Symbol 460 MovieClip Frame 1
titleTxt = "training program";
bodyTxt = ((((("Aims:\r" + _root.modules._0.aims[0]) + newline) + newline) + "Risks:") + newline) + _root.modules._0.risks;
Symbol 460 MovieClip Frame 124
stop();
Symbol 460 MovieClip Frame 201
_parent.play();
Symbol 490 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation + 5);
};
Symbol 498 MovieClip 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 = 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();
};
Symbol 498 MovieClip Frame 3
snd.start(0, 999);
Symbol 498 MovieClip Frame 32
txt = txt + "> Loading test participant file...";
stop();
Symbol 498 MovieClip Frame 58
txt = txt + "\r> ID 04876.001";
stop();
Symbol 498 MovieClip Frame 75
txt = txt + "\r> Loading training module...";
stop();
Symbol 498 MovieClip Frame 104
i = 0;
txt = "...training module loaded.";
stop();
Symbol 498 MovieClip 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);
Symbol 498 MovieClip Frame 131
i = 0;
txt = "Wormholes are manipulated by clicking and dragging them around the edges of a room.";
p = true;
stop();
Symbol 498 MovieClip Frame 132
stop();
p = false;
Key.addListener(l);
Symbol 498 MovieClip 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();
Symbol 498 MovieClip Frame 134
stop();
p = false;
Key.addListener(l);
Symbol 498 MovieClip 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();
Symbol 498 MovieClip Frame 136
stop();
p = false;
Key.addListener(l);
Symbol 498 MovieClip 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();
Symbol 498 MovieClip Frame 138
stop();
p = false;
Key.addListener(l);
Symbol 498 MovieClip 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();
Symbol 498 MovieClip Frame 140
stop();
p = false;
Key.addListener(l);
Symbol 498 MovieClip Frame 141
i = 0;
txt = "> Training module complete";
Symbol 498 MovieClip Frame 150
txt = txt + "\r\r> Preparing course Ep-01...";
Symbol 498 MovieClip Frame 186
delete onEnterFrame;
stopAllSounds();
snd.stop();
_parent.boom.start();
Symbol 498 MovieClip Frame 187
Symbol 498 MovieClip Frame 223
_root.play();
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (load) {
_xscale = (_xscale * (100 / _parent._parent.frame._xscale));
_xscale = (_xscale + (_parent._parent.frame._yscale - 100));
}
Symbol 513 MovieClip 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.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 = 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 = 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.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();
};
}
Symbol 516 MovieClip 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 _local10 = (this._rotation * Math.PI) / 180;
var _local3 = Math.cos(_local10);
var _local4 = Math.sin(_local10);
var _local8 = b._x - this._x;
var _local6 = b._y - this._y;
var _local5 = (_local3 * _local6) - (_local4 * _local8);
var _local7 = (_local3 * b.yvel) - (_local4 * b.xvel);
if ((_local5 > -8) and (_local5 < _local7)) {
vel = Math.sqrt((b.xvel * b.xvel) + (b.yvel * b.yvel));
if ((vel > 6) or (!_root.gEnable)) {
ballr = (180 * ((Math.PI/2) + 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 _local9 = (_local3 * _local8) + (_local4 * _local6);
var _local11 = (_local3 * b.xvel) + (_local4 * b.yvel);
_local5 = -8;
_local7 = _local7 * (_root.gEnable ? -0.5 : -0.9);
_local8 = (_local3 * _local9) - (_local4 * _local5);
_local6 = (_local3 * _local5) + (_local4 * _local9);
b.xvel = (_local3 * _local11) - (_local4 * _local7);
b.yvel = (_local3 * _local7) + (_local4 * _local11);
b._x = this._x + _local8;
b._y = this._y + _local6;
}
}
}
}
};
Symbol 592 MovieClip Frame 1
gotoAndStop(_root.level);
Symbol 595 MovieClip Frame 20
stop();
onEnterFrame = function () {
if ((random(5) == 1) and (!_root.paused)) {
this.attachMovie("ep last lines" + _parent.z, "l" + this.getNextHighestDepth(), this.getNextHighestDepth());
}
};
Instance of Symbol 597 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_alpha = ((_root.collected / _root.total) * 100);
}
Symbol 604 MovieClip Frame 1
stop();
s = new Sound(this);
s.attachSound("ep rotor");
s.setVolume(0);
s.start(0, 9999);
z = "";
Instance of Symbol 88 MovieClip in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.total == _root.collected) {
_parent.play();
}
_parent.s.setVolume((_root.collected / _root.total) * 100);
}
Instance of Symbol 599 MovieClip "r" in Symbol 604 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.started and (!_root.paused)) {
_rotation = (_rotation + ((5 + ((_root.collected / _root.total) * 40)) * (_root.tr ? -1 : 1)));
}
}
Symbol 604 MovieClip 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 Symbol 88 MovieClip in Symbol 604 MovieClip Frame 5
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);
}
Symbol 604 MovieClip 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 Symbol 88 MovieClip in Symbol 604 MovieClip Frame 6
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 = b.xvel - (Math.cos(r) * 2);
b.yvel = b.yvel - (Math.sin(r) * 2);
b.xvel = b.xvel * 0.8;
b.yvel = b.yvel * 0.8;
}
Symbol 604 MovieClip Frame 39
_root.ended = true;
_root.loops.removeMovieClip();
if (_root.final) {
stop();
stopAllSounds();
_root.attachMovie("complete", "complete", _root.getNextHighestDepth());
}
Symbol 604 MovieClip Frame 40
stop();
_root.attachMovie("end zoom", "ez", _root.getNextHighestDepth());
_root.attachMovie("white", "white", _root.getNextHighestDepth());
Symbol 606 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.paused) {
_alpha = (random(9) + 91);
_yscale = (random(9) + 91);
_xscale = (random(9) + 91);
}
};
Symbol 609 MovieClip 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);
}
}
}
};
Symbol 609 MovieClip 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);
Symbol 609 MovieClip Frame 10
stop();
got = true;
Instance of Symbol 616 MovieClip in Symbol 617 MovieClip Frame 1
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 = (Math.PI/2) + Math.atan2(ydif, xdif);
_x = (((110 * Math.atan(xdif / 10)) * Math.abs(Math.sin(r))) / 9.86960440108936);
_y = (((110 * Math.atan(ydif / 10)) * Math.abs(Math.cos(r))) / 9.86960440108936);
_yscale = ((dif < 26) ? (200 * Math.cos(dif / 20)) : 50);
_xscale = ((dif < 26) ? (200 * Math.cos(dif / 20)) : 50);
}
Symbol 619 MovieClip Frame 1
stop();
Symbol 619 MovieClip 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++;
}
Symbol 619 MovieClip Frame 15
gotoAndStop (1);
Symbol 619 MovieClip Frame 16
play();
Symbol 619 MovieClip Frame 29
gotoAndStop (1);
Symbol 620 MovieClip 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 = ttemp.yvel * -1;
ttemp.xvel = ttemp.xvel * -1;
} else {
ttemp.y = p.o._y - (ttemp.y - p._y);
ttemp.yvel = ttemp.yvel * -1;
ttemp.xvel = 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 = ttemp.y + 2;
} else if (p.o.side == "b") {
ttemp.y = ttemp.y - 2;
} else if (p.o.side == "l") {
ttemp.x = ttemp.x + 2;
} else if (p.o.side == "r") {
ttemp.x = 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.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.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.yvel * (-t.bounce);
} else if (side == "l") {
t._x = os;
vol = ((t.xvel > -1.2) ? 0 : (t.xvel * 5));
t.xvel = 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 - ((i > 250) ? (((i > 500) ? 4 : 2)) : 1);
((i < 1) ? ((i = 0)) : null);
xvel = (yvel = 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 = xvel * 0.7;
yvel = yvel * 0.7;
} else if (_root.gEnable and (!_root.hit)) {
if ((_root.gside == 0) or (_root.gside == 180)) {
xvel = xvel * 0.99;
yvel = yvel + ((_root.gside == 0) ? (_root.gravity) : (-_root.gravity));
} else {
yvel = yvel * 0.99;
xvel = 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 = ball._x + (Math.sin(ii * xi) * 2);
ball._y = ball._y + (Math.cos(ii * yi) * 2);
}
}
};
Instance of Symbol 619 MovieClip "ball" in Symbol 620 MovieClip Frame 1
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.com.txt.s.start();
_root.htext = _root.htext + (((_root.htext != "") ? newline : "") + "> Time reversal is not permitted on this level");
_root.com.gotoAndStop("tframe");
}
} else {
_root.tr = true;
Mouse.hide();
_root.attachMovie("cursor", "cursor", _root.getNextHighestDepth());
_root.loops.r();
}
}
}
Symbol 620 MovieClip Frame 17
stop();
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 2
_width = (20 + Math.abs(_root.all.r1.b.yvel + _root.all.r1.b.xvel));
Symbol 630 MovieClip Frame 31
Symbol 649 MovieClip Frame 1
stop();
Instance of Symbol 88 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.started and (random(5) == 1)) {
_parent.play();
}
}
Symbol 649 MovieClip Frame 20
stop();
_root.portals = true;
Symbol 649 MovieClip 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");
Symbol 653 MovieClip Frame 1
stop();
Symbol 653 MovieClip Frame 6
stop();
Symbol 660 MovieClip Frame 1
if (_parent.o == _root.all.r1.p2) {
gotoAndPlay ("b");
}
onEnterFrame = function () {
if (_root.paused) {
stop();
} else {
play();
}
};
Symbol 660 MovieClip Frame 27
gotoAndPlay (1);
Symbol 660 MovieClip Frame 54
gotoAndPlay ("b");
Symbol 661 MovieClip 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 of Symbol 649 MovieClip "p" in Symbol 661 MovieClip Frame 1
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();
}
}
}
Symbol 661 MovieClip Frame 10
stop();
Symbol 667 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (!_root.paused) {
if (Key.isDown(32)) {
play();
}
_alpha = (random(30) + 70);
}
};
Symbol 667 MovieClip Frame 8
this.unloadMovie();
Symbol 675 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.collected == 2) {
delete onEnterFrame;
play();
}
};
Symbol 675 MovieClip Frame 24
stop();
onEnterFrame = function () {
if (_root.tr) {
this.unloadMovie();
}
};
Symbol 679 MovieClip Frame 1
onEnterFrame = function () {
if (_root.paused) {
stop();
} else {
play();
}
};
Symbol 680 MovieClip 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.xvel = (_parent.b.yvel = 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();
}
};
Symbol 680 MovieClip Frame 10
this.unloadMovie();
Symbol 684 MovieClip Frame 1
t.autoSize = true;
t.text = _parent.item;
bg._width = t._width + 5;
Symbol 685 MovieClip Frame 1
stop();
onEnterFrame = function () {
_alpha = (random(30) + 70);
if (_root.released) {
play();
}
};
Symbol 685 MovieClip Frame 15
this.unloadMovie();
Symbol 688 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.paused) {
_rotation = (_rotation + (random(50) + 50));
}
};
Symbol 690 MovieClip 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();
}
};
}
};
Symbol 699 MovieClip Frame 1
stop();
Symbol 700 MovieClip 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.xvel = (_parent.b.yvel = 0);
}
o.play();
}
}
function f2() {
if (!this.hitTest(_parent.b)) {
delete onEnterFrame;
onEnterFrame = f1;
}
}
delete s;
stop();
if (onEnterFrame == undefined) {
onEnterFrame = f1;
}
Symbol 700 MovieClip Frame 2
delete onEnterFrame;
onEnterFrame = f2;
_parent.b._x = _x;
_parent.b._y = _y;
Symbol 701 MovieClip 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;
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 of Symbol 510 MovieClip "mask" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
_width = (_parent.frame._width - 1);
_height = (_parent.frame._height - 1);
}
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
o = _parent.p1;
}
Instance of Symbol 662 MovieClip in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
_root.time = Infinity;
if (_root.level == 1) {
_root.moduleTxt = "basic wormholes";
}
}
Instance of Symbol 95 MovieClip "cursor" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
this.startDrag(true);
}
Instance of Symbol 664 MovieClip "f2" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
_width = (_parent.frame._width - 1);
_height = (_parent.frame._height - 1);
}
Instance of Symbol 95 MovieClip "gc2" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 510 MovieClip "mask2" in Symbol 701 MovieClip Frame 1
onClipEvent (load) {
_width = (_parent.frame._width - 1);
_height = (_parent.frame._height - 1);
}
Symbol 701 MovieClip Frame 2
_root.stage = "1b";
_root.htext = "> Obstructions block the path of the orb\r> Wormholes cannot be placed on obstructions";
_root.showHelp = true;
Symbol 701 MovieClip 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;
Symbol 701 MovieClip 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.com.attachMovie("config sign", "cs", _root.com.getNextHighestDepth());
((_root.so.data.rooms == undefined) ? ((_root.so.data.rooms = true)) : 0);
Symbol 701 MovieClip 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;
Symbol 701 MovieClip 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 Symbol 662 MovieClip in Symbol 701 MovieClip Frame 6
onClipEvent (load) {
_root.moduleTxt = "complex time fields";
_root.time = 600;
}
Symbol 701 MovieClip Frame 7
_root.stage = "2b";
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 7
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 7
onClipEvent (load) {
o = _parent.p1;
}
Symbol 701 MovieClip Frame 8
_root.stage = "2c";
_root.htext = "> Remember, the ghost rooms can be turned on/off by pressing G";
_root.showHelp = true;
Symbol 701 MovieClip Frame 9
_root.stage = "2d";
Symbol 701 MovieClip Frame 10
_root.stage = "2e";
_root.time = 40;
Symbol 701 MovieClip 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 Symbol 685 MovieClip in Symbol 701 MovieClip Frame 11
onClipEvent (load) {
item = "gsu";
}
Instance of Symbol 662 MovieClip in Symbol 701 MovieClip Frame 11
onClipEvent (load) {
_root.moduleTxt = "gravitaty manipulation";
_root.time = 600;
}
Symbol 701 MovieClip Frame 12
_root.stage = "3b";
_root.htext = "> Remember, the orb can be frozen by pressing and holding the SPACE BAR";
_root.showHelp = true;
Symbol 701 MovieClip Frame 13
_root.stage = "3c";
_root.htext = "> A Gravitational Toggle Unit (GTU) enables or disables gravity";
_root.showHelp = true;
Instance of Symbol 685 MovieClip in Symbol 701 MovieClip Frame 13
onClipEvent (load) {
item = "gtu";
}
Symbol 701 MovieClip Frame 14
_root.stage = "3d";
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 14
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 14
onClipEvent (load) {
o = _parent.p1;
}
Symbol 701 MovieClip Frame 15
_root.stage = "3e";
Symbol 701 MovieClip 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 of Symbol 700 MovieClip "r1" in Symbol 701 MovieClip Frame 16
onClipEvent (load) {
o = _parent.r2;
}
Instance of Symbol 700 MovieClip "r2" in Symbol 701 MovieClip Frame 16
onClipEvent (load) {
o = _parent.r1;
}
Instance of Symbol 685 MovieClip in Symbol 701 MovieClip Frame 16
onClipEvent (load) {
item = "stationary rift";
}
Instance of Symbol 662 MovieClip in Symbol 701 MovieClip Frame 16
onClipEvent (load) {
_root.moduleTxt = "advanced wormholes";
_root.time = 600;
}
Symbol 701 MovieClip Frame 17
_root.stage = "4b";
Instance of Symbol 700 MovieClip "r3" in Symbol 701 MovieClip Frame 17
onClipEvent (load) {
o = _parent.r4;
}
Instance of Symbol 700 MovieClip "r4" in Symbol 701 MovieClip Frame 17
onClipEvent (load) {
o = _parent.r3;
}
Symbol 701 MovieClip Frame 18
_root.stage = "4c";
Instance of Symbol 700 MovieClip "r1" in Symbol 701 MovieClip Frame 18
onClipEvent (load) {
o = _parent.r2;
}
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 18
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 18
onClipEvent (load) {
o = _parent.p1;
}
Symbol 701 MovieClip Frame 19
_root.stage = "4d";
Symbol 701 MovieClip Frame 20
_root.stage = "4e";
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.p1;
}
Instance of Symbol 700 MovieClip "r2" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.r3;
}
Instance of Symbol 700 MovieClip "r3" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.r4;
}
Instance of Symbol 700 MovieClip "r4" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.r5;
}
Instance of Symbol 700 MovieClip "r5" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.r6;
}
Instance of Symbol 700 MovieClip "r6" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.r7;
}
Instance of Symbol 700 MovieClip "r7" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.r8;
}
Instance of Symbol 700 MovieClip "r8" in Symbol 701 MovieClip Frame 20
onClipEvent (load) {
o = _parent.r1;
}
Symbol 701 MovieClip 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 Symbol 662 MovieClip in Symbol 701 MovieClip Frame 21
onClipEvent (load) {
_root.moduleTxt = "further challenges";
_root.time = 450;
}
Symbol 701 MovieClip 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;
Symbol 701 MovieClip Frame 23
_root.stage = "5c";
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 23
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 23
onClipEvent (load) {
o = _parent.p1;
}
Instance of Symbol 700 MovieClip "r1" in Symbol 701 MovieClip Frame 23
onClipEvent (load) {
o = _parent.r2;
}
Instance of Symbol 700 MovieClip "r2" in Symbol 701 MovieClip Frame 23
onClipEvent (load) {
o = _parent.r1;
}
Symbol 701 MovieClip Frame 24
_root.stage = "5d";
_root.time = 100;
Symbol 701 MovieClip Frame 25
_root.stage = "5e";
_root.time = 150;
Symbol 701 MovieClip Frame 26
_root.stage = "5f";
Symbol 701 MovieClip 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;
Symbol 701 MovieClip Frame 28
_root.stage = "5h";
_root.gsidep = 1;
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 28
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 28
onClipEvent (load) {
o = _parent.p1;
}
Symbol 701 MovieClip Frame 29
_root.stage = "5i";
_root.gsidep = 1;
Instance of Symbol 700 MovieClip "r1" in Symbol 701 MovieClip Frame 29
onClipEvent (load) {
o = _parent.r2;
}
Instance of Symbol 700 MovieClip "r2" in Symbol 701 MovieClip Frame 29
onClipEvent (load) {
o = _parent.r1;
}
Symbol 701 MovieClip Frame 30
_root.stage = "5j";
Symbol 701 MovieClip Frame 31
_root.stage = "5k";
_root.gsidep = 1;
Symbol 701 MovieClip Frame 32
_root.stage = "5l";
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 32
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 32
onClipEvent (load) {
o = _parent.p1;
}
Instance of Symbol 700 MovieClip "r1" in Symbol 701 MovieClip Frame 32
onClipEvent (load) {
o = _parent.r2;
}
Instance of Symbol 700 MovieClip "r2" in Symbol 701 MovieClip Frame 32
onClipEvent (load) {
o = _parent.r1;
}
Instance of Symbol 700 MovieClip "r4" in Symbol 701 MovieClip Frame 32
onClipEvent (load) {
o = _parent.r3;
}
Instance of Symbol 700 MovieClip "r3" in Symbol 701 MovieClip Frame 32
onClipEvent (load) {
o = _parent.r4;
}
Symbol 701 MovieClip Frame 33
_root.stage = "5m";
_root.time = Infinity;
Symbol 701 MovieClip Frame 34
_root.stage = "5n";
Instance of Symbol 661 MovieClip "p1" in Symbol 701 MovieClip Frame 34
onClipEvent (load) {
o = _parent.p2;
}
Instance of Symbol 661 MovieClip "p2" in Symbol 701 MovieClip Frame 34
onClipEvent (load) {
o = _parent.p1;
}
Symbol 701 MovieClip Frame 35
_root.stage = "X";
_root.final = true;
_root.time = Infinity;
Instance of Symbol 700 MovieClip "r1" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r2;
}
Instance of Symbol 700 MovieClip "r2" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r1;
}
Instance of Symbol 700 MovieClip "r3" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r2;
}
Instance of Symbol 700 MovieClip "r6" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r1;
}
Instance of Symbol 700 MovieClip "r7" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r6;
}
Instance of Symbol 700 MovieClip "r8" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r10;
}
Instance of Symbol 700 MovieClip "r9" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r5;
}
Instance of Symbol 700 MovieClip "r10" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r11;
}
Instance of Symbol 700 MovieClip "r11" in Symbol 701 MovieClip Frame 35
onClipEvent (load) {
o = _parent.r9;
}
Symbol 702 MovieClip 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.com.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());
}
Symbol 705 MovieClip 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;
Symbol 713 Button
on (press) {
_root.paused = !_root.paused;
_parent.play();
}
Symbol 714 Button
on (press) {
if ((_root.started and (!_root.hit)) and (!_root.go)) {
stopAllSounds();
_root.frame.unloadMovie();
_root.f2.unloadMovie();
_root.com.unloadMovie();
_root.gotoAndPlay("menu");
_root.paused = !_root.paused;
}
}
Symbol 719 MovieClip Frame 1
track.text = _root.tracks[_root.music - 1];
Instance of Symbol 710 MovieClip in Symbol 719 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.f(this);
}
Symbol 720 MovieClip Frame 1
stop();
Symbol 720 MovieClip Frame 2
if (_parent.bg._currentframe > 1) {
_parent.bg.gotoAndStop(12);
}
_root.paused = true;
Symbol 720 MovieClip Frame 7
stop();
Symbol 720 MovieClip Frame 8
if (_parent.bg._currentframe == 12) {
_parent.bg.gotoAndPlay(2);
}
_root.paused = false;
Symbol 722 MovieClip 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.com._currentframe > 1) {
_visible = true;
bitmapData_1.noise(random(300), 0, 255, 0, true);
} else {
_visible = false;
}
};
_alpha = 10;
Symbol 726 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 15
stop();
Instance of Symbol 735 MovieClip in Symbol 738 MovieClip Frame 1
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 = _parent.time.text + ".00";
}
}
Symbol 739 MovieClip Frame 1
stop();
Instance of Symbol 88 MovieClip in Symbol 739 MovieClip Frame 1
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();
}
}
Symbol 739 MovieClip Frame 7
stop();
Instance of Symbol 738 MovieClip in Symbol 739 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((((!_root.tr) and (_root.all.r1.b.i < (_root.time - 250))) and (!_root.go)) or _root.hit) {
_parent.play();
}
}
Symbol 748 MovieClip Frame 1
stop();
Symbol 749 MovieClip Frame 1
gotoAndStop(_parent.t);
Symbol 752 MovieClip 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;
Symbol 759 MovieClip Frame 1
gotoAndStop(_parent._parent.t);
Symbol 763 MovieClip Frame 1
stop();
Instance of Symbol 751 MovieClip in Symbol 763 MovieClip Frame 1
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 Symbol 760 MovieClip in Symbol 763 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_parent.hitTest(_root._xmouse, _root._ymouse)) {
_parent.play();
}
}
Symbol 763 MovieClip Frame 8
stop();
Instance of Symbol 751 MovieClip in Symbol 763 MovieClip Frame 8
onClipEvent (enterFrame) {
if (!this.hitTest(_root._xmouse, _root._ymouse)) {
_parent.play();
}
}
Symbol 768 Button
on (press) {
_root.so.data.q = "medium";
gotoAndStop(_root.so.data.q);
_quality = "medium";
}
Symbol 769 Button
on (press) {
_root.so.data.q = "low";
gotoAndStop(_root.so.data.q);
_quality = "low";
}
Symbol 770 Button
on (press) {
_root.so.data.q = "high";
gotoAndStop(_root.so.data.q);
_quality = "high";
}
Symbol 775 Button
on (press) {
f1();
_root.so.data[v] = false;
gotoAndStop (2);
}
Symbol 776 Button
on (press) {
f1();
_root.so.data[v] = true;
gotoAndStop (1);
}
Symbol 779 MovieClip Frame 3
t.enabled = false;
f.enabled = false;
Instance of Symbol 785 MovieClip in Symbol 786 MovieClip Frame 1
onClipEvent (load) {
_parent._parent[_parent.v].text = _root.so.data[_parent.v];
_x = ((_root.so.data[_parent.v] * _parent.bg._width) / 100);
}
on (press) {
onEnterFrame = function () {
_x = _parent._xmouse;
((_x < 0) ? (_x = 00) : 0);
((_x > _parent.bg._width) ? (_x = _parent.bg._width_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];
};
}
on (release, releaseOutside) {
delete onEnterFrame;
}
Symbol 791 MovieClip Frame 1
track.text = _root.tracks[_root.music - 1];
Instance of Symbol 710 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.f(this);
}
Instance of Symbol 774 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.so.data.q);
}
Instance of Symbol 779 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (enterFrame) {
v = "rooms";
gotoAndStop(((_root.so.data[v] == undefined) ? 3 : (_root.so.data[v])));
}
Instance of Symbol 779 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
v = "gc";
gotoAndStop(_root.so.data[v]);
}
Instance of Symbol 786 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
v = "vol";
}
Instance of Symbol 779 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
v = "freeze";
gotoAndStop(_root.so.data[v]);
}
Instance of Symbol 786 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (load) {
v = "gra";
}
Symbol 792 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 2
if (_parent.bg._currentframe > 1) {
_parent.bg.gotoAndStop(12);
}
_root.paused = true;
Symbol 792 MovieClip Frame 7
stop();
Symbol 792 MovieClip Frame 8
if (_parent.bg._currentframe == 12) {
_parent.bg.gotoAndPlay(2);
}
_root.paused = false;
Symbol 802 Button
on (press) {
getURL ("http://www.dissoluteproductions.com/", "_blank");
}
Symbol 804 MovieClip 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 = 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();
};
Symbol 805 MovieClip Frame 1
function f(t) {
if ((iy - t._y) < -1) {
t._y = t._y + ((iy - t._y) / 5);
}
}
stop();
bg.bg.bg.gotoAndStop(1);
Instance of Symbol 739 MovieClip "bg" in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.f(this);
}
onClipEvent (load) {
_parent.iy = _y;
}
Instance of Symbol 763 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
t = "config";
}
on (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();
}
}
}
on (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 Symbol 763 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
t = "init";
}
on (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 Symbol 763 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
t = "abort";
}
on (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();
}
}
}
Symbol 805 MovieClip Frame 30
function f(t) {
if ((t._parent.txt._height - t._y) > 2) {
t._y = t._y + ((t._parent.txt._height - t._y) / 3);
} else {
txt._visible = true;
}
}
stop();
txt._visible = false;
if (config._currentframe != 1) {
config.gotoAndPlay(8);
}
Symbol 808 Button
on (press) {
_root.level = 1;
_root.all.play();
stopAllSounds();
}
Symbol 811 Button
on (press) {
_root.level = 6;
_root.all.play();
stopAllSounds();
}
Symbol 813 Button
on (press) {
_root.level = 11;
_root.all.play();
stopAllSounds();
}
Symbol 815 Button
on (press) {
_root.level = 16;
_root.all.play();
stopAllSounds();
}
Symbol 817 Button
on (press) {
if (_root.level < _root.all.r1._totalframes) {
_root.level++;
}
_root.all.play();
stopAllSounds();
}
Symbol 820 Button
on (press) {
if (_root.level > 1) {
_root.level--;
}
_root.all.play();
stopAllSounds();
}
Symbol 824 Button
on (press) {
_root.level = random(_root.all.r1._totalframes) + 1;
_root.all.play();
stopAllSounds();
}
Symbol 828 Button
on (press) {
_root.level = 21;
_root.all.play();
stopAllSounds();
}
Symbol 830 Button
on (press) {
_root.level = 35;
_root.all.play();
stopAllSounds();
}
Instance of Symbol 827 MovieClip in Symbol 832 MovieClip Frame 1
onClipEvent (load) {
frame = 0;
time = getTimer();
}
onClipEvent (enterFrame) {
frame++;
if (getTimer() >= (time + 1000)) {
displayFrame = frame;
time = getTimer();
frame = 0;
}
}
Symbol 833 Button
on (press) {
play();
}
Symbol 835 MovieClip Frame 1
stop();
b.useHandCursor = false;
Symbol 835 MovieClip Frame 5
stop();