Combined Code
movieClip 2 snow_mc {
}
frame 1 {
function glob_func() {
_root.newX = Math.random() * 1 - Math.random() * 1;
_root.chX = (_root.newX - _root.dX) / (50 + random(50));
clearInterval(_root.x_int);
_root.x_int = setInterval(function () {
_root.dX += _root.chX;
if (Math.round(_root.dX * 10) / 10 == Math.round(_root.newX * 10) / 10) {
clearInterval(_root.x_int);
}
}, 30);
}
function move_func() {
varDif = this._xscale / 100;
this._x += this.dX + _root.dX * varDif;
this._y += this.dY + _root.dY * varDif;
if (this._y >= Stage.height) {
this.removeMovieClip();
}
}
function snow_func() {
varTarget = _root.attachMovie('snow_mc', 'snow' + _root.getNextHighestDepth() + '_mc', _root.getNextHighestDepth(), {'_y': -30, '_x': -75 + Math.random() * (Stage.width + 75)});
varTarget._yscale = 25 + Math.random() * 75;
varTarget._xscale = varTarget._yscale;
varTarget.dX = Math.random() * 1 - Math.random() * 1;
varTarget.dY = 0.5 + varTarget._xscale / 100;
varTarget.onEnterFrame = _root.move_func;
}
Stage.scaleMode = 'noScale';
_root._quality = 'BEST';
var dX = 0;
var dY = 0.25;
setInterval(glob_func, 5000);
setInterval(snow_func, 1000);
logo_mc.onRollOver = function () {};
}
movieClip 7 {
}