how to create a snow fall effect
hi friends as christmas is coming me going to show u how to create a snow fall effect for u..
easy 5 steps..
- first open the flash then create a movie clip name it as snow..
- then create a white color cirlce and go the parameters and give some blur to that movie clip.
note that don create the snow image as graphic because u may not allowed to give the parameters - then give the movie clip instance name as "snowflake".. dont put in double codes and all..
- then go the layers create another new layer .name it as action..first frame's action write this
maxsnowflakes = 100;
var snowflakes = new Array();
for (i = 0; i < _x =" Stage.width" _y =" Stage.height" _xscale =" 40" _yscale =" snowflakes[i]._xscale;" yspeed =" Math.random()" increment =" -2.500000E-002" onenterframe =" function" radians =" this.increment" _y =" this.yspeed" _x =" Math.sin(this.radians)"> Stage.height)
{
this._y = -10;
this._x = -10 + Math.random() * Stage.width;
} // end if
};
} // end of for
play (); - in second layer paste this
stop ();
ctlr+enter and check it..
