FLASH TUTORIALS AND TECHNICS

Here u can learn flash tutorials and technics and small tips. i can also teach u web designs and graphic designs.

Saturday, November 29, 2008

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..

  1. first open the flash then create a movie clip name it as snow..
  2. 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
  3. then give the movie clip instance name as "snowflake".. dont put in double codes and all..
  4. 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 ();
  5. in second layer paste this
    stop ();
see the image for the appearance..
ctlr+enter and check it..