first make a new movie clip (which will be the snow) and give it the instance name of "snow", without quotes
then put this code on it
onClipEvent(load){
speedy=random(5);//creates the speed variables
speedx=random(1);
_x=_root._xmouse//makes the snow flaske move to mouse position
_y=_root._ymouse
}
onClipEvent(enterFrame){
if(_x>Stage.width || _x<0 || _y<0 || _y>Stage.height){//if the snowflake goes off screen it will be removed
this.removeMovieClip();
}
}
onClipEvent(enterFrame){
_y+=speedy;// makes the snow flaske go down and right
_x+=speedx;
if(speedy<0.5){// so the snowflake dosent move too slow
speedy=0.5}
if(speedx<0.5){
speedx=0.5}}
now on the frame where the movie clip is put these actions
sc = 0;
_root.onMouseMove = function() {
sc++;
if (sc>500) {
sc = 0;
}
duplicateMovieClip("snow", sc,sc);
};
if all has gone well, you should end up with somthing like
this