Without a doubt the most electrifying topic in web development today started with the release of Microsoft’s Silverlight which started a debate among the web developers and designers regarding choosing between the mature flash and new-comer Silverlight
Here we will discuss some of the technical differences between these two titans to let you decide the technology that best suits your needs and creative dreams.
Flash uses the traditional FBA model (Frame based animation model) where we create an object for each frame to produce an animation sequence where Silverlight is based on the WPF animation model, which is time-based so you just define the start and end conditions, and it figures out how to do it. No need to deal with matrices like with Flash. Also, no need to calculate the positions of objects in various frames.
File size of flash is relatively smaller due to the compressed format while Silverlight uses XAML for its description language, and it is non-compressed, so the size of a Silverlight component is usually larger but new tool-kit available with Silverlight helps to compress the file size.
Action Script is used to program Flash objects. Action Script is an object-oriented language with a full range of controls for designing user interfaces, for developing online browser-hosted applications and stand-alone desktop applications. For Silverlight scripting, you can choose from among a number of programming languages such as Visual C#.Net and VB.Net, including client-side scripting with JavaScript. C# and VB.NET can be used to write managed code that runs on and uses all of the enhancements and capabilities of Microsoft’s .NET framework.
Flash supports multiple video formats. The latest codec is very high quality, and the bandwidth usage is nice. Silverlight implements the industry-standard VC-1 codec for video, and supports WMV and WMA. it’s not a big deal because Microsoft makes available a free SDK encoder for producing WMA and WMV.
Action Script offers a set of sound classes that can be used to generate and control sound in a movie. You can add sounds from the library while the movie clip is playing and control those sounds. Silverlight doesn’t have the low-level audio APIs you would need to write an audio application in the browser.
Flash supports Windows Vista/XP/2000, Windows Server 2003/2008, Mac OS 10.1/10.5 (PowerPC), Mac OS 10.1/10.5 (Intel), Linux 5, openSUSE 11, Ubuntu 7.10 or later and Solaris 10.Silverlight supports only Windows Vista/XP/2000, Windows Server 2003/2008, Windows Mobile 6, Mac OS 10.1/10.5 (PowerPC) and Mac OS 10.1/10.5 (Intel). Because Linux and Solaris support is missing, users of those operating systems won’t be able to experience Silverlight on their machines
Flash supports almost all image formats. Silverlight supports only PNG and JPEG file formats. Some other file formats are supported by Silverlight but in a limited way.
The Flash deployment package contains only a single Shockwave (SWF) file, Because of the compressed nature of a Flash component, its images and text are not indexed by search engines, and thus not searchable. The deployment process of Silverlight is far more complex; all individual components need to be deployed separately.
The following components typically get sent to the client for each Web request of Silverlight: * XML files * DLL files (if necessary) * Silverlight.js file * Any other JavaScript file * Resources (images, audio, video)
A Flash movie can be compiled into a Windows application and run as a standalone EXE file. It can also be played on a desktop that has an appropriate Flash player. Silverlight doesn’t support playing the movie as a Windows application.
Initially webcam support was missing in Silverlight but with the launch of the fourth version support for webcam has come to the market .
Flash being the old player on the field have all the attention of the audience and the new little boy Silverlight still need to do hard work for getting a long list of fan following.
But what if in hypothetical-land Microsoft made Silverlight a mandatory plug-in and mass adoption happened overnight?
Adobe has had a monopoly on designers for 15 years. Microsoft would be foolish to try to sway people from industry standards like Photoshop and Illustrator. So having a smooth flow between designers and developers is crucial and Microsoft will never do this as well as Adobe does. Silverlight does have a couple points in its favor. It is new so the plug-in doesn't have to support several back-versions. More developers like C# over Action Script, however, When Silverlight came out were excited because low grade Action Script 2 and developing within the Flash IDE. Now there is Action Script 3 and Flex Builder with Eclipse, which in my opinion can contend even with Visual Studio.
Selecting the right technology for rich Internet applications is often critical, and choosing between Flash and Silverlight depends entirely on your requirements .Microsoft’s development tools make things SO easy to use. If you expect that some of your users will be on Linux or Solaris, then you should go with Flash. If you want your website to be indexed by search engines, then Silverlight may be better.