Skip to main content

Microsoft Silverlight

Unanswered Question Silverlight vs. Flash – An Analysis ReportRSS Feed

(6)

nirajswami
nirajswami

Member

Member

34 points

16 Posts

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

BenHayat
BenHayat

Participant

Participant

1033 points

600 Posts

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

Silverlight & WPF Insider
Please visit www.MicroIntelligence.Com For our services!

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

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, Coauthor of Hello! Silverlight 3
My blog (rss feed)

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

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!)

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


snort
snort

Member

Member

11 points

8 Posts

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.

VladF
VladF

Member

Member

216 points

87 Posts

Re: Silverlight vs. Flash – An Analysis Report

Can you please provide a source of this information?

j_programmer
j_progra...

Member

Member

24 points

16 Posts

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.

jeep1024
jeep1024

Member

Member

30 points

17 Posts

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
jeep1024

Member

Member

30 points

17 Posts

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 :)

suyog kale
suyog kale

Member

Member

188 points

99 Posts

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
suyog kale

Member

Member

188 points

99 Posts

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
************************************************************

FTeR
FTeR

Member

Member

4 points

3 Posts

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...).

naveenkushwaha
naveenku...

Member

Member

52 points

28 Posts

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 

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

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, Coauthor of Hello! Silverlight 3
My blog (rss feed)

naveenkushwaha
naveenku...

Member

Member

52 points

28 Posts

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. 

Kastellanos Nikos
Kastella...

Member

Member

2 points

1 Posts

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.

naveenkushwaha
naveenku...

Member

Member

52 points

28 Posts

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

Psychlist1972
Psychlis...

Contributor

Contributor

6040 points

973 Posts

MicrosoftModerator

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

Silverlight.net Moderator
MVP: Silverlight, Silverlight Insider
Author: Silverlight in Action, 2nd Edition
POKE 53280,0 - My Blog

Opinions are my own. Oh, and I don't work for Microsoft.

Cass
Cass

Contributor

Contributor

3157 points

654 Posts

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.

ccatto
ccatto

Member

Member

10 points

5 Posts

Re: Silverlight vs. Flash – An Analysis Report

Hey Now Nira,

This was a very informative post.

Thx,

Catto

Catto

Waar
Waar

Member

Member

166 points

93 Posts

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

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

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!)

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


giulianimartini
giuliani...

Member

Member

2 points

1 Posts

Re: Silverlight vs. Flash – An Analysis Report

Hi!

Where do you found this comparsion? I want to know the references about this comparsion

thanks! 

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

Just updating for Silverlight 2 beta1.

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.

Edit: Now, we got moonlight for Linux user 

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.

Edit: Now, we are able to read the data from web services (including RESTful service), XML from URL. Silverlight 2 supports Socket communication too. 

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.

Edit: The standard controls are included in Silverlight 2 beta1. 

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

Edit: I'm not sure about this but I don't think that we can't automate the UI. I think Windows Hooking will do. 

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.

Edit: Silverlight 2 supports Socket communication too.

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.

Edit: I wonder how Flash access the microphone and webcam of user's machine. 

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.

Edit: We got .xap now. but there are a number of people who like to get XAML with managed code. (SL 1.1 Alpha style)

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.

Edit: XPF or XBAP is already there for that.  

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 webclient object.    

Edit: downloader is no longer available but we have webclient.

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.

Edit: The dynamic languages (IronPython, IronRuby, and Managed JScript)  are supported too.

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. 

Edit: Now, we lost it. AFAIK, We have to use  *.xap if we want to use managed code. .xap is just a zip but not plain text anyway.

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.

 

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

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


Cass
Cass

Contributor

Contributor

3157 points

654 Posts

Re: Silverlight vs. Flash – An Analysis Report

mchlSync:
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.

You missed one Michael,

According to Silverlight 2 Developer Reference , GIF is supported

 

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

Hey Imran,

thanks, man.. Yes. I missed it.. GIF support is cool.. 

btw, you have the experiences in Flash, right? The original poster of this chart said that Flash supports microphone and webcam. but  I can't find any reference for that. I was wondering how come Flash is able to access the client's microphone and webcam. (of course, if it's a trusted site then it's possible but might not work in normal zone.)  Can you share some idea about that?

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

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


Benoteno
Benoteno

Member

Member

16 points

6 Posts

Re: Silverlight vs. Flash – An Analysis Report

Yeah you're right... Silverliglht does have some bad limitations, some later fixed in Silverlight 2. However, these may be fixed in Silverlight 3, 4, and maybe even 5. While Silverlight is still awful new we need no ranting against it. I wasn't an "internet man" (XD) when Adobe Flash started, but I bet it had alot of limitations. So lets compare, once Silverlight gets to Silverlight 7 or so, it will probably be as bug-free as Flash.

 

Here are my recommendations for future Silverlight updates:

Support for extensions: AVI, M4A, MP4

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

Good points. Silverlight may have some feature limitations at this point, but Flash has some deeper technology issues that may be harder to fix in the long run. Until Flash offers an alternative to writing the code in ActionScript, I'll stick with my Silverlight development.

Want to help shape what features come in Silverlight 3 and beyond? Post some comments to this blog post:

http://blogs.msdn.com/msmossyblog/archive/2008/03/31/silverlight-3-0-wish-lists-again.aspx

or drop him a note.


Bill Reiss, Coauthor of Hello! Silverlight 3
My blog (rss feed)

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

thanks for the link, bill. I dropped a comment in his post.

 

1)  More controls
2)  More Media Supports (SL should support all extensions what Flash supports)
3)  Loosely XAML with Managed Code. (.xap is good but we need other ways too. like we got with 1.1 Alpha)
4) Webcam and Microphone supports.
5) Allows to bind datagrid with anonymous type
6) Cool XAML designer is needed. (not just readonly) and also propertypad.
7) Don't crash the browser no matter what. ( I found two issues that crashes the browsers during short period of times. Yes. I'm talking about SL2 beta1 )
 

 

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

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


Krasshirsch
Krasshirsch

Participant

Participant

1032 points

300 Posts

Re: Re: Silverlight vs. Flash – An Analysis Report

The performance of Silverlight and Flash will be nearly the same

Sure ?

I just found a website comparing CLR managed code to flash which shows the same animation displayed in Flash and in managed Silverlight.

The difference in framerates was astonishing, while flash did good with 64 fps,
the managed Silverlight animation held steady at 600 fps on my machine.

Im not sure, but this hardly counts as equal performance.
Check it yourself: http://bubblemark.com/

regards,

Alexander

A Bro must always post bail for another Bro, unless it's out of state or, like, crazy expensive.

Crazy Expensive Bail > (Years You've been Bros) * $100

Alexander Wieser
Germany

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

Re: Re: Silverlight vs. Flash – An Analysis Report

To be completely fair, if the test is computationally intensive, such as calculating collisions, Silverlight 2 will win hands down. This is the case with the bubblemark test. When it comes, however, to drawing a bunch of moving items where the calculations are trivial, Silverlight 2 Beta 1 still has some issues, hopefully the performance will be improved by the time Silverlight 2 is released.


Bill Reiss, Coauthor of Hello! Silverlight 3
My blog (rss feed)

Psychlist1972
Psychlis...

Contributor

Contributor

6040 points

973 Posts

MicrosoftModerator

Re: Silverlight vs. Flash – An Analysis Report

mchlSync:

1)  More controls

Agreed, and you can also count on third parties for this.


2)  More Media Supports (SL should support all extensions what Flash supports)

Within reason, I agree. Like I'd like to see .wav support for event sounds. Supporting .FLV seems unlikely, though, as that is a fairly well protected format.


3)  Loosely XAML with Managed Code. (.xap is good but we need other ways too. like we got with 1.1 Alpha)

I have a hard time seeing any compelling reason for this. Do you have one? I actually really like the packaged model.


4) Webcam and Microphone supports.

Definitely would like to see that.


5) Allows to bind datagrid with anonymous type

I don't think this is worth the security infrastructure change required to allow binding against private types


6) Cool XAML designer is needed. (not just readonly) and also propertypad.

Blend?


7) Don't crash the browser no matter what. ( I found two issues that crashes the browsers during short period of times. Yes. I'm talking about SL2 beta1 )

A given. Also, folks have to make sure they handle all the exceptions in the app. Most of the crashes I've seen are due to exceptions bubbling all the way up and running into some bug that tears down the browser.

Pete

Silverlight.net Moderator
MVP: Silverlight, Silverlight Insider
Author: Silverlight in Action, 2nd Edition
POKE 53280,0 - My Blog

Opinions are my own. Oh, and I don't work for Microsoft.

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

Cass:
According to Silverlight 2 Developer Reference , GIF is supported

Based on this link "Silverlight Roadmap Question", GIF is not supported  

Psychlist1972:
Supporting .FLV seems unlikely, though, as that is a fairly well protected format.
 

Yes. It's okay. but Expression Encoder should be able to convert .FLV to the supported formats. It would be great if we can do from code. We will be able to provide web service that can convert *.flv to the supported formats online or offline. :)

Psychlist1972:
I have a hard time seeing any compelling reason for this. Do you have one? I actually really like the packaged model.
 

I don't like that much because ~

  • Zip format so Google or other search engine might not read this. So, it's not that good for SEO things.
  • Why do we need to have System.Windows.Controls.dll and System.Windows.Controls.Extended.dll (and etc) in each and every xap?
  • There are (or will be) a lot of people who are developing Silverlight without using Visual Studio. (e.g. PHP developer or Rails or etc). So, it might be hard for them to generate xap package using Chiron. ( I think it's better if Microsoft provide the easier for those who are not using VS 2008. Why Ajax was so popular? because every developers can use it. Selling VS 2008 is good but using every developers is much better. ) Express Editor would do?
  • If I want to change something in XAML, I don't like to extract or re-pack the file.

May I ask why you really like that packaged model? As it's zip-formatted, it may reduce the size. but is there any other advantages?

Psychlist1972:
Blend?
 

Should we really use Blend + VS 2008 for Silverlight project? I don't mind if those tools are cheap but now, those are expensive. Is there any option that I can disable the "view-only" designer in VS 2008?


 

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

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


Psychlist1972
Psychlis...

Contributor

Contributor

6040 points

973 Posts

MicrosoftModerator

Re: Silverlight vs. Flash – An Analysis Report

GIF is not supported, correct.

Might be able to convert FLV. I think Silverlight streaming does this server side. Distributing code that does that may upset adobe, but I'm just guessing there.

On Xap:

  • SEO is a non-starter with RIAs at this point. Even if Google/Live could parse the files, what would they do with them? You can't nav to things and you can't verify that data in the xaml file is actually used by the application and not there just for SEO purposes. You also don't get visibility into chained xaps or dynamically downloaded code.
  • Agreed on Visual Studio in theory. IMHO, people not using VS will probably not be doing C# or VB. In those cases (dynamic languages, for instance) there are other loose file options. You will still be able to do loose files for regular old JavaScript. I'll have to double-check, but I thought Chiron came with the SDK.
  • Controls won't always be external. At MIX they said some/most of those controls will be rolled into the runtime prior to RTM
  • Why I like xap:
    • Without the compression, the files are just too big when compared to competing technologies that already compress their packages. This came up in SL1.1 when folks were amazed at the total download size. Download size is a huge benefit and not to be downplayed.
    • Single file to deploy. I don't need to set special permissions on DLL downloading vs. executing (an annoyance in 1.1). it's cleaner
    • Can deploy a xap to a sharepoint document library and serve your app up from there (common question in the talks I've given to bizapp developers)

VS2008 will catch up design-wise with Blend in some respects, but will likely never have quite the same experience (especially around animation). Look to WPF as an example. FWIW, if you have a MSDN license with Visual Studio, you can get blend (in most flavors), so it will be "free" to the majority of corporate developers. I know that leaves a group of people out. TBD what happens there. 

IMHO, AJAX (or more correctly, the dynamic html+javascript UI that often gets incorrectly lumped into the acronym AJAX) is popular because it builds directly on current web skills (javascript, html, css), doesn't require a client-side plugin (even though the javascript can sometimes be an even larger download) is generally cross-platform, solved an immediate problem (async data) and for the most part, didn't provide the enormous flexibility that Flash or Silverlight do today. Developers could wrap their heads around it, and build apps without having to have a designer background :)

Pete

Silverlight.net Moderator
MVP: Silverlight, Silverlight Insider
Author: Silverlight in Action, 2nd Edition
POKE 53280,0 - My Blog

Opinions are my own. Oh, and I don't work for Microsoft.

Flix
Flix

Member

Member

22 points

19 Posts

Re: Silverlight vs. Flash – An Analysis Report

Hi,

in fact I am working on something quite similar right now, I am comparing Flex an Silverlight. But my goal is to create two prototypes which both access the same Object Database. (Yeah it sounds like Black Magic to me, too) Unfortunately my work will be available only in german, but if I find the time (and there is anybody out there who wants to know) I will try to translate a few parts.

lisalk
lisalk

Member

Member

2 points

1 Posts

Re: Silverlight vs. Flash – An Analysis Report

 Some corrections to the Flash side of the comparison:

 Flash ships in single component that is .swf. Images/video/sounds also incorporated in single .swf package.

This is not entirely true; Flash does deploy as a SWF, but most video and audio would be loaded as external files. This can also be done for images, if a dynamic application.

The animation model is frame based.

This is also not entirely true. Timeline animation (manually done in the Flash authoring environment) is frame based. With ActionScript-controlled animation, however, you can have either frame or time-based animation.

The debugging with flash is harder than Silverlight.

 Support for this comparison?

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.

This is not true; Adobe has a Flash Video Streaming Service program which can handle all of the hosting for you. http://www.adobe.com/go/fvss/
Progressively-delivered video needs no special hosting or servers, but standard CDNs can easily be utilized for scalable video delivery when needed.

 Flash requires video codec to run .WMV videos.

Flash does not support WMV at all. It only supports FLV (Sorenson Spark or On2 VP6 codecs) and MPEG4 (H.264 codec).

Flash does not support scalable video formats from HD to mobile.

This is not true; Flash supports HD-quality video through mobile formats, and you can deliver the correct version to the correct screen.

Flash does not provide End-to-end server and application platform.

Unless I'm missing what you mean here... Adobe does have a robust end-to-end server and application platform (from editing in Premiere/AfterEffects through streaming delivery via Flash Media Server) there is a well-established workflow. There are also other tools, for live video encoding (Flash Media Encoder, free), etc.

Flash does not support Scalable full screen video.

 Flash can support scalable full-screen video; streams of differing quality can be swapped seamlessly.

These are the most glaring of the corrections. I do admit that I don't know enough about silverlight yet to comment further with authority, so I'll save any further comments until I'm more familiar with where it is now.
 

Psychlist1972
Psychlis...

Contributor

Contributor

6040 points

973 Posts

MicrosoftModerator

Re: Re: Silverlight vs. Flash – An Analysis Report

Hi Lisa

Keep in mind that you're replying to an analysis that is almost a year old. Much of that information was true at the time (for example, Flash did not have h.264 support at the time, as I recall), but it needs an update. The Silverlight information does not reflect the current version, and the Flash side almost certainly doesn't reflect additions to v9, forget the v10 beta just announced.

So, there probably isn't much of a point in doing a line-by-line eval on the original post, but your additions to it are certainly welcome.

Pete

Silverlight.net Moderator
MVP: Silverlight, Silverlight Insider
Author: Silverlight in Action, 2nd Edition
POKE 53280,0 - My Blog

Opinions are my own. Oh, and I don't work for Microsoft.

mchlsync
mchlsync

Star

Star

14606 points

2,730 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

 Thanks a lot for correcting. I did updates the comparison for Silverlight 2 on 03-24-2008 4:18 AM. but I don't have that much idea about Flash. I appreciate your correction.. I hope we will get more details and up-to-date comparisons in future.

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

Regards,
Michael Sync
Silverlight MVP

Blog : http://michaelsync.net


abteenz
abteenz

Member

Member

13 points

6 Posts

Re: Silverlight vs. Flash – An Analysis Report

 thanks for the info but i think silverlight is far away from flash.

but i prefer it cuz it is new and maybe i would be able to master it. 

sudheendra
sudheendra

Member

Member

0 points

1 Posts

Re: Silverlight vs. Flash – An Analysis Report

Great analysis Mr.Nirajswamy.

StargateFan
StargateFan

Member

Member

17 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

Silverlight is great if you wnat to downlaod 3rd party controls for everything inlcuding rendeing text to the screen or simply allowing your text to scroll.  Try formatting your TextBlock at runtime making just one word in the string bold.

   myTextBlockControl.Text = "This word should be <b>bold</b>.";

Then try to get your textBlock to scroll once it fills its available area.  It is hard to even compaire Silverlight to Flash when Silverlight is such an incomplete product.  Oh is it at version 2 already?  Hu...

Sorry I am just bitter becuase I am having to rewrite my app in Flash after comaing accorss a few basic things Sivlerlight is missing.

Psychlist1972
Psychlis...

Contributor

Contributor

6040 points

973 Posts

MicrosoftModerator

Re: Silverlight vs. Flash – An Analysis Report

Have you checked into Runs in the textblock? Also, there is an open source rich textbox control.

To make your textblock scroll, you need to put it into a scrolling panel. That makes sense, as more often than not, you wouldn't want a textblock to scroll, and carrying that extra baggage isn't really worth the hit.

Agreed that Silverlight is incomplete. It is in Beta 2 right now.

What was missing in Silverlight that required you to rewrite in Flash? There's probably a reasonable workaround or a totally different approach. You'll find that some things that are "missing" in Silverlight are simply because the approach is different. It's like saying a radio is missing a picture tube.

Pete

Silverlight.net Moderator
MVP: Silverlight, Silverlight Insider
Author: Silverlight in Action, 2nd Edition
POKE 53280,0 - My Blog

Opinions are my own. Oh, and I don't work for Microsoft.

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

Let us know how your flash rewrite goes. Seriously, please update us on that, I'm interested to see if you end up being happy you made the switch.

The things you mention as deal breakers really depend on what you're trying to do and I'm sorry to hear in your case it was enough for you to want to scrap the technology. Personally neither of those is going to kill me, and if it's a serious enough limitation, the community is going to come up with a solution if possible until it gets into the product.

Just thinking about your TextBlock making one word bold issue above, it seems like I could inherit from TextBlock and make it do that pretty easily, maybe I'll give that a shot and create a sample for it.

You make it sound like using a third party control is horrible, personally I love this about Silverlight, there are going to be a ton of free third party controls available, and it's because the Silverlight team focused on making it possible for the community and vendors to fill gaps.


Bill Reiss, Coauthor of Hello! Silverlight 3
My blog (rss feed)

kevindmccoy
kevindmccoy

Member

Member

2 points

1 Posts

Re: Silverlight vs. Flash – An Analysis Report

Sorry for the late reply, I'm a slow reader :-)

 W/R/T:

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.

I used Flash 8 to connect to multiple Web Services back in 2006, and it can also open raw sockets.   In Flash this required some handwritten proxy code, but it did it.   Flex has built-in support for Web Services, HTTPService and can also use Sockets.   I'm back in a deep dive on Silverlight (which seems to have web service support in Beta 2 - http://blogs.msdn.com/silverlightws/) , and am glad to be back in C# for a while - I hope this matrix is updated for current features, I'd hate for anyone to be misled by out of date info in either column.

StargateFan
StargateFan

Member

Member

17 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

Psychlist1972:
Have you checked into Runs in the textblock? Also, there is an open source rich textbox control.

To make your textblock scroll, you need to put it into a scrolling panel. That makes sense, as more often than not, you wouldn't want a textblock to scroll, and carrying that extra baggage isn't really worth the hit.

Thanks for the info.  Yes, I have looked into Runs.  That is done in the XAML itself, I need to do this at runtime by setting the Text property.

Yes I tried to add my TextBlock to a ScrollViewer contorl, and it still did not scroll.  This is the code it generated in the XAML.  Perhaps you can see something I am doing wrong.  I didn't recieve any comments in the help forum so I assume no one in there saw anything either.

   <ScrollViewer HorizontalAlignment="Stretch" Margin="125,48,16,72" VerticalAlignment="Stretch">
      <TextBlock Text="Simon: Hello!" TextWrapping="Wrap" FontSize="12" x:Name="TextblockChat" Height="104" Width="232"/>
   </ScrollViewer>

The things you mention as deal breakers really depend on what you're trying to do and I'm sorry to hear in your case it was enough for you to want to scrap the technology.

Bill, for Silverlight to not ship with a contol that lets you format text at runtime I think is a big deal.  Instead of draggin and dropping a control on your canvis which takes about 10 seconds you have to write your own control which would take half an hour or more depending on how familiar you are with wriing your own controls.  I want to easily set up my GUI and spend my coding time writing my app engine.  We are not talking about a niche control that 1% of the devloerps are going to be using.  We are talking about rendeing text to the screen.

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

You can use runs at runtime...

textBlock.Inlines.Clear();

Run r = new Run();

r.Text = "test1";

Run r2 = new Run();

r2.Text = "test2";

r2.FontWeight = FontWeights.Bold;

Run r3 = new Run();

r3.Text = "test3";

 

textBlock.Inlines.Add(r);

textBlock.Inlines.Add(r2);

textBlock.Inlines.Add(r3);


Bill Reiss, Coauthor of Hello! Silverlight 3
My blog (rss feed)

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

StargateFan:

I tried to add my TextBlock to a ScrollViewer contorl, and it still did not scroll.  This is the code it generated in the XAML.  Perhaps you can see something I am doing wrong.  I didn't recieve any comments in the help forum so I assume no one in there saw anything either.

   <ScrollViewer HorizontalAlignment="Stretch" Margin="125,48,16,72" VerticalAlignment="Stretch">
      <TextBlock Text="Simon: Hello!" TextWrapping="Wrap" FontSize="12" x:Name="TextblockChat" Height="104" Width="232"/>
   </ScrollViewer>

When I take your sample an add a height to the ScrollViewer (Let's say 50, so that it's smaller than the TextBlock inside it) it scrolls, am I missing something?


Bill Reiss, Coauthor of Hello! Silverlight 3
My blog (rss feed)

StargateFan
StargateFan

Member

Member

17 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

Thanks for the code sample on using Run at runtime.  I will give it a try.  Perhaps I spoke too soon about its features.  I did find a nice HttpTextBlock control which would be ideal.  Maybe one day that will be part of the original package.

As for the scrolling, are you suggesting for each line of wrapped text add additional height to the textBlock inside the ScrollViewer manually?  I was hoping it would just grow as the textBlock grows and I would not have to track the height of the controls dynamically as more input is added or taken away.

Thanks for the input.

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

I'm really not clear on what you're trying to accomplish with the scrolling text block, can you explain it more or provide a link to the original thread?


Bill Reiss, Coauthor of Hello! Silverlight 3
My blog (rss feed)

StargateFan
StargateFan

Member

Member

17 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

It is pretty simple really.  I have a TextBlock that will show the history of text submitted by the user.  Every time new text is submitted by the user, the history in the TextBlock will grow.  I will have no way to know how much data will be entered into the TextBlock because that will be different per user per session.  If more text is entered than the allowed room for the TextBlock I want the TextBlock to scroll vertically just like an HTML <Textarea> would if its vertical scroll was set to auto.

Bill Reiss
Bill Reiss

Contributor

Contributor

4824 points

916 Posts

Silverlight MVP

Re: Silverlight vs. Flash – An Analysis Report

Sorry, still not following, I must be dense. Anyway it's off topic for this thread, why don't you post more details about how you want it to behave in the original thread and hopefully someone will be able to help. I think whatever you're trying to do is probably possible but I'm just not getting a feel for it.


Bill Reiss, Coauthor of Hello! Silverlight 3
My blog (rss feed)

Psychlist1972
Psychlis...

Contributor

Contributor

6040 points

973 Posts

MicrosoftModerator

Re: Silverlight vs. Flash – An Analysis Report

If the text has each new entry separated on a new line like a chat app, you can use a restyled listbox with textblocks (with wrapping set to true) for each item.

Other options include stackpanels and itemscontrols.

The other thing you can use is a textbox (not textblock). that has built-in support for scrollbars, but not automatic scrolling as far as I know.

Pete

Silverlight.net Moderator
MVP: Silverlight, Silverlight Insider
Author: Silverlight in Action, 2nd Edition
POKE 53280,0 - My Blog

Opinions are my own. Oh, and I don't work for Microsoft.

mikechambers
mikecham...

Member

Member

16 points

3 Posts

Re: Silverlight vs. Flash – An Analysis Report

@nirajswami

Thank you for the work in putting this together. I have a number of corrections and clarifications regarding some of the point of the Flash Player and Flash Content:

----------
    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 SWF 9 format spec is open, and does not require a license to view or use:
http://www.adobe.com/devnet/swf/

Also, you can create shapes a number of ways.

1. Use a tool such as Flash CS3, Illustrator, etc...
2. Use the ActionScript Drawing API
3. Use one of the various ActionScript 3 community libraries (for example to do 3d, or render SVG)

Most people do either 1 or 2. Few people need to leverage the SWF format to draw shapes.

----------
The debugging with flash is harder than Silverlight.
----------

I wouldn't say Flash debugging is harder, although I think you could definitely argue that Visual Studio has one of the best debuggers around.

You can debug Flash based content using Flash CS3 or Flex Builder. The Flex Builder support is better than Flash CS3.

I dont think either is hard. You set a break point, and debug.

----------
    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.
----------

In Flash content, you have choice of using device fonts, or embedding the fonts. I wouldnt consider embedding hard, as you either click a check box in Flash CS3, or you add a line of meta data to your Flex app.

In both cases when embedding, you can specify which glyphs are actually embedded.

Flash Player 10 has a completely new text rendering engine, which offers much more advanced support for fonts.

You can find more on the new engine in this link (about halfway down):

http://www.adobe.com/devnet/logged_in/jchurch_flashplayer10.html

----------
    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.
----------

It seems add to compare XAML to ActionScript. A more appropriate comparison would be:

ActionScript to C#

and

XAML to Flex / MXML

As far as language and markup, Silverlight and Flash app development are similar (although XAML is a little lower level than MXML / Flex right now).


----------
    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.
----------

Flash 9 is installed on about 98% of computer worldwide.

http://www.adobe.com/products/player_census/flashplayer/version_penetration.html

Flash Mobile is installed on 100's of millions of mobile devices, and has been available for years. This includes Windows mobile:

http://www.adobe.com/devnet/devices/wm.html

I don't believe Silverlight is shipping to end users on any mobile devices yet.


----------
    Silverlight supports scalable video formats from HD to mobile.     Flash does not support scalable video formats from HD to mobile
----------

Again, im not sure what you mean by "scalable" video, but you can view Flash video pretty much anywhere there is a Flash Player, from mobile to HD.


----------
Silverlight supports Hardware-assisted editing and encoding solutions.     Flash does not support Hardware-assisted editing and encoding solutions.
----------

There are quite a few solutions for realtime hardware assisted editing and encoding of Flash video (both FLV and H264 content),

----------
Silverlight has XAML based presentation layer for SEO.      Flash does not have XAML based presentation layer for SEO. 
----------

Well, this is technically true, Flash does not have XAML. However, Google and a number of other seaarch engines both search and index Flash content.

While theoretically XAML content would be easier for the search engines to search, I am not aware of any that actually do.

----------
Silverlight supports Scalable full screen video.     Flash does not support Scalable full screen video.
----------

Again, Flash support full screen hardware accelerated video, and has for some time.

----------
Rich set of development languages are available for Silverlight. Developer can use JavaScript as well as managed code VB.Net, C# for Silverlight development
----------

This is more of an fyi, but Adobe has publicly shown c - abc (ActionScript byte code) running in the player. The demo they showed was the Quake 2 source compiled to abc and running in the player.

Again, just an fyi.

Thanks for taking the time to put this together.

mike chambers

mesh@adobe.com
http://www.mikechambers.com

 

MisterFantastic
MisterFa...

Member

Member

37 points

21 Posts

Re: Silverlight vs. Flash – An Analysis Report

 Hi ,

Its really a nice post. Silverlight even now supports Databinding eith controls.

 

Thanks

Tao of Jeet Kune Do

BlueAquarius
BlueAqua...

Member

Member

57 points

37 Posts

Re: Silverlight vs. Flash – An Analysis Report

Hello Niraj,

thanks for your comparison of Flash and Silverlight. I am at a decision point whether to use Silverlight or Flash. I am very familiar with Silverlight, but not at all with Flash. Would you be able to help me to understand whether Flash supports the following features:

(1)   My application must dynamically load additional Assemblies (DLLs) from the server at runtime. I am planning to use the class WebClient to download the assembly and Assembly and AssemblyPart to do  that.

Question: Does Flash provide a similar mechanism?

I appreciate your help.

Andreas

 

aldie_lab
aldie_lab

Member

Member

7 points

7 Posts

Re: Silverlight vs. Flash – An Analysis Report

@BlueAquarius

Just wanted to point out that the comparison here is a year-and-a-half old, and compares two outdated versions of the products, so I wouldn't go basing any development decisions on the content of this thread.

On the other hand, if anyone does have a comparison of Silverlight 2.0 and the latest version of Flash (& Flex), I would be interested.

shinedraw
shinedraw

Member

Member

42 points

9 Posts

Re: Re: Silverlight vs. Flash – An Analysis Report

Is there any new comparison for Silverlight 2 and Flash 10?

aways987
aways987

Member

Member

2 points

1 Posts

Re: Silverlight vs. Flash – An Analysis Report

Hello, haven't you heard of Visual Studio Express? It's like Visual Studio with all the com and .net components same languages and it's free, from Microsoft!  >> Search it man! Also developing for Flash is a rip off but Fireworks is great. It used to be so easy to get it for free, download the trial and search for the crack code, done!

 

www.toptech.org.uk

bluefirepatrick
bluefire...

Member

Member

2 points

1 Posts

Re: Silverlight vs. Flash – An Analysis Report

Re: "It's amazing how many of these comparison lists are put together by people who simply don't understand either technology." 

Yes, unfortunately this is too true!

I have been a multimedia developer for the last 18 years and am platform and technology agnostic; I use either the best tool for the job OR the tool that the customer insists on paying for. Having completed hundreds of corporate Flash and .Net projects I can honestly say that they are both good platforms; to say otherwise is akin to saying, "I use Johnson outboards, so you can't move your boat to the other side of the lake with an Evenrude".

I therefore feel safe is saying that the above comparison is RIFE with misinformation. Sorry, but I could easily refute *almost all* of your Flash points (and would be happy to do so at any Seattle-area pub). So a word of warning to the reader, beware: there is a lot on the line in the RIA world for the software companies involved (hi Redmond, San Jose and Santa Clara) and I have YET to see a reasonable and informed comparison of Silverlight and Flash -the above is no exception.

The points above regarding Flash video, data binding, decalrative xml markup, debugging (in Eclipse), fonts, animation model, codecs, virtual machine, hardware acceleration, etc, etc. etc. are all wrong.  Untrue.  Gobbeldegook.  BS.  Clearly the author has never looked at Flex or the classes in the mx. namespace  Your table looks so nice though...  

greenboi
greenboi

Member

Member

239 points

81 Posts

Re: Silverlight vs. Flash – An Analysis Report

i find it funny that the first table is totaly pro flash, while the second one is pro silverlight. this is not at all a comparison of features - it is complete rubbish (which might have something to do that the post is from 2007).

Almost all the "silverlight limitations" have been removed since then.

thanx and greetz, greenboi

slbr
slbr

Member

Member

10 points

5 Posts

Re: Silverlight vs. Flash – An Analysis Report

SL and Flash are two great technology, a more integrated windows to the world and development tools from Microsoft and another for the world Linux and Java.

sree_prem
sree_prem

Member

Member

4 points

2 Posts

Re: Silverlight vs. Flash – An Analysis Report

Silverlight Flash
   
Microsoft Windows,Linux and Mac OS X operating systems. Mobile devices, starting with Windows Mobile 6 ,Symbian (Series 60) phones and GNU/Linux. Windows (2000 and newer, Win9x no longer supported), Linux, Solaris and Mac OS X
   
WMV, WMA and MP3 media content across all supported browsers without requiring Windows Media Player FLV
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.
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 Webclient object.        Dealing with fonts is fairly complex with flash.
The development IDE for Silverlight 2 is Visual Studio 2008 Adobe Flex Builder 3
Rich set of development languages are available for Silverlight. Developer can use JavaScript as well as managed code VB.Net, C# for Silverlight development. The dynamic languages (IronPython, IronRuby, and Managed JScript)  are supported too 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. 
WCF.  The ability to use: WCF basicHttpBinding, duplex binding and WCF REST services is huge.  WCF allows architects to create a first class Service Oriented Architecture and it can be consumed by Silverlight clients.  Adobe has nothing of the sort.  Flash and Flex obviously can consume web services/REST services etc. However, the entire WCF framework gives Silverlight a big advantage
LINQ.
 Silverlight just like Flash/Flex are client side technologies.  In the Web 2.0-3.0 days a good design is to minimize calls to the server and try to manipulate some of the data on the client.  LINQ works inside Silverlight.  It is a VERY powerful architecture option to be able to manipulate data structures fast and efficiently on the client rather than having to rely on the server.  This gives Silverlight simply a huge advantage in productivity and architectual capabilities.
flash is lacking this area. Flash can read data source in terms of XML or text from some URL and can use it. 
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 does not support WMV at all. It only supports FLV (Sorenson Spark or On2 VP6 codecs) and MPEG4 (H.264 codec). 
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.
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.
We have to use  *.xap if we want to use managed code. .xap is just a zip but not plain text anyway. Flash does not have .XAP based presentation layer
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.
Webcam and Microphone support it not there. Flash supports it.

 

Can we conclude the differences between silverlight3 and flash10?

castor
castor

Member

Member

5 points

12 Posts

Re: Silverlight vs. Flash – An Analysis Report

From a designer's perspective, let me add this: 

If you are a designer all I can recommend is: avoid Blend.

 

Blend has been developed for programmers by programmers. So if you don't have a total numbers and maths brain you'll find it hard. Simple as that.

Blend totally lacks everything a designer would expect from usual design software. 
Blend is real clunky and counter intuitive. Almost robotic, like assembling components without any feeling to it.

Not having a good time with it, and only using because I have to at work.

It is a struggle.

 

Flash is much more intuitive and creative!

I want out. I really have not one positive thing to say about Blend.

Tim Acheson
Tim Acheson

Member

Member

41 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

The information in this table is inaccurate on several counts and the conclusions are severely misleading.

Information based on this table has also been posted on other web sites, where some of the inaccuracies have been corrected and many people have commented to point out the errors:.

http://www.smashingmagazine.com/2009/05/09/flash-vs-silverlight-what-suits-your-needs-best/#comment-348378

This is article contains some useful information, BUT:

This article requires further corrections and clarifications. In particular, key aspects and capabilities of Silverlight 2 and the.NET framework have been downplayed or overlooked. (I appreciate that the authors may not yet have reviewed Silverlight 3 which provides very many more features including additional media formats.)

I trust that the author will at least correct the following points here and anywhere else where the incorrect information has been posted:

E.g. “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”

This is incorrect. Even using the default deployment settings, a Silverlight solution deploys to a single XAP file which is directly equivalent to the SWF file created for Flash. In fact, the XAP file is simpler and offers more flexibility than Flash! The XAP file is simply a Zip file containing a highly compressed compiled DLL and potentially an XML file! Therefore, unlike a SWF file, the developer can create and extract an XAP file using standard Zip software and manually optimise the file size before deployment. JavaScript is not required by Silverlight, and the Silverlight.js library is an optional extra which has some really useful stuff in it. And by default Flash CS3 deploys with a JavaScript file, AC_RunActiveContent.js. With either Flash or Silverlight, it may be best to store additional assets separately.

E.g. “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.”

This is both misleading and inaccurate. The non-compressed size of Silverlight data has no meaning because it does get compressed. The 10-20 figure is presumably a guess, and it is simply incorrect. The XAML in a Silverlight application is compressed within the finished XAP file which is in fact just a Zip file. You won’t find a more efficient and well-supported compression algorithm for the web.

E.g. “Right now not any support to play Silverlight object as Windows application.”

This is incorrect, and actually misunderstands .NET and misrepresents how Silverlight 2 fits into the .NET framework. It also misrepresents the way Flash works and the differences between Flash/Flex/Air etc. Silverlight is a type of .NET project for building rich client applications for the web. Developers can use the same .NET framework and the same development tools to create equivalent desktop applications, but the type of project is called WPF which has the same features as Silverlight plus much more since it’s a full-blown desktop application.

sree_prem
sree_prem

Member

Member

4 points

2 Posts

Re: Silverlight vs. Flash – An Analysis Report

Thanks Tim for the post. Really very nice.

I made corrections based on the above link.

  Silverlight Flash
Platform Compatibility 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). 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.
Linux OS Support Yes. using Moonlight ,we can achieve but not extensively Yes,flash Supports Linux 5, openSUSE 11, Ubuntu 7.10 or later and Solaris 10.
Cross Platform support(As a RIA Tool) 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 spreaded  as across the vast majority of both desktops and mobiles platforms, as compared to Silverlight. Flash requires Flash Lite preinstalled on mobile devices.
Mobile Application Support silverlight Support only for Windows mobiles Flash light will support all types of mobiles
Licensing Media server licensing is cheaper than flash. Media server licensing is costlier than Silverlight.
Audio/Vedio formats WMV, WMA and MP3 media content across all supported browsers without requiring Windows Media Player FLV
Animation Silverlight is based on the WPF animation model, which is both Frame based animations and non-frame based animations, so you 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. Flash uses the frame-based animation model. In frame-by-frame animation, we create an object for each frame to produce an animation sequence
File Size Silverlight uses XAML for its description language, and it is non-compressed, so the size of a Silverlight component is usually larger. Flash uses a compressed format, and text and images are embedded in the movie, hence the file size of a Flash component is relatively small.
Sound Processing Silverlight doesn’t have the low-level audio APIs you would need to write an audio application in the browser. It doesn’t even support playback of WAV files because .NET has very little audio playback support. ActionScript 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. If you do not specify a target when you create a new sound object, there are methods to control sound for the whole movie.
Accessibility Silverlight 3 is the first browser plug-in to provide access to all system colors, allowing people with partial vision to use familiar operating system controls to make changes, such as switching to high-contrast color schemes for ease of readability. These features are far fewer than those provided by Flash. Flash provides rich accessibility features for those who have hearing and vision problems or who rely on keyboard shortcuts
Supported Image Formats Silverlight supports only PNG,Gif and JPEG file formats. Some other file formats are supported by Silverlight but in a limited way Flash supports almost all image formats.
Socket Programming Silverlight supports sockets programming through the System.Net.Sockets namespace  as well as System.Threading. Silverlight supports asynchronously sending data back and forth across a socket over ports ranging from 4502 to 4534. Silverlight supports cross-domain socket communications between a Silverlight application and any server, provided that a special security policy file is in place on the server.  flash supports XMLSocket object implements client sockets that allow computers running the Flash player to communicate with a server computer identified by an IP address or domain name.
Debugging The debugging with Silverlight is simpler than with flash. The debugging with flash is harder than Silverlight.
Fonts Silverlight lets you embed true type font information directly into your projects, and download that information with the Webclient object.        Dealing with fonts is fairly complex with flash.
The development IDE The development IDE for Silverlight 2 is Visual Studio 2008 Adobe Flex Builder 3
Development languages Rich set of development languages are available for Silverlight. Developer can use JavaScript as well as managed code VB.Net, C# for Silverlight development. The dynamic languages (IronPython, IronRuby, and Managed JScript)  are supported too Only Action Script can be used as programming tool in Flash.
Scripting For Silverlight scripting, you can choose from among a number of programming languages such as Visual C#.Net and Visual Basic.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.

ActionScript is used to program Flash objects. ActionScript is an object-oriented language with a full range of controls for designing user interfaces. And it can be integrated with back-end technologies that use other languages and frameworks, such as PHP, ASP and Ruby On Rails. It comes with a huge, powerful class library for developing online browser-hosted applications and stand-alone desktop applications.
Intergration with Enterprise based technologies  WCF.  The ability to use: WCF basicHttpBinding, duplex binding and WCF REST services is huge.  WCF allows architects to create a first class Service Oriented Architecture and it can be consumed by Silverlight clients.  Adobe has nothing of the sort.  Flash and Flex obviously can consume web services/REST services etc. However, the entire WCF framework gives Silverlight a big advantage
LINQ.
 Silverlight just like Flash/Flex are client side technologies.  In the Web 2.0-3.0 days a good design is to minimize calls to the server and try to manipulate some of the data on the client.  LINQ works inside Silverlight.  It is a VERY powerful architecture option to be able to manipulate data structures fast and efficiently on the client rather than having to rely on the server.  This gives Silverlight simply a huge advantage in productivity and architectual capabilities.
flash is lacking this area. Flash can read data source in terms of XML or text from some URL and can use it. 
Webserivce Support 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.
Codec support Silverlight does not require video codec to run industry standard videos like .WMV Flash does not support WMV at all. It only supports FLV (Sorenson Spark or On2 VP6 codecs) and MPEG4 (H.264 codec). 
Indexed by search engines Silverlight based website will be indexed by search engines flash based website are not able to index by search engines.
Text Representation/SEO In Silverlight applications, user interfaces are declared in XAML and programmed using a subset of the .NET Framework. XAML can be used for marking up the vector graphics and animations. Text is deployed on web server as separate entity and can be read and accessed separately. Textual content created with Silverlight is searchable and indexable by search engines as it is not compiled, but represented as text (XAML). Flash stores fonts using shape definitions and the player doesn’t understand TTF, hence we cannot separate the text layer from the movie. Typically the text written on a flash component was not SEO friendly however Adobe has made the modifications to Flash so that it will be indexable, and the search engines have begun to index Flash.
Deployment Silverlight solution deploys to a single XAP file which is directly equivalent to the SWF file created for Flash. In fact, the XAP file is simpler and offers more flexibility than Flash. The XAP file is simply a Zip file containing a highly compressed compiled DLL and potentially an XML file. Therefore, unlike a SWF file, the developer can create and extract an XAP file using standard Zip software and manually optimise the file size before deployment The Flash deployment package contains only a single Shockwave (SWF) file, and all images, text and animations are incorporated in this file. Because of the compressed nature of a Flash component, its images and text are not indexed by search engines, and thus not searchable.

Windows Application Silverlight is a type of .NET project for building rich client applications for the web. Developers can use the same .NET framework and the same development tools to create equivalent desktop applications, but the type of project is called WPF which has the same features as Silverlight plus much more since it’s a full-blown desktop application 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.
Media Streaming Microsoft Silverlight Streaming by Windows Live is a companion service for Silverlight that makes it easy for developers and designers to deliver rich media as part of their Silverlight applications. The service allows Web designers and developers to host and stream cross-browser media and interactive applications that run on both Windows and Mac. This service can be combined with Microsoft Expression Studio and other third-party tools to create and develop interactive contents. Flash provides no such service to host the content and application with them. Thus, building a video website with Flash is not as cost-effective as building one with Silverlight.
scalable video formats Silverlight supports scalable video formats from HD to mobile. Flash does not support scalable video formats from HD to mobile
Hardware-assisted editing and encoding solutions Silverlight supports Hardware-assisted editing and encoding solutions. Flash does not support Hardware-assisted editing and encoding solutions.
End-to-end server and application platform Silverlight provides End-to-end server and application platform. Flash does not provide End-to-end server and application platform.
Full screen video Silverlight supports Scalable full screen video. Flash does not support Scalable full screen video.
Webcam and Microphone Silverlight 3 will include H.264 support, webcam support. Flash supports it.
Performace Business rules Process much faster than Flash Business rules Process is slower than silverlight 

 

Please suggest me if any thing is need to be corrected.

Tim Acheson
Tim Acheson

Member

Member

41 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

Good work - with some of these ammendments and now brought up to date with Silverlight 2, this table is a useful resource for developers right now.

Psychlist1972
Psychlis...

Contributor

Contributor

6040 points

973 Posts

MicrosoftModerator

Re: Silverlight vs. Flash – An Analysis Report

I applaud the continued effort to come up with a comparison, but it is still lacking.

That article was wrong on so many points; I wouldn't recommend using it as an information source. This updated table also has some errors:

Silverlight 2 and 3 do not support Mac PowerPC

Silverlight does not currently support Windows Mobile in any flavor. When it does support mobile, it will support some version of Windows Mobile as well as Nokia Symbian.

The NBL? No idea that that bit is about

Ok, I stopped lest I just get angry. This table is just a mess and simply adds to the misinformation problem. I'm on the way to a meeting and don't have time to fix it right now.

Pete 

 

Silverlight.net Moderator
MVP: Silverlight, Silverlight Insider
Author: Silverlight in Action, 2nd Edition
POKE 53280,0 - My Blog

Opinions are my own. Oh, and I don't work for Microsoft.

djeddiej
djeddiej

Member

Member

2 points

1 Posts

Re: Re: Silverlight vs. Flash – An Analysis Report

 All the tables, as said, are pretty, but are also pretty much out of date or full of misinformation.

I am about to do a comparison presentation for a major department within the Canadian Federal Government between Silverlight and Adobe Flex/Flash, and my opinion will influence potentially what will be deployed on a large number of the Canadian government's websites.

Having used Macromedia/Adobe Flash for years and then Silverlight with its recent induction a few years ago, I can say that Microsoft has a lot to catch up upon, and is doing so with reasonable speed. However, Flash/Flex's entrenchment in the web development / design community as well as its widespread availability, support, and distribution is going to make it quite a challenge for Microsoft. 

 I doubt that many people actually recall that Microsoft acquired a similar "Flash Killer" tool well over a decade ago - it was called Liquid Motion Pro. Look it up. It was comparable to Flash 3 at the time. Once it was acquired, it quickly disappeared. Not a good move. One wonders what would have occured in the RIA landscape if Microsoft continued supporting Liquid Motion Pro.

 Anyway, with regards to the table, Mike Chambers above mentioned most of the points that I wanted to correct regarding what the table said about Flash. I am supposing that if he wrote it in a prettier table then perhaps it would be more eye-catching to the readers of this thread.

 In short - what needs to be changed in the table that irks me the most is

  • Flash Player 9/10 supports not only flv, but f4v (flv in industry standard H264 compliant container) quicktime mov, .mp4 etc.
  • debugging - insert a breakpoint, click debug, use step-into, step-over buttons, look at a properties window to see variables, watching, all that stuff is in there. just like visual studio. why not also compare expression blend into the mix? its more like flash in terms of IDE workflow.
  • As said many times, Actionscript is to c# as MXML is to XAML. there are two language environments.
  • The wide availability of Flash Video Streaming Services like Akamai, The popularity of video uploading sites like YouTube (which support flash video), the availability of Flash Media Server itself (the product that can serve video to users) makes the point of Silverlight Streaming Service more than a moot point. The developer license of Flash Media Server can even allow a small amount of streaming publically (10 users) at no cost.

It just irks me that misinformation can lead to misinformed decisions.

 thanks for reading!

 Edward

bartczernicki
bartczer...

Contributor

Contributor

4056 points

717 Posts

Re: Re: Silverlight vs. Flash – An Analysis Report

 Did you look when the article was written...2007.  It sucks that this page still comes up high in the rankings, because like you mention it is misinformation.

alvirtuoso
alvirtuoso

Member

Member

4 points

2 Posts

Re: Silverlight vs. Flash – An Analysis Report

 One BIG difference is:

msn.com uses flash instead of their own silverlight. 

Psychlist1972
Psychlis...

Contributor

Contributor

6040 points

973 Posts

MicrosoftModerator

Re: Silverlight vs. Flash – An Analysis Report

alvirtuoso:

 One BIG difference is:

msn.com uses flash instead of their own silverlight. 

*yawn*

Troll elsewhere, please.

Pete

Silverlight.net Moderator
MVP: Silverlight, Silverlight Insider
Author: Silverlight in Action, 2nd Edition
POKE 53280,0 - My Blog

Opinions are my own. Oh, and I don't work for Microsoft.

Tim Acheson
Tim Acheson

Member

Member

41 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

Until recently the Xbox web site also only used Flash. It takes time for legacy products to be updated to use a new technology. Be patient. To take another case study, most media content on Xbox.com is now migrated to Silverlight. Although this may only be apparent to more experienced developers and system architects, there is more to the migration than web pages. There are considerations for the server architecture and many other factors too, like the ad service provider for sponsored sites many of which have themselves not yet completed the migration process.

On a much more interesting note, Silverlight 3 is now released, check out the new features!

http://www.timacheson.com/Blog/2009/jul/silverlight_3_released

 

AlexE
AlexE

Member

Member

10 points

5 Posts

Re: Silverlight vs. Flash – An Analysis Report

You can now convert Flash code into Silverlight at www.silverx.com

Alex

Tim Acheson
Tim Acheson

Member

Member

41 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

I believe the correct URL for this third-party Flash-to-Silverlight conversion wizard is:-

http://www.silverx.net/

I wrote a brief review of SilverX and a summary of why a Flash-to-Silverlight conversion wizard is so useful.

AlexE
AlexE

Member

Member

10 points

5 Posts

Re: Silverlight vs. Flash – An Analysis Report

Thank you Tim for the correction.

Yes, www.silverx.net is the Flash to Silverlight conversion tool I had in mind.

Ade_William
Ade_William

Member

Member

20 points

5 Posts

Re: Silverlight vs. Flash – An Analysis Report

Hi Guys,

 thought I'd share my thoughts on the matter.

 I was using Flash up to the release of MX 2004. I think as a developer, the biggest pain in the ass in using Flash was debugging. I have not been keeping up to date with Flash now, but back then you could embed actionscript in any of the object. that means if you have an object inside an object inside another object, chances are it'll dirve you crazy finding the script that you need to debug. I think the Development tool like VS is a lot more intuitive for me. In my opinion Flash was primarily designed for designers, not hardcore programmers, while Silverlight seems to be geared for programmers, and designers can utilize Blend.

 True enough Flash has been around for a while and certainly has resolved a lot more issues than the young Silverlight, but with Silverlight Toolkit, I think Silverlight kept getting more interesting. This way the community can directly contribute as to which tool might be considered usefull and add it to the SIlverlight development process. As far as I know, Adobe has not adopted such method so the best way would probably spam them with email requesting such feature in the next version.

 CMIIW  

mike.chambers
mike.cha...

Member

Member

2 points

1 Posts

Re: Silverlight vs. Flash – An Analysis Report

If you dont like the Flash Authoring workflow (which is primarily designer / animator focused), then you can use Flex Builder, and have the same if not similar type of workflow that you have in Visual Studio.

mike chambers

mesh@adobe.com

Krasshirsch
Krasshirsch

Participant

Participant

1032 points

300 Posts

Re: Silverlight vs. Flash – An Analysis Report

True, that the Flex Builder improved flash development, but compared to visual studio and blend it is still nothing but a toy.

But .. do not fear Visual Studio is here http://www.sapphiresteel.com/Adobe-Flex-Development-in-Visual

And the really good part, it's free, the VS Express edition performs nicely ;)

A Bro must always post bail for another Bro, unless it's out of state or, like, crazy expensive.

Crazy Expensive Bail > (Years You've been Bros) * $100

Alexander Wieser
Germany

ConVid
ConVid

Member

Member

28 points

9 Posts

Re: Silverlight vs. Flash – An Analysis Report

Flash to Silverlight conversion here also: SilverBoom

Consolidated Video

Convert Flash to Silverlight

http://convid.com/silverboom - twitter

Tim Acheson
Tim Acheson

Member

Member

41 points

43 Posts

Re: Silverlight vs. Flash – An Analysis Report

For completeness I've added a comment about SilverBoom to my blog post on Flash to Silverlight/WPF converters:-

http://www.timacheson.com/Blog/2009/jul/convert_flash_apps_to_silverlight

I'm particularly interested in media, for example converting Flash's FLVPlayback component to Silverlight's MediaElement control and how this is handled in the conversion process. Flash's media components are so clunky, buggy, and hard to work with -- the quicker we can migrate everything to Silverlight the better. I'm bored with Flash idiosyncrasies like embedding two different Flash players on the same page and finding that for example muting one player also affects the other completely different player on the same page. When you embed a player made with Silverlight on a web page, no matter how many players you have on the same page each one is truly independent because Silverlight does it properly while Flash seems to work through a series of flimsy bolt-ons and workarounds.

  • Here's an example - play around with mute and pause on two players at the same time, and you'll notice how they get confused:-

    http://flowplayer.org/demos/installation/multiple-players.html

    I've seen developers trying desperately to manage such idiosyncrasies in Flash by working around them or calling it a feature and building on it. But if your UED team insists that this behaviour must be eliminated before a release, you're in for a real pain in the neck trying to work around the countless flaws in Flash. In a typical production-ready Flash app I sometimes end up with as many comments about bugs and workarounds (and quote a lot of code too) as I have comments about the actual application code.

srigger
srigger

Member

Member

2 points

1 Posts

Re: Silverlight vs. Flash – An Analysis Report

Hi

It is a nice table you have done here, but do you have an update to the table for Silverlight 3
because I need at good comparison between Silverlight 3 and Flash for my bachelor project
in Software Engineering ?

Kind regards
Kenneth Rasmussen

chaitanyavrk
chaitany...

Member

Member

252 points

57 Posts

Re: Silverlight vs. Flash – An Analysis Report

 Nice comparision. Anyone going to update this for the latest releases?

Thank you,
Chaitanya VRK
Silverlight Inspiration
Expression Tuts
------------------------------
Please 'mark as answer' if my reply helps you.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities