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>0x808000</Bg.Color><Bg.BgColor>0xFFFFFF</Bg.BgColor></ParamsValue>";
ParamsDefine = "<ParamsDefine><Bg.Color caption=\"Color\" type=\"color\" default=\"0x262693\"/><Bg.BgColor caption=\"Background color\" type=\"color\" default=\"0xFFFFFF\"/></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"] = 2500243 /* 0x262693 */;
param["Bg.BgColor"] = 16777215 /* 0xFFFFFF */;
}
_parent.stop();
var myColor = new Color(percentClip);
myColor.setRGB(param["Bg.Color"]);
var myColor = new Color(loadingBar);
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);
loadingBar._xscale = percentage;
percentClip.percentDisplay.text = percentage + "%";
percentClip._x = loadingBar._x + loadingBar._width;
bytesDisplay.text = ((("loaded " + siteLoaded) + " of ") + siteTotal) + " bytes";
if (siteLoaded >= siteTotal) {
gotoAndPlay(_currentframe + 2);
}
Symbol 4 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 4 MovieClip Frame 4
stop();
_parent.play();