Silverlight vs. Flash – An Analysis Report
Last post 08-19-2008 11:43 PM by mikechambers. 52 replies.
Sort Posts:
07-25-2007 9:25 AM
Silverlight vs. Flash – An Analysis Report
 

Silverlight

Flash
Silverlight Limitations:
Silverlight is missing Linux support, so people using Linux machine cannot run it on their machines and will have to stick to Windows and MAC OS. This limitation doesn’t exist with Flash.
Silverlight will (naturally) be using the WMV and Silverlight will add to the use of the WMV file format. Using the WMV video format essentially makes Silverlight useless for the vast majority of video websites such as YouTube. It cannot play .avi and .mov file. Flash Video turned Flash into a mechanism for delivering media with far more potential than any other solution that is .flv, no doubt Flash has also limitation to play other video file. For that Flash required codex for that player installed on Client machine.
Silverlight has no support for binding to models, binding to data, or even connecting to network resources to obtain data. Even flash is also lacking this area. Flash can read data source in terms of XML or text from some URL and can use it. Same thing silverlight also can read.
Silverlight doesn't even have support for things that 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 it. Flash has rich set of control library.
Once the accessibility features are provided with Silverlight versions, any existing test tools that support driving UI through Accessibility will be fully enabled to automate Silverlight applications Flash test tools are already in place.
Silverlight 1.0 does not support GIF-file format. Even it doesn’t support BMP and other file format. It supports only JPG and PNG file format. Support all image formats.
Can’t do sound processing. With some media file sound processing can possible.
Socket programming is not possible. Flash allows creating XML Socket object.
Per pixel bitmap editing, bitmap filters (convolution, color matrix, etc), bitmap effects (drop shadow, blur, glow) cannot be done. Can do that.
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.
The performance of Silverlight and Flash will be nearly the same. While Silverlight is using XAML as description language in a non-compressed format size of Silverlight component is large.In practical implementation of similar component in Flash and Silverlight it has found that size of Silverlight component is approximately 10-20 times larger than Flash component. Size of flash component is smaller.
To deploy Silverlight to client browser more than one components ship. (1) XAML files (2) .dll if using C# (3) Silverlight.js (4) Custom JavaScript file. Images/videos/sounds also required deploy separately. Flash ships in single component that is .swf. Images/video/sounds also incorporated in single .swf package.
It has found in practical implementation of image animation, at some extent flickering occurs on image. To avoid this type of flickering in flash, refresh layout or cache bitmap functionalities are available.
It has found in practical implementation of video play, audio may start playing before showing movie on screen. It has also found video can still continue to play after redirecting to other page. It may be it is bug of current beta release. Flash doesn’t face these types of issues.
Right now not any support to play Silverlight object as Windows application. Flash can be played as Windows application also by downloading player for it. Flash can be also packaged as .exe which can be deploying standalone.
Silverlight is new in market and required time to get acceptance in market. Flash is exist from many years and have strong acceptance in market.
Silverlight Feature comparison with Flash Features:
Animation - Silverlight supports the WPF animation 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.  The animation model is frame based.
Silverlight uses XAML. XAML is text based and can be output using a simple XML object. Flash stores its shapes using binary shape records. 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 with flash. The debugging with flash is harder than Silverlight.
Silverlight lets you embed true type font information directly into your projects, and download that information with the downloader object.       Dealing with fonts is fairly complex with flash.
Rich set of development languages are available for Silverlight. Developer can use JavaScript as well as managed code VB.Net, C# for Silverlight development. Only Action Script can be used as programming tool in Flash.
XAML is declarative while ActionScript is imperative. Using imperative languages to build UIs goes back to the early days of DOS and Windows, when developers had to manage all of the API nuances when interacting with graphical panes. ActionScript is an imperative language, which brings itself the pitfalls of imperative languages when compared with declarative languages.
Web Services support for Silverlight Streaming:The services provided by Microsoft, called Silverlight Streaming, it allows users and developers to host their Silverlight content and apps with Microsoft, taking advantage of their extensive global network of datacenters and their content delivery network. Best of all, this service is free, and while currently it is only in alpha it allows users to upload up to 4GB of content, and to stream up to 1 million minutes of online video delivery at 700kbps, around DVD quality. Starting right now, you can build a total video content site using Silverlight at no cost. The future for this service looks good as they will incorporate Silverlight Streaming with the MSN Video ad network to allow you to easily monetize your video streams and participate in a revenue sharing opportunity with Microsoft while removing your distribution costs. There will also be a premium level of content delivery where you will be able to pay for higher levels of usage - the cost for this service is as yet unknown but expect it to be very low. There is not any such service provided by Flash to host the content and application with them. Because of the absence of any such service, building a video site based on Flash is not as cost effective as building a video content site using Silverlight. Moreover, because of the Silverlight Streaming service, the existing Video Content sites might be moving to Silverlight site.
Additional Support for mobile devices with desktop and desktop browsers:Silverlight is supported by Windows mobile device as part of a new service that the NBL have built. Silverlight applications and media 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. Flash is not spread as across the vast majority of both desktops and mobiles platforms, as compared to Silverlight. Flash requires Flash Lite preinstalled on mobile devices.
Silverlight does not require video codec to run industry standard videos like .WMV Flash requires video codec to run .WMV videos.
Silverlight supports scalable video formats from HD to mobile. Flash does not support scalable video formats from HD to mobile
Silverlight supports Hardware-assisted editing and encoding solutions. Flash does not support Hardware-assisted editing and encoding solutions.
Silverlight has XAML based presentation layer for SEO.  Flash does not have XAML based presentation layer for SEO. 
Silverlight provides End-to-end server and application platform. Flash does not provide End-to-end server and 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.
  

Request you to post your comments on above document.

Thanks and Regards
Niraj Swaminarayan

Thanks and Regards,
Nirajswami

nirajswami

Loading...
Joined on 06-19-2007
India
Posts 16
07-25-2007 9:52 AM
Re: Silverlight vs. Flash – An Analysis Report

I think your points are valuable to keep things in prespective, however it's kind of comparing orange and apple due to age difference. I'm sure many of the negative issues of SL, won't last very long (or as long as it did, when flash came out). But it's a good thing for SL to catch up to industry std.

I hope a representative from MS will give some inputs on the missing parts.

Thank you for this compilation! 

____________________________________________________________________________________________________
Best Regards;
..Ben

Please visit www.MicroIntelligence.Com for our services!

BenHayat

Loading...
Joined on 01-14-2004
Estero, Fl USA
Posts 389
07-25-2007 9:53 AM
Re: Silverlight vs. Flash – An Analysis Report

Where do you get your statistics for the performance being nearly the same between Silverlight and Flash? I would assume that Silverlight 1.1 running managed code would beat Flash, but maybe I'm wrong.


Bill Reiss - Author of Hello! Silverlight 2 a beginning Silverlight book.

My blog

Bill Reiss

Loading...
Joined on 05-01-2007
Tampa, FL
Posts 792
07-29-2007 11:27 PM
Re: Re: Silverlight vs. Flash – An Analysis Report
Nice post.. Thanks a lot for great report. 
Silverlight doesn't even have support for things that 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 it.

Oh. I think XAML has those tags (textbox, buttons, checkboxex or etc),isn't it?


(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Best Regards,
Michael Sync

Blog : http://michaelsync.net
Feed : http://michaelsync.net/feed

mchlSync

Loading...
Joined on 09-16-2005
Singapore
Posts 2,335
08-06-2007 1:53 PM
Re: Silverlight vs. Flash – An Analysis Report

FYI, Microsoft has confirmed that socket support and a rich control set will be added in a future release (likely 1.1)

Also, perhaps the most significant features of Silverlight are its databinding and UI component composition models.  To be fair, you should at least mention those, given Flash's relative weakness in those areas.

Thanks.

snort

Loading...
Joined on 08-05-2007
Posts 8
08-06-2007 4:05 PM
Re: Silverlight vs. Flash – An Analysis Report

Can you please provide a source of this information?

VladF

Loading...
Joined on 07-03-2007
Las Vegas, NV, USA
Posts 84
08-07-2007 4:59 PM
Re: Silverlight vs. Flash – An Analysis Report

I'm glad I waited and did not use Flash to develop.  I tried many times to justify integrating it with my MS stuff, but just never could quite get everything together.  I've been waiting for years for Microsoft to come up with something like this that would fit in with their existing technology.  I can't wait for it to mature.

j_programmer

Loading...
Joined on 08-07-2007
Posts 16
08-16-2007 6:53 PM
Re: Silverlight vs. Flash – An Analysis Report

It's amazing how many of these comparison lists are put together by people who simply don't understand either technology. Most of the above points are regurgitated info taken out of context from other sites that miss the extra (and critical) details and exceptions. Additionally, (at least in terms of some of the Flash points), it appears that the author simply ignored the current feature-set of Flash9.

I'm not a zealot on either technology, as both have their benefits and weaknesses. I have admiration and distaste for both technologies on their stronger and weaker points. But making blanket statements like "Flash does not support Scalable full screen video" or "Right now not any support to play Silverlight object as Windows application." are ridiculously misleading and simply untrue.

In the future, if anyone plans on making another one of these feature comparison lists, how about a little research on every point to ensure that information is current, correct, and relevant. Working production knowledge is extremely important as well :)

jeep1024

Loading...
Joined on 05-19-2007
Posts 12
08-16-2007 6:58 PM
Re: Silverlight vs. Flash – An Analysis Report

Bill Reiss:

Where do you get your statistics for the performance being nearly the same between Silverlight and Flash? I would assume that Silverlight 1.1 running managed code would beat Flash, but maybe I'm wrong.

 I think this is in reference to the performance metrics of Flash9/AS3. It's a night/day comparison of perf when matching Flash6/7/8 with AS1/AS2 to Flash9 with AS3.  However, I haven't seen any true perf metrics done on identical apps optimized under both platforms (Flash9/AS3 vs SL 1.1/C#). It would be a good experiment :)

jeep1024

Loading...
Joined on 05-19-2007
Posts 12
08-17-2007 12:26 AM
Re: Silverlight vs. Flash – An Analysis Report

my friend you will find on same site you are....means

http://silverlight.net/forums/t/3015.aspx

hit up 

(If this has answered your question, please click on "Mark as Answer")
Thanks & Rgds,
Suyog Kale
Senior Software Engineer
************************************************************

suyog kale

Loading...
Joined on 08-02-2007
pune-india
Posts 86
08-17-2007 12:35 AM
Re: Silverlight vs. Flash – An Analysis Report

yes today Silverlight has lots of drawbacks, but its only start

you find after SL1.0 RC , now SL1.1 Alpha has managed code ability means actual power of .net framework  and that really make good snese

and as developer i am surly says that compare to Flash SL is defiantly same what i want.. it make me easy and fast development

and in small days Silverlight sure beat flash

so dont worry and start your work,dude we have microsoft support

 

(If this has answered your question, please click on "Mark as Answer")
Thanks & Rgds,
Suyog Kale
Senior Software Engineer
************************************************************

suyog kale

Loading...
Joined on 08-02-2007
pune-india
Posts 86
08-28-2007 8:27 AM
Re: Silverlight vs. Flash – An Analysis Report

"To deploy Silverlight to client browser more than one components ship. (1) XAML files (2) .dll if using C# (3) Silverlight.js (4) Custom JavaScript file. Images/videos/sounds also required deploy separately."

 I think this is more like an advantage than a disadvantage compared to flash's binaries. It's works like HTML. You can easily modify and/or generate dynamic content on serverside, using php or other.

"Silverlight is missing Linux support"

The Mono team already working on it :) (u know, it's open...)

 "Flash has rich set of control library."

http://www.netikatech.com/
http://www.telerik.com/products/silverlight/overview.aspx#1456
give it some time ;)

"While Silverlight is using XAML as description language in a non-compressed format size of Silverlight component is large."

"
Silverlight provides the ability to download content as a package, which is a collection of independent files containing XAML content, media assets, and other application data. The Zip file format is supported as a download package. [...] Once the package is successfully downloaded, you can use methods, such as GetResponseText, SetSource (Image), SetSource (MediaElement), and CreateFromXamlDownloader, to selectively retrieve a specific named part of the package. "
http://msdn2.microsoft.com/en-us/library/bb232904.aspx

"The performance of Silverlight"

The CLR version seems to be very fast. Like 5 times faster (script running...).

FTeR

Loading...
Joined on 08-28-2007
Posts 3
10-22-2007 3:32 AM
Re: Silverlight vs. Flash – An Analysis Report

hello friends,

is it possible to have socket programming in silverlight ....

if not.. then is there any other way to communicate to server without using IIS...

thanx & Regards

Naveen Kushwaha 

naveenkushwaha

Joined on 08-06-2007
Posts 28
10-22-2007 8:48 AM
Re: Silverlight vs. Flash – An Analysis Report

I've read that socket support will be in a future release, not sure whether it will be in for 1.1 or sometime later.


Bill Reiss - Author of Hello! Silverlight 2 a beginning Silverlight book.

My blog

Bill Reiss

Loading...
Joined on 05-01-2007
Tampa, FL
Posts 792
10-22-2007 9:04 AM
Re: Silverlight vs. Flash – An Analysis Report

yeah Bill, thanks for replying..

that i've already read....

is there any other way to communicate to the server without using IIS

thanx  

Naveen Kushwaha 

Software Engineer

Gameking India Pvt.Ltd. 

naveenkushwaha

Joined on 08-06-2007
Posts 28
11-07-2007 5:38 AM
Re: Silverlight vs. Flash – An Analysis Report

naveenkushwaha:

is there any other way to communicate to the server without using IIS
thanx  
Naveen Kushwaha 

Since the programing language of SL 1.0 is the browser's javascript,
you can allways use XMLHTTPRequest or any other means the browser support.

SL 1.1 promise Web services support , which means object serialisation,
fast and easy development in the server-size using the VS wizards, etc.

If you want Web services support right now, you can use a swf in the page to do it for you,
or you can embed a C# control (in IE only) to do the same. Beware that C# controls have
some silly security limitations, like no threads are allowed which leads to no async downoads/comunication, etc.

Kastellanos Nikos

Loading...
Joined on 11-07-2007
Posts 1
11-13-2007 1:03 AM
Re: Silverlight vs. Flash – An Analysis Report

i used webservice with silverlight

and it is working well

now the problem is that i linked my silverlight project to my asp.net website in which i have a login page(i.e. login.aspx)

now i have to maintain session(login info.) on the game page(page.xaml.cs)

but i am unable to access the session info. on the game page...

can u please help me how to maintain session in silverlight page..

thanks & regards

naveen kushwaha

naveenkushwaha

Joined on 08-06-2007
Posts 28
11-13-2007 11:26 AM
Re: Silverlight vs. Flash – An Analysis Report

I'll be curious to see this updated once Silverlight 1.1 is released, or even track it against the next alpha/beta.

Pete

If your question was answered, please mark the response as the answer.

Silverlight.net Moderator
MVP: Visual Developer - Client Application Development
POKE 53280,0 - My Blog

Psychlist1972

Loading...
Joined on 10-12-2004
Maryland, USA
Posts 801
11-13-2007 12:24 PM
Re: Silverlight vs. Flash – An Analysis Report

I dont know how many WPF features will be available in Silverlight 1.1b but I am kinda guessing data-binding will be (as they promised LINQ support in future releases).

 What I dont understand is he went on to compare Flash 9 with alpha release of Silverlight, and another point he forgot to mention is Flash Professional CS3 costs around $600 where as if you care you can start building Silverlight in Notepad.

 When I first heard about Silverlight I was excited, and I was a bit taken back by the features not available in 1.1a, and I thought Silverlight 1.1a is more CPT than alpha and they should have waited but I guess Mix'07 pushed them to release it as alpha. Silverlight by itself is a great concept and brilliantly done by MS. I am optimistic and I hope Silverlight 3.0 would have more features than what we have in WPF and that change internet for life and for good.

--
Imran Shaik
If this answers your question please select "Mark as Answered"
Old Blog | Silverlight 2.0 Quintessential Rambling |My Feed

Cass

Loading...
Joined on 09-15-2007
London, UK
Posts 622
12-13-2007 9:33 AM
Re: Silverlight vs. Flash – An Analysis Report

Hey Now Nira,

This was a very informative post.

Thx,

Catto

Catto

ccatto

Loading...
Joined on 07-17-2007
Boca Fl
Posts 5
02-22-2008 5:12 AM
Re: Silverlight vs. Flash – An Analysis Report
Cass:
and another point he forgot to mention is Flash Professional CS3 costs around $600 where as if you care you can start building Silverlight in Notepad.

There is a lot of free Flash editors, what about OpenLaszlo.org ? And Visual Studio also costs about 600 $, doesn't it ?

Fabien Warniez
Accenture TechLabs Sophia-Antipolis
Accenture Technology Labs
www.topbutpes.com

Waar

Loading...
Joined on 02-11-2008
Posts 91
02-22-2008 6:04 AM
Re: Silverlight vs. Flash – An Analysis Report

Waar:
Visual Studio also costs about 600 $, doesn't it ?
 

Yes.  Blend also costs us..  :(

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Best Regards,
Michael Sync

Blog : http://michaelsync.net
Feed : http://michaelsync.net/feed

mchlSync

Loading...
Joined on 09-16-2005
Singapore
Posts 2,335