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 9 MovieClip Frame 76
gotoAndPlay ("repeat");
Symbol 4 MovieClip Frame 1
ParamsValue = "<ParamsValue><Bg.Color>0x008000</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();
Symbol 21 MovieClip Frame 1
stop();
var i = 0;
while (i < 5) {
this["EffectBar" + i]._visible = true;
this["EffectBar" + i].onEnterFrame = function () {
this._yscale = this._yscale - ((this._yscale - (random(80) + 20)) / 2);
};
i++;
}
Symbol 23 MovieClip Frame 1
stop();
var i = 0;
while (i < 5) {
this["EffectBar" + i]._visible = true;
this["EffectBar" + i]._yscale = 20 * (i + 1);
i++;
}
Symbol 24 MovieClip Frame 1
stop();
this.onRelease = function () {
var _local1 = new Sound();
_local1.setVolume(0);
nextFrame();
};
Symbol 24 MovieClip Frame 2
stop();
this.onRelease = function () {
var _local1 = new Sound();
_local1.setVolume(100);
prevFrame();
};
Symbol 15 MovieClip Frame 1
ParamsValue = "<ParamsValue><Bg.Color>0xFFFFFF</Bg.Color><Bg.AutoStart>true</Bg.AutoStart><Bg.AutoStart>True</Bg.AutoStart></ParamsValue>";
ParamsDefine = "<ParamsDefine><Bg.Color caption=\"Color\" type=\"color\" default=\"0xFFFFFF\"/><Bg.AutoStart caption=\"Auto Start\" type=\"bool\" default=\"true\"/></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"]);
param["Bg.AutoStart"] = param["Bg.AutoStart"].toLowerCase() == "true";
} else {
param["Bg.Color"] = 16777215 /* 0xFFFFFF */;
param["Bg.AutoStart"] = true;
}
var myColor = new Color(this);
myColor.setRGB(param["Bg.Color"]);
var globalSound = new Sound();
if (!param["Bg.AutoStart"]) {
globalSound.setVolume(0);
soundClip.gotoAndStop(2);
} else {
globalSound.setVolume(100);
soundClip.gotoAndStop(1);
}
Symbol 30 MovieClip Frame 1
ParamsValue = "<ParamsValue><Movie.Width>420</Movie.Width><Movie.Height>420</Movie.Height><Movie.FPS>24</Movie.FPS><Bg.Number>100</Bg.Number><Bg.Speed>18</Bg.Speed><Bg.Angle>30</Bg.Angle><Bg.Sound>false</Bg.Sound><Bg.SoundVolume>100</Bg.SoundVolume><Bg.Color>0xFFFFFF</Bg.Color></ParamsValue>";
function dropRain() {
if (this._x > this.MaxWidth) {
this._x = (-this._width) + 2;
}
if (this._x < (-this._width)) {
this._x = this.MaxWidth - 2;
}
if (this._y > this.MaxHeight) {
this._y = -this._height;
}
if (this._y < (-this._height)) {
this._y = this.MaxHeight - 2;
}
this._x = this._x - (Math.sin(this.Angle) * (this.Velocity + random(this.Velocity / 2)));
this._y = this._y + (Math.cos(this.Angle) * (this.Velocity + random(this.Velocity / 2)));
}
ParamsDefine = "<ParamsDefine><Bg.Number caption=\"Rain number\" type=\"integer\" min=\"1\" max=\"500\" default=\"100\"/><Bg.Speed caption=\"Rain speed\" type=\"integer\" min=\"1\" max=\"100\" default=\"18\"/><Bg.Angle caption=\"Rain angle\" type=\"integer\" min=\"0\" max=\"360\" default=\"30\"/><Bg.Sound caption=\"Rain sound\" type=\"bool\" default=\"false\"/><Bg.SoundVolume caption=\"Sound volume\" type=\"integer\" min=\"0\" max=\"100\" default=\"100\"/><Bg.Color caption=\"Rain color\" type=\"color\" default=\"0xFFFFFF\"/></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.Number"] = parseInt(param["Bg.Number"]);
param["Bg.Speed"] = parseInt(param["Bg.Speed"]);
param["Bg.Angle"] = parseInt(param["Bg.Angle"]);
param["Bg.Sound"] = param["Bg.Sound"].toLowerCase() == "true";
param["Bg.SoundVolume"] = parseInt(param["Bg.SoundVolume"]);
param["Bg.Color"] = parseInt(param["Bg.Color"]);
param["Movie.Width"] = parseInt(param["Movie.Width"]);
param["Movie.Height"] = parseInt(param["Movie.Height"]);
} else {
param["Bg.Number"] = 100;
param["Bg.Speed"] = 18;
param["Bg.Angle"] = 30;
param["Bg.Sound"] = true;
param["Bg.SoundVolume"] = 100;
param["Bg.Color"] = 16777215 /* 0xFFFFFF */;
param["Movie.Width"] = 400;
param["Movie.Height"] = 300;
}
if (param["Bg.Sound"]) {
var movieSound = new Sound();
movieSound.attachSound("rainsound");
movieSound.setVolume(param["Bg.SoundVolume"]);
movieSound.start(0, 65535);
}
i = 0;
while (i < 3) {
this["bot" + i]._visible = false;
i++;
}
i = 3;
while (i < param["Bg.Number"]) {
j = random(3);
duplicateMovieClip ("bot" + j, "bot" + i, i);
i++;
}
i = 0;
while (i < param["Bg.Number"]) {
this["bot" + i]._visible = true;
this["bot" + i]._x = random(param["Movie.Width"]);
this["bot" + i]._y = random(param["Movie.Height"]);
var scale = (random(60) + 40);
this["bot" + i]._xscale = scale;
this["bot" + i]._yscale = scale;
this["bot" + i]._alpha = random(30) + 70;
var my_color = new Color(this["bot" + i]);
my_color.setRGB(param["Bg.Color"]);
this["bot" + i]._rotation = param["Bg.Angle"];
this["bot" + i].Angle = (param["Bg.Angle"] * Math.PI) / 180;
this["bot" + i].Velocity = random(2) + param["Bg.Speed"];
this["bot" + i].MaxWidth = param["Movie.Width"] + this["bot" + i]._width;
this["bot" + i].MaxHeight = param["Movie.Height"] + this["bot" + i]._height;
this["bot" + i].onEnterFrame = dropRain;
i++;
}