Frame 1
k = 0;
while (k < 50) {
duplicateMovieClip (this.snow, "snow" + k, k);
k++;
}
Instance of Symbol 9 MovieClip "snow" in Frame 1
onClipEvent (load) {
movieWidth = 970;
movieHeight = 485;
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._alpha = 75 + (Math.random() * 100);
this._x = -10 + (Math.random() * movieWidth);
this._y = -10 + (Math.random() * movieHeight);
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * Math.PI);
this._x = this._x - Math.cos(rad);
this._y = this._y + i;
if (this._y >= movieHeight) {
this._y = -5;
}
if ((this._x >= movieWidth) || (this._x <= 0)) {
this._x = -10 + (Math.random() * movieWidth);
this._y = -5;
}
}
Frame 151
stopAllSounds();