Sei sulla pagina 1di 6

Difference between Silverlight and Flash

The most successful browser plug- in is Adobe Flash,

which is installed on over 90 percent of the world’s web browsers. Flash has a
long history that spans more than ten years, beginning as a straightforward tool for
adding animated graphics and gradually evolving into a platform for developing
interactive content.

It’s perfectly reasonable for ASP.NET developers to

extend their websites using Flash content. However, doing so requires a separate
design tool, and a completely different programming language (ActionScript) and
programming environment (Flex). Furthermore, there’s no straightforward way to
generate Flash content using server- side .NET code, which means it’s difficult
to integrate ASP.NET content and Flash content—instead, they exist in separate

Silverlight aims to give .NET developers a better option

for creating rich web content. Silverlight provides a browser plug- in with many
similar features to Flash, but one that’s designed from the ground up for .NET.
Silverlight natively supports the VB .NET language and uses a range of .NET
concepts. As a result, developers can write client- side code for Silverlight in the
same language they use for server- side code (such as VB and C#), and use
many of thesame abstractions (including streams, controls, collections, generics,
and LINQ).
Silverlight Feature comparison with Flash Features:

Silverlight Flash
Animation - Silverlight supports the WPF animation The animation model is frame based.
model, which is not only time based instead of frame
based, but lets you define the start and end conditions
and it will figure out how to get there for you. No need
to deal with matrixes like in flash. Also no need to
calculate positions on various frames. It just works.
Silverlight uses XAML. XAML is text based and can Flash stores its shapes using binary shape records.
be output using a simple XML object. In order to write shape definitions, you will need to
either license a 3rd party Flash file format SDK, or
build your own. It isn’t too difficult, but it does
require a bit of a learning curve.
The debugging with Silverlight is simpler than withThe debugging with flash is harder than Silverlight.
Silverlight lets you embed true type font information Dealing with fonts is fairly complex with flash.
directly into your projects, and download that
information with the downloader object.
Rich set of development languages are available forOnly Action Script can be used as programming
Silverlight. Developer can use JavaScript as well astool in Flash.
managed code VB.Net, C# for Silverlight development.
XAML is declarative while ActionScript is imperative. ActionScript is an imperative language, which
Using imperative languages to build UIs goes back to brings itself the pitfalls of imperative languages
the early days of DOS and Windows, when developers when compared with declarative languages.
had to manage all of the API nuances when interacting
with graphical panes.
Silverlight Flash
Web Services support for Silverlight Streaming There is not any such service provided by Flash
Additional Support for mobile devices with desktopFlash is not spread as across the vast majority of
and desktop browsers:Silverlight is supported byboth desktops and mobiles platforms, as
Windows mobile device as part of a new service thatcompared to Silverlight. Flash requires Flash Lite
the NBL have built. Silverlight applications and mediapreinstalled on mobile devices.
streaming can be run on a mobile phone - so
Silverlight even at this stage is about more than just
the desktop browser and desktop market. Silverlight
may be seen soon on the Symbian OS too.
Silverlight does not require video codec to run industryFlash requires video codec to run .WMV videos.
standard videos like .WMV
Silverlight supports scalable video formats from HD to Flash does not support scalable video formats
mobile. from HD to mobile
Silverlight supports Hardware-assisted editing andFlash does not support Hardware-assisted editing
encoding solutions. . and encoding solutions.
Silverlight has XAML based presentation layer for Flash does not have XAML based presentation
SEO. layer for SEO.
Silverlight provides End-to-end server and application Flash does not provide End-to-end server and
platform. application platform.
Media server licensing is cheaper than flash. Media server licensing is costlier than Silverlight.
Silverlight supports Scalable full screen video. Flash does not support Scalable full screen video.
Silverlight Limitations:

Silverlight Flash
Silverlight is missing Linux support, so people usingThis limitation doesn’t exist with Flash.
Linux machine cannot run it on their machines and
will have to stick to Windows and MAC OS.
Silverlight will (naturally) be using the WMV and Flash Video turned Flash into a mechanism for
Silverlight will add to the use of the WMV file format. delivering media with far more potential than any
Using the WMV video format essentially makes other solution that is .flv, no doubt Flash has also
Silverlight useless for the vast majority of video limitation to play other video file. For that Flash
websites such as YouTube. It cannot play .avi and required codex for that player installed on Client
.mov file. machine.
Silverlight has no support for binding to models,Even flash is also lacking this area. Flash can
binding to data, or even connecting to networkread data source in terms of XML or text from
resources to obtain data. some URL and can use it. Same thing silverlight
also can read.
Silverlight doesn't even have support for things that Flash has rich set of control library.
should be considered a stock part of any library such
as buttons, checkboxes, list boxes, list views, grids,
etc. Probably in future release may Microsoft support
Once the accessibility features are provided withFlash test tools are already in place.
Silverlight versions, any existing test tools that
support driving UI through Accessibility will be fully
enabled to automate Silverlight applications
Silverlight 1.0 does not support GIF-file format. Even Support all image formats.
it doesn’t support BMP and other file format. It
supports only JPG and PNG file format.
Silverlight Flash
Can’t do sound processing. With some media file sound processing can
Socket programming is not possible. Flash allows creating XML Socket object.
Per pixel bitmap editing, bitmap filters (convolution,Can do that.
color matrix, etc), bitmap effects (drop shadow, blur,
glow) cannot be done.
Webcam and Microphone support it not there. Flash supports it.

Built in file upload/download support is not available. Inbuilt Upload/download support is there.
Silverlight is new in market and required time to get Size of flash component is smaller.
acceptance in market.

It has found in practical implementation of image Flash ships in single component that is .swf.
animation, at some extent flickering occurs on Images/video/sounds also incorporated in single
image. .swf package.
Final conclusion:- (at current Technology)