Combined Code
movieClip 2 dust {
}
frame 1 {
init = function () {
width = Stage.width;
height = Stage.height;
max_dustsize = 10;
dust = 50;
i = 0;
while (i < dust) {
t = attachMovie('dust', 'dust' + i, i);
t._alpha = 20 + Math.random() * 60;
t._x = -(width / 2) + Math.random() * (1.5 * width);
t._y = -(height / 2) + Math.random() * (1.5 * height);
t._yscale = 50 + Math.random() * (max_dustsize * 10);
t._xscale = t._yscale;
t.k = 1 + Math.random() * 2;
t.wind = -1.5 + Math.random() * 4.199999999999999;
t.onEnterFrame = mover;
++i;
}
};
mover = function () {
this._rotation -= 10;
this._y += this.k;
this._x += this.wind;
if (this._y > height + 10) {
this._y = -20;
}
if (this._x > width + 20) {
this._x = -(width / 2) + Math.random() * (1.5 * width);
this._y = -20;
} else {
if (this._x < -20) {
this._x = -(width / 2) + Math.random() * (1.5 * width);
this._y = -20;
}
}
};
init();
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 13 {
}
// unknown tag 88 length 153