Combined Code
movieClip 1 {
}
frame 1 {
this.setMask(movieShapeMaskMC);
}
movieClip 8 {
}
movieClip 9 {
frame 76 {
gotoAndPlay('repeat');
}
}
movieClip 4 {
frame 1 {
ParamsValue = '<ParamsValue><Bg.Color>0xFFFFFF</Bg.Color><Bg.BgColor>0x000000</Bg.BgColor></ParamsValue>';
}
frame 1 {
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;
param.Bg.BgColor = 0;
}
_parent.stop();
var myColor = new Color(loadingCircle);
myColor.setRGB(param.Bg.Color);
bytesDisplay.textColor = param.Bg.Color;
}
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);
}
}
frame 3 {
gotoAndPlay(_currentframe - 1);
}
frame 4 {
stop();
_parent.play();
}
}
frame 3 {
play();
}
movieClip 12 {
}
movieClip 17 {
}
movieClip 22 {
}
movieClip 23 {
frame 76 {
gotoAndPlay('repeat');
}
}
movieClip 24 {
frame 1 {
ParamsValue = '<ParamsValue><Bg.Color>0xFFFFFF</Bg.Color><Bg.BgColor>0x000000</Bg.BgColor></ParamsValue>';
}
frame 1 {
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;
param.Bg.BgColor = 0;
}
_parent.stop();
var myColor = new Color(loadingCircle);
myColor.setRGB(param.Bg.Color);
bytesDisplay.textColor = param.Bg.Color;
}
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);
}
}
frame 3 {
gotoAndPlay(_currentframe - 1);
}
frame 4 {
stop();
_parent.play();
}
}
movieClip 88 {
frame 1 {
stop();
}
}
movieClip 89 {
}
movieClip 90 {
frame 8 {
hart.heart.play();
}
frame 38 {
gotoAndPlay('s1');
}
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 96 {
}
movieClip 99 {
}
movieClip 100 {
frame 1 {
stop();
var i = 0;
while (i < 5) {
this['EffectBar' + i]._visible = true;
this['EffectBar' + i].onEnterFrame = function () {
this._yscale -= (this._yscale - (random(80) + 20)) / 2;
};
++i;
}
}
}
movieClip 102 {
frame 1 {
stop();
var i = 0;
while (i < 5) {
this['EffectBar' + i]._visible = true;
this['EffectBar' + i]._yscale = 20 * (i + 1);
++i;
}
}
}
movieClip 103 {
frame 1 {
stop();
this.onRelease = function () {
var v2 = new Sound();
v2.setVolume(0);
_parent.VolumeSlideMC._x = _parent.VolumeBarMC._x;
nextFrame();
};
}
frame 2 {
stop();
this.onRelease = function () {
var v2 = new Sound();
v2.setVolume(volumeValue);
_parent.VolumeSlideMC._x = _parent.VolumeBarMC._x + _parent.VolumeBarMC._width * volumeValue / 100;
prevFrame();
};
}
}
movieClip 104 {
frame 1 {
ParamsValue = '<ParamsValue><Bg.Color>0xC0C0C0</Bg.Color><Bg.AutoStart>true</Bg.AutoStart><Bg.AutoStart>True</Bg.AutoStart></ParamsValue>';
}
frame 1 {
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;
param.Bg.AutoStart = true;
}
var myColor = new Color(this);
myColor.setRGB(param.Bg.Color);
var globalVolume = 100;
soundSwitch.volumeValue = globalVolume;
var globalSound = new Sound();
if (!param.Bg.AutoStart) {
globalSound.setVolume(0);
soundSwitch.gotoAndStop(2);
VolumeSlideMC._x = VolumeBarMC._x;
} else {
globalSound.setVolume(globalVolume);
soundSwitch.gotoAndStop(1);
VolumeSlideMC._x = VolumeBarMC._x + VolumeBarMC._width * globalVolume / 100;
}
VolumeBarMC.onPress = function () {
VolumeSlideMC._x = this._xmouse + this._x;
globalVolume = 100 * this._xmouse / this._width;
var v2 = new Sound();
v2.setVolume(globalVolume);
soundSwitch.volumeValue = globalVolume;
};
VolumeSlideMC.onPress = function () {
startDrag(this, false, VolumeBarMC._x, VolumeSlideMC._y, VolumeBarMC._x + VolumeBarMC._width, VolumeSlideMC._y);
globalVolume = 100 * (VolumeSlideMC._x - VolumeBarMC._x) / (VolumeBarMC._width - VolumeSlideMC._width);
var v2 = new Sound();
v2.setVolume(globalVolume);
soundSwitch.volumeValue = globalVolume;
};
VolumeSlideMC.onRelease = function () {
stopDrag();
globalVolume = 100 * (VolumeSlideMC._x - VolumeBarMC._x) / (VolumeBarMC._width - VolumeSlideMC._width);
var v1 = new Sound();
v1.setVolume(globalVolume);
soundSwitch.volumeValue = globalVolume;
};
VolumeSlideMC.onReleaseOutside = VolumeSlideMC.onRelease;
}
}
movieClip 15 {
frame 1 {
this.setMask(movieShapeMaskMC);
}
frame 3 {
play();
}
frame 4 {
play();
}
frame 5 {
stop();
}
frame 6 {
gotoAndPlay('loopstart');
}
}
frame 4 {
play();
}
frame 5 {
stop();
}
frame 6 {
gotoAndPlay('loopstart');
}