Combined Code
frame 1 {
_root.fire._visible = false;
counter = 1;
i = 0;
onEnterFrame = function () {
--counter;
if (counter == 0) {
counter = 30;
++i;
duplicateMovieClip(_root.fire, i, i + 2);
_root[i]._x = 60 + Math.random() * (Stage.width - 60);
_root[i]._y = 60 + Math.random() * (Stage.height - 60);
}
};
}
movieClip 2 {
}
movieClip 3 {
}
movieClip 4 {
instance a of movieClip 3 {
onClipEvent (load) {
str = '0x' + _parent['color' + Math.round(1 + Math.random() * (_parent.num - 1))];
(new Color(this)).setRGB(str);
dist = Math.random() * 100;
angle = Math.random() * 360;
_rotation = angle;
speed = dist / 10;
goX = Math.sin(angle * Math.PI / 180);
goY = -Math.cos(angle * Math.PI / 180);
}
onClipEvent (enterFrame) {
if (_visible == true) {
speed -= 0.15;
_alpha = (speed / dist) * 1000;
_x = _x + goX * speed;
_y = _y + goY * speed;
if (speed <= 0) {
++_parent.counter;
if (_parent.counter == 300) {
removeMovieClip(_parent);
}
removeMovieClip(this);
}
}
}
}
}
instance fire of movieClip 4 {
onClipEvent (load) {
ssetNum = 6;
sset = Math.round(0.5 + Math.random() * ssetNum);
num = 12;
counter = 0;
i = 1;
while (i <= 300) {
duplicateMovieClip(this.a, i, 2 + i);
++i;
}
if (sset == 1) {
main = 'FF';
ext1 = '00';
ext2 = '33';
} else {
if (sset == 2) {
main = '00';
ext1 = '00';
ext2 = '33';
} else {
if (sset == 3) {
main = '00';
ext1 = 'CC';
ext2 = 'FF';
} else {
if (sset == 4) {
main = 'FF';
ext1 = 'CC';
ext2 = 'FF';
} else {
if (sset == 5) {
main = '99';
ext1 = 'CC';
ext2 = 'FF';
} else {
if (sset == 6) {
main = 'FF';
ext1 = '66';
ext2 = '99';
}
}
}
}
}
}
color1 = main + '00' + ext1;
color2 = main + '33' + ext1;
color3 = main + '66' + ext1;
color4 = main + '99' + ext1;
color5 = main + 'CC' + ext1;
color6 = main + 'FF' + ext1;
color7 = main + '00' + ext2;
color8 = main + '33' + ext2;
color9 = main + '66' + ext2;
color10 = main + '99' + ext2;
color11 = main + 'CC' + ext2;
color12 = main + 'FF' + ext2;
this.a._visible = false;
}
}
// unknown tag 88 length 208
// unknown tag 88 length 68
movieClip 13 {
}
movieClip 18 {
}
movieClip 19 {
}
movieClip 22 {
}
movieClip 23 {
}
movieClip 25 {
}
movieClip 29 {
}
movieClip 30 {
}
movieClip 33 {
}
movieClip 37 {
}
movieClip 40 {
}
movieClip 41 {
}
movieClip 43 {
}
movieClip 44 {
}
movieClip 45 {
}
movieClip 47 {
}
button 48 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 51 {
}
button 57 {
on (release) {
_root.play();
}
}
movieClip 59 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
}
movieClip 65 {
}
movieClip 68 {
}
movieClip 71 {
}
instance of movieClip 71 {
onClipEvent (press) {
getURL('http://www.45percent.newgrounds.com/', _blank);
}
}
// unknown tag 88 length 127
movieClip 74 {
}
movieClip 79 {
}
instance of movieClip 71 {
onClipEvent (press) {
getURL('http://www.newgrounds.com/', _blank);
}
}
frame 303 {
stop();
}
// unknown tag 88 length 37
movieClip 91 {
}
movieClip 94 {
}
button 95 {
on (release) {
gotoAndStop(341);
}
}
// unknown tag 88 length 70
// unknown tag 88 length 52
movieClip 107 {
}
button 108 {
on (release) {
gotoAndStop(314);
}
}
movieClip 115 {
}
button 116 {
on (release) {
gotoAndStop(306);
}
}
movieClip 120 {
}
movieClip 121 {
}
movieClip 123 {
}
// unknown tag 88 length 63
// unknown tag 88 length 79
button 132 {
on (release) {
gotoAndStop(322);
}
}
movieClip 135 {
}
// unknown tag 88 length 67
// unknown tag 88 length 62
// unknown tag 88 length 75
// unknown tag 88 length 67
// unknown tag 88 length 138
// unknown tag 88 length 14
// unknown tag 88 length 105
// unknown tag 88 length 81
// unknown tag 88 length 131
// unknown tag 88 length 46
// unknown tag 88 length 11
// unknown tag 88 length 39
// unknown tag 88 length 36
// unknown tag 88 length 46
// unknown tag 88 length 214
// unknown tag 88 length 60
// unknown tag 88 length 99
// unknown tag 88 length 90
// unknown tag 88 length 68
// unknown tag 88 length 55
// unknown tag 88 length 154
// unknown tag 88 length 58
movieClip 159 {
}
button 161 {
on (release) {
gotoAndStop(328);
}
}
frame 306 {
stop();
}
// unknown tag 88 length 88
movieClip 166 {
}
movieClip 170 {
}
button 171 {
on (release) {
nextFrame();
}
}
// unknown tag 88 length 66
button 175 {
on (release) {
gotoAndStop(303);
}
}
frame 307 {
stop();
}
button 176 {
on (release) {
prevFrame();
}
}
frame 312 {
stop();
}
// unknown tag 88 length 120
button 187 {
on (release) {
gotoAndStop(303);
}
}
frame 314 {
stop();
}
frame 315 {
stop();
}
frame 320 {
stop();
}
button 199 {
on (release) {
prevFrame();
}
}
frame 322 {
stop();
}
frame 323 {
stop();
}
frame 326 {
stop();
}
frame 328 {
stop();
}
frame 329 {
stop();
}
// unknown tag 88 length 138
// unknown tag 88 length 31
// unknown tag 88 length 66
// unknown tag 88 length 70
frame 336 {
stop();
}
// unknown tag 88 length 86
// unknown tag 88 length 60
// unknown tag 88 length 59
// unknown tag 88 length 82
// unknown tag 88 length 138
// unknown tag 88 length 40
frame 341 {
stop();
}
movieClip 252 {
}
button 254 {
on (release) {
gotoAndStop(303);
}
}
movieClip 257 {
frame 767 {
stop();
}
}
movieClip 259 {
}