Frame 1
log.Reset = function () {
log.log = (log.log_ = "");
};
log.Reset();
log.aso07734 = function (aso70408) {
log.log = (log.log_ = log.log_ + (aso70408 + "\r"));
};
function aso12331(args) {
_root.parts_progress++;
aso91580.url = ("parts/mb2-" + _root.screen_name) + _root.parts_progress;
aso91580.onSocketResponse();
}
stop();
var Qvar = ["mainmenu", "screen1", "screen2", "screen3", "screen4", "screen5", "screen6", "screen7", "screen8", "screen9", "screen10", "screen11", "screen12", "screen13", "screen14", "screen15", "screen16", "screen17", "screen18", "screen19", "screen20", "screen21", "screen22", "screen23", "screen24"];
var screen_name;
var parts_progress;
var Qscr;
var aso94364 = "parts/mb2-game";
var aso91580 = new aso075005();
aso054254._visible = false;
getURL ("fscommand:" + "bct", 25);
play();
Frame 2
stop();
var aso80994 = new Object();
aso80994.onLoadProgress = function (aso00353, bytesLoaded, bytesTotal) {
aso088375 = (aso025701 = ("Loading: " + int((100 * bytesLoaded) / bytesTotal)) + "%");
};
aso80994.onLoadError = function (aso00353, aso76397) {
};
aso80994.onLoadInit = function (aso00353) {
play();
};
var aso43668 = new MovieClipLoader();
aso43668.addListener(aso80994);
aso43668.loadClip(_root.aso94364, game);
Frame 3
function setScreen(args) {
i = 0;
while (i < 25) {
if (_root.Qvar[i] == args) {
getURL ("fscommand:" + "bar", i + 1);
}
i++;
}
if (game.screen != undefined) {
removeMovieClip(game.screen);
}
game.attachMovie(args, "screen", 1);
_root.screen_name = args;
_root.parts_progress = 0;
}
function gotoScreen(args) {
if (game.trans != undefined) {
game.removeMovieClip(trans);
}
game.attachMovie("trans_screen", "trans", 2).next_screen = args;
}
function AddSparks(x, y) {
i = 1;
while (i <= 15) {
aso49657 = attachMovie("spark1", "spark1_" + i, i);
angle = random(360);
aso49657._xscale = random(50) + 70;
aso49657._yscale = random(50) + 70;
if (random(2) == 0) {
aso49657._xscale = -aso49657._xscale;
}
aso49657._x = x;
aso49657._y = y;
aso49657._rotation = angle;
i++;
}
}
stop();
onEnterFrame = function () {
if (_root.Qscr != undefined) {
stopAllSounds();
Mouse.show();
setScreen(_root.Qvar[Qscr - 1]);
_root.Qscr = undefined;
}
};
stop();
_root.Qscr = 1;
Symbol 2 MovieClip Frame 31
gotoAndPlay (1);
Symbol 22 MovieClip [aso082386.aso075005] Frame 0
class aso075005
{
var aso06342, aso69016, aso80994, aso43668, url;
function aso075005 () {
aso06342 = new Array();
aso69016 = false;
aso80994 = new Object();
aso80994.onLoadInit = function (aso00353) {
aso00353.part._x = 0;
aso00353.part._y = 0;
_root.aso91580.aso06342.splice(0, 1);
_root.aso91580.aso69016 = false;
_root.game.screen._visible = true;
_root.aso054254._visible = false;
_root.aso91580.aso31690();
};
aso43668 = new MovieClipLoader();
aso43668.addListener(aso80994);
}
function aso22917(aso49657) {
aso06342.push(aso49657);
aso31690();
}
function aso31690() {
if (aso69016) {
return(undefined);
}
if (aso06342.length > 0) {
aso69016 = true;
_root.game.screen._visible = false;
_root.aso054254._visible = true;
_root.aso12331("+");
}
}
function onSocketResponse() {
aso43668.loadClip(url, aso06342[0]);
}
}