Combined Code
movieClip 2 particle {
frame 1 {
temp = random(4) + 1;
if (temp == 1) {
gotoAndPlay('1');
} else {
if (temp == 2) {
gotoAndPlay('2');
} else {
if (temp == 3) {
gotoAndPlay('3');
} else {
if (temp == 4) {
gotoAndPlay('4');
}
}
}
}
}
frame 36 {
gotoAndStop(112);
}
frame 56 {
gotoAndStop(112);
}
frame 76 {
gotoAndStop(112);
}
frame 111 {
gotoAndStop(112);
}
}
frame 1 {
percent = Math.floor((_root.getBytesLoaded() / getBytesTotal()) * 100);
percentage.text = percent + '%';
}
// unknown tag 88 length 73
movieClip 7 {
}
frame 10 {
if (percent == 100) {
gotoAndPlay(11);
} else {
gotoAndPlay(1);
}
}
movieClip 9 {
}
frame 16 {
if (percent == 100) {
gotoAndPlay(16);
} else {
gotoAndPlay(1);
}
}
frame 17 {
numParticles = 10;
}
movieClip 10 {
}
instance of movieClip 10 {
onClipEvent (load) {
i = 0;
if (this._y < 368) {
h = 0;
while (h < _root.numParticles) {
_root.attachMovie('particle', 'particle' + i, i, {'_x': this._x, '_y': this._y, '_rotation': random(360)});
++i;
if (i > 2000) {
i = 0;
}
++h;
}
}
}
}
frame 40 {
stop();
}
movieClip 12 {
}