Frame 1
this.setMask(movieShapeMaskMC);
Frame 3
g_soundloopcount = -1;
moviesound = new Sound();
moviesound.attachSound("moviesound");
moviesound.start();
moviesound.onSoundComplete = function () {
if (g_soundloopcount != -1) {
g_soundloopcount--;
}
if (g_soundloopcount != 0) {
moviesound.start();
}
};
play();
Frame 4
play();
Frame 5
stop();
Frame 6
gotoAndPlay ("loopstart");
Symbol 4 MovieClip Frame 1
ParamsValue = "<ParamsValue><Bg.Color>0x800000</Bg.Color><Bg.BgColor>0x000000</Bg.BgColor></ParamsValue>";
ParamsDefine = "<ParamsDefine><Bg.Color caption=\"Color\" type=\"color\" default=\"0xFFFFFF\"/><Bg.BgColor caption=\"Background color\" type=\"color\" default=\"0x000000\"/></ParamsDefine>";
param = new Array();
if (ParamsValue != null) {
paramXML = new XML(ParamsValue);
paramXML.ignoreWhite = true;
var i = 0;
while (i < paramXML.childNodes[0].childNodes.length) {
node = paramXML.childNodes[0].childNodes[i];
param[node.nodeName] = node.childNodes[0].nodeValue;
i++;
}
param["Bg.Color"] = parseInt(param["Bg.Color"]);
} else {
param["Bg.Color"] = 16777215 /* 0xFFFFFF */;
param["Bg.BgColor"] = 0;
}
_parent.stop();
var myColor = new Color(loadingCircle);
myColor.setRGB(param["Bg.Color"]);
bytesDisplay.textColor = param["Bg.Color"];
Symbol 4 MovieClip Frame 2
var siteLoaded = _parent.getBytesLoaded();
var siteTotal = _parent.getBytesTotal();
var percentage = Math.round((siteLoaded / siteTotal) * 100);
bytesDisplay.text = percentage;
if (siteLoaded >= siteTotal) {
gotoAndPlay(_currentframe + 2);
}
Symbol 4 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 4 MovieClip Frame 4
stop();
_parent.play();