Frame 1
stop();
Frame 1313
gotoAndPlay(1);
Symbol 2 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
parameters = {BgndColor:4291611852, BgndColorH:4294967295, BarColorL:4281571788, BarColorH:4281571788, TextColor:4281571788, BlinkDelay:-1, Text:"Loading:", DisplayMode:"Percent", WhenLoadedGoto:"Play Next Scene", HideWhenLoaded:true, EventFunction:"Events"};
properties = parameters;
}
} else {
// unexpected jump
}
var Progress = function () {
tellTarget ("..") {
gotoAndPlay("/:2");
}
};
// unexpected jump
// unexpected jump
var loadParameters = function (txt) {
tellTarget ("..") {
return(eval ("parameters." add txt));
}
};
// unexpected jump
// unexpected jump
var displaytext = function (mode, bytesloaded, bytestotal, pc) {
tellTarget ("..") {
if (mode != "Percent") {
if (mode != "Bytes") {
return;
percent.text = int(pc + 0.5) add "%";
return;
}
} else {
percent.text = int(pc + 0.5) add "%";
return;
percent.text = (bytesloaded add "/") add bytestotal;
return;
}
}
};
// unexpected jump
// unexpected jump
G_displaymode = loadParameters("DisplayMode");
G_goto = loadParameters("WhenLoadedGoto");
G_blinkdelay = loadParameters("BlinkDelay");
G_countdown = G_blinkdelay;
G_hide = loadParameters("HideWhenLoaded");
G_eventfunction = loadParameters("EventFunction");
G_framecount = 0;
G_v = 0;
if ("Bar Only" != G_displaymode) {
loading.text = loadParameters("Text");
}
progressbar.SetValue(0);
displaytext(G_displaymode, _parent.getBytesTotal(), _parent.getBytesTotal(), 100);
if ("Play Parent" == parameters.WhenLoadedGoto) {
_parent.stop();
}
// unexpected jump
// unexpected jump
};
stop();
Symbol 7 MovieClip Frame 1
if (!hasOwnProperty("_load")) {
_load = true;
tellTarget ("..") {
parameters = {BgndColor:4291611852, BgndColorH:4294967295, BarColorL:4281571788, BarColorH:4281571788, LimitMaximum:100, LimitMinimum:0, EventVar:"_root.value", Mode:"Manual"};
properties = parameters;
}
} else {
// unexpected jump
}
var SetValue = function (v) {
tellTarget ("..") {
v = v - G_limitmin;
v = v * (100 / G_scale);
if (v < 0) {
v = 0;
}
if (v > 100) {
v = 100;
}
bar._xscale = v;
}
};
// unexpected jump
// unexpected jump
var Setparameters = function (mode, eventvar, limitmin, limitmax) {
tellTarget ("..") {
G_mode = mode;
G_eventvar = eventvar;
G_limitmin = limitmin;
G_limitmax = limitmax;
G_scale = limitmax - limitmin;
G_poll = "Poll" == G_mode;
}
};
// unexpected jump
// unexpected jump
var loadParameter = function (txt) {
tellTarget ("..") {
return(eval ("parameters." add txt));
}
};
// unexpected jump
// unexpected jump
Setparameters(loadParameter("Mode"), loadParameter("EventVar"), loadParameter("LimitMinimum"), loadParameter("LimitMaximum"));
G_lastval = -1;
SetValue(G_limitmin);
// unexpected jump
// unexpected jump
};
nextFrame();
play();
Symbol 7 MovieClip Frame 3
tellTarget ("..") {
if (!G_poll) {
return(undefined);
}
if ("" == G_eventvar) {
return(undefined);
}
var v = eval (G_eventvar);
if (v != G_lastval) {
G_lastval = v;
SetValue(v);
}
};
gotoAndPlay (2);
Symbol 15 MovieClip Frame 2
stop();
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (bytesloaded == undefined) {
var bytesloaded = NaN;
}
delete _global.__resolve;
_global.__resolve = _global.__debugResolve;
if (bytestotal == undefined) {
var bytestotal = NaN;
}
if ("Demo Mode" != G_goto) {
bytesloaded = _parent.getBytesLoaded();
bytestotal = _parent.getBytesTotal();
} else {
G_framecount = (Number(G_framecount)+1);
bytesloaded = Number(G_framecount);
bytestotal = 500;
}
if (bytesloaded >= bytestotal) {
if ("Bar Only" != G_displaymode) {
loading._visible = true;
}
if (G_hide) {
this._visible = false;
}
Progress();
if (!(("Use EventFunction" != G_goto) || ("" == G_eventfunction))) {
_parent[G_eventfunction].call(_parent, _name, "Loaded");
}
this.stop();
return(undefined);
}
if (G_countdown == 0) {
G_countdown = G_blinkdelay;
if ("Bar Only" != G_displaymode) {
loading._visible = !loading._visible;
}
} else if (G_countdown > 0) {
G_countdown--;
}
G_v = (bytesloaded / bytestotal) * 100;
progressbar.SetValue(G_v);
displaytext(G_displaymode, bytesloaded, bytestotal, G_v);
this.gotoAndPlay("Loading");