1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Flash Falling Snow with Random Functions and Movie Clips


There are many different ways of creating snowfall in Flash, some more difficult than others. We’re going to use Math.random() and another function of the Math object, the Math.sin function, to create snow that falls in random places with a natural back-and-forth drift, following the path of a trigonometric sine curve.

You can create your snow before or after you create the rest of your scene, but I’ve started of by setting up a simple backdrop of snow dunes against a dark gradient sky, on a 550wx400h pixel stage.

Related Video
Edit Clips in Windows Movie Maker

©2014 About.com. All rights reserved.