Frame 1
this.setMask(movieShapeMaskMC);
Frame 3
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();
Symbol 20 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>700</Movie.Width><Movie.Height>677</Movie.Height><Movie.FPS>24</Movie.FPS><Bg.Color>0xF90006</Bg.Color><Bg.Radius>200</Bg.Radius><Bg.PositionMode>Custom</Bg.PositionMode><Bg.PosX>0</Bg.PosX><Bg.PosY>0</Bg.PosY></ParamsValue>";
ParamsDefine = "<ParamsDefine><Bg.Color caption=\"Wave color\" type=\"color\" default=\"0xFFFFFF\"/><Bg.Radius caption=\"Radius(%)\" type=\"integer\" min=\"100\" max=\"1000\" default=\"200\"/><Bg.PositionMode caption=\"Position\" type=\"selection\" selection=\"Center;Custom\" default=\"Custom\"/><Bg.PosX caption=\"Customized Pos X\" type=\"integer\" min=\"0\" max=\"10000\" default=\"0\"/><Bg.PosY caption=\"Customized Pos Y\" type=\"integer\" min=\"0\" max=\"10000\" default=\"0\"/></ParamsDefine>";
param = new Array();
param["Movie.Width"] = _parent._width;
param["Movie.Height"] = _parent._height;
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"]);
param["Bg.Radius"] = parseInt(param["Bg.Radius"]);
param["Bg.PosX"] = parseInt(param["Bg.PosX"]);
param["Bg.PosY"] = parseInt(param["Bg.PosY"]);
param["Movie.Width"] = parseInt(param["Movie.Width"]);
param["Movie.Height"] = parseInt(param["Movie.Height"]);
} else {
param["Bg.Color"] = 16777215 /* 0xFFFFFF */;
param["Bg.Radius"] = 200;
param["Bg.PositionMode"] = "Custom";
param["Bg.PosX"] = 0;
param["Bg.PosY"] = 0;
param["Movie.Width"] = 400;
param["Movie.Height"] = 300;
}
this.bot0._visible = true;
var maxSize = param["Movie.Width"];
if (param["Movie.Height"] > param["Movie.Width"]) {
maxSize = param["Movie.Height"];
}
this.bot0._xscale = (maxSize * param["Bg.Radius"]) / 600;
this.bot0._yscale = (maxSize * param["Bg.Radius"]) / 600;
if (param["Bg.PositionMode"] == "Custom") {
this.bot0._x = param["Bg.PosX"];
this.bot0._y = param["Bg.PosY"];
} else {
this.bot0._x = param["Movie.Width"] / 2;
this.bot0._y = param["Movie.Height"] / 2;
}
var my_color = new Color(this.bot0);
my_color.setRGB(param["Bg.Color"]);