December 28th, 2008 | View Comments
Every year, during the entire month of December, one of the most popular tutorials on the site are the ones that revolve around creating the falling snow effect. Below, you’ll see two more examples of the falling snow effect – one created in Flash and another one created in Silverlight.
Click on the Let It Snow text in each of the examples to have the snow fall. Without cheating by right-clicking, can you guess which one is the Flash version and which one is the Silverlight version?
Mystery Runtime #1
Mystery Runtime #2
The source files for both are provided below:
|Download Silverlight Source|
|Download Flash Source|
The source files for the Silverlight version work on Expression Blend 2 SP1 and Visual Studio 2008. Do refer to my getting started article to get setup for Silverlight development if you haven’t set anything up before.
For the Flash source files, all you need is Flash CS3 or higher. Just open the FLA and SnowFlake.as file, and you are set!
The thing I want you to notice from the source files is how similar both the Silverlight and Flash versions of this application are under the hood. The visuals are nearly identical, and much of the code, barring some syntax changes, is pretty similar as well.
Since making resolutions for the upcoming year is all the rage these days, consider making cross-pollination of Silverlight and Flash skills a goal. If you are a seasoned Silverlight designer, consider giving Flash a shot. Likewise, if you are a Flash designer, give Silverlight a shot.
You’ll find there are a lot more things that are similar than are different.