Frame 1
_quality = "low";
Set("/:Smoke_amount", 12);
Set("/:Fire_amount", 1);
Set("/:Smoke_Y_offset", -12);
Set("/:Fire_Y_offset", 3);
Set("/:Smoke_X_amp", 12);
Set("/:Fire_X_amp", 5);
Set("/:Smoke_riseSpd", 0.2);
Set("/:Fire_riseSpd", 5);
Set("/:Smoke_fade_rate", 1);
Set("/:Fire_fade_rate", 18);
Set("/:Fire_resart", 32);
Set("/:Smoke_grth_rate", 12);
Set("/:Fire_grth_Xrate", -4);
Set("/:Fire_grth_Yrate", -4);
Set("/:Smoke_rotationRate", 7);
Set("/:Fire_rotationAmp", 4);
Set("/:FireAngle_max", 60);
Set("/:Smoke_size_min", 1);
Set("/:Smoke_size_max", 200);
Set("/:Fire_size_min", 5);
Set("/:Fire_size_max", 100);
stop();
Instance of Symbol 4 MovieClip "flame" in Frame 1
onClipEvent (mouseDown) {
Set("/:Smoke_size_min", 200);
Set("/:Smoke_size_max", 5000);
Set("/:Fire_size_min", 100);
Set("/:Fire_size_max", 500);
}
onClipEvent (mouseUp) {
Set("/:Smoke_size_min", 1);
Set("/:Smoke_size_max", 200);
Set("/:Fire_size_min", 5);
Set("/:Fire_size_max", 100);
}
Symbol 4 MovieClip Frame 1
while (j <= /:Fire_amount) {
duplicateMovieClip (fire0, sc + j, j);
j++;
}
stop();
Instance of Symbol 3 MovieClip "fire0" in Symbol 4 MovieClip Frame 1
onClipEvent (load) {
_alpha = (5 + (Math.random() * 50));
_xscale = 0;
}
onClipEvent (enterFrame) {
pym = _parent._ymouse + /:Fire_Y_offset;
pxm = _parent._xmouse;
_xscale = (_xscale + /:Fire_grth_Xrate);
_yscale = (_yscale + /:Fire_grth_Yrate);
if (_xscale >= /:Fire_size_max) {
_xscale = /:Fire_size_max;
} else if (_xscale <= /:Fire_size_min) {
_xscale = /:Fire_size_min;
}
if (_yscale >= /:Fire_size_max) {
_yscale = /:Fire_size_max;
} else if (_yscale <= /:Fire_size_min) {
_yscale = /:Fire_size_min;
}
_y = (_y - int(/:Fire_riseSpd));
_alpha = (_alpha - int(0.13 + ((/:Fire_fade_rate * Math.random()) * 0.73)));
xm = pxm - x;
x = pxm;
xxx = int((((xm * 3) / 14) - pxm) + x);
if (_alpha < (/:Fire_resart + random(/:Fire_resart * 2))) {
_alpha = ((20 + random(40)) + random(100));
_rotation = ((-xm) * /:Fire_rotationAmp);
_y = pym;
_x = (pxm + ((-/:Fire_X_amp) + (Math.random() * (/:Fire_X_amp * 2))));
scale = Math.round(/:Fire_size_min + (Math.random() * /:Fire_size_max));
_xscale = scale;
_yscale = scale;
if (_rotation >= /:FireAngle_max) {
xm = /:FireAngle_max;
_rotation = /:FireAngle_max;
} else if (_rotation <= (-/:FireAngle_max)) {
xm = -/:FireAngle_max;
_rotation = (-/:FireAngle_max);
}
this.gotoAndStop(1 + random(5));
}
updateAfterEvent(enterFrame);
}
Symbol 6 MovieClip Frame 1
while (i <= /:Smoke_amount) {
duplicateMovieClip (smoke0, sc + i, i);
i++;
}
stop();
Instance of Symbol 5 MovieClip "smoke0" in Symbol 6 MovieClip Frame 1
onClipEvent (load) {
_alpha = (5 + (Math.random() * 50));
_xscale = 0;
}
onClipEvent (enterFrame) {
pym = _parent._ymouse + /:Smoke_Y_offset;
pxm = _parent._xmouse;
if (_xscale < /:Smoke_size_min) {
_xscale = /:Smoke_size_min;
} else if (_xscale > /:Smoke_size_max) {
_xscale = /:Smoke_size_max;
}
_xscale = (_xscale + /:Smoke_grth_rate);
_yscale = _xscale;
_y = (_y - ((1980 + ((-_yscale) * 1.83)) * (/:Smoke_riseSpd / 100)));
_x = (_x + (xxx / 8));
_alpha = (_alpha - ((0.13 + /:Smoke_fade_rate) + (Math.random() * 0.23)));
if (rr > 0) {
_rotation = (_rotation + /:Smoke_rotationRate);
} else if (rr < 0) {
_rotation = (_rotation - /:Smoke_rotationRate);
}
if (_alpha <= random(5)) {
rx = (-/:Smoke_X_amp) + ((Math.random() * /:Smoke_X_amp) * 2);
rr = -6 + random(12);
_alpha = (35 + (Math.random() * 65));
xm = pxm - x;
x = pxm;
xxx = int(((xm / 12) - pxm) + x);
_y = pym;
_x = (rx + pxm);
rscale = int(Math.random() * 12);
_xscale = rscale;
_yscale = rscale;
_rotation = (-45 + (Math.random() * 90));
this.gotoAndStop(1 + random(6));
}
updateAfterEvent(enterFrame);
}