Sep 15
Here is a Flash vs Silverlight comparison on the XML Image Gallery!
It is a new image Gallery! The Gallery is an xml driven slideshow which supports multiple galleries, thumbnails and lot more. You are able to add more images by just modifying the XML only. You are also able to see how I use XAMLReader (in Silverlight) in loading the XML easily.
Images used in the application is a Top Model from Hong Kong
Let’s enjoy it and leave comments!!
Comparison
Flash implementation: 60 minutes
Silverlight implementation: 30 minutes (Implemented First)
Source codes
XMLImageGallery [Flash 9, AS3] (346 KiB, 1,887 hits)
XMLImageGallery [Silverlight 3, C#] (548.8 KiB, 4,004 hits)

September 15th, 2009 at 3:07 pm
Silverlight work with images much more better than Flash! :)
September 15th, 2009 at 3:38 pm
Silverlight?
Flash?
The picture stole the show!!!
September 16th, 2009 at 12:35 am
@Ai_boy
Provide some insight (always interested in the discussion).
@samcov
I know right. lol.
@shine
Why not “employ” a comparably skilled Flash developer (compared to your silverlight skills, that is) to build the samples so the times are a bit more relevant because an xml image gallery in Flash shouldn’t take 1 hour.
Keep up the samples though. I love to see the comparison in code.
September 16th, 2009 at 9:46 am
what is the name of the girl from the gallery?
September 16th, 2009 at 3:57 pm
I don’t know why but the image ratio is not respected on the Flash version… I love SIlverlight but hey this is not fair :/
September 16th, 2009 at 4:00 pm
@Ramooon
Actually the Silverlight version is resizing the graphic down. You can do the same in ActionScript but the developer chose to have it shown at the full 600×450. That’s the distinction.
September 17th, 2009 at 1:42 am
hi all,
The girl calls Chrissie Chau
The photos in the Silverlight version are the right aspect ratio.
I am glad to see the discussion on the aspect ration of the picture, I understand it is not a fair comparison. But my intention is to let developer learn more from the code, so there may be some differences on the presentation.
September 17th, 2009 at 1:46 am
@admin
Actually, correct me if I’m wrong, they both are the same aspect ratio aren’t they? The Flash version isn’t resizing like the Silverlight so part of the image is cut off since the swf is only 556 px and the image is 600 px wide.
As another point from my above, why not compare Silverlight to Flex. That’s more of a comparison than Flash. Just a thought.
Love the posts…keep’em up.
September 17th, 2009 at 2:18 pm
@admin
Thank you ! and sorry for the question off the subject.
September 19th, 2009 at 11:40 am
[...] Silverlight 3 and Flash: XML Image Gallery [...]
September 21st, 2009 at 3:09 am
[...] Silverlight 3 and Flash: XML Image Gallery [...]
September 21st, 2009 at 4:58 am
[...] Map Silverlight 3 and Flash: XML Image Gallery Sep [...]
September 22nd, 2009 at 11:15 pm
@John, The images in the Flash is stretched to the full screen. I appreciate your comment and I will love to see if there is any flexibility on Flex later on.
September 22nd, 2009 at 11:46 pm
@admin
Yes but why? Flash doesn’t automagically stretch your images. Did you code Flash to stretch and Silverlight to not? (I haven’t looked at the code)
December 8th, 2009 at 7:05 pm
Images are not resized in the flash version :
With Flash and his pixel blender shader
http://www.brooksandrus.com/blog/2009/03/11/bilinear-resampling-with-flash-player-and-pixel-bender/
you can obtain very good result ! (better than just resizing )
December 21st, 2009 at 1:04 pm
Try to use the Art Flash Gallery http://www.flash-gallery.com. It is possible use fit, fill scale mode of images
December 29th, 2009 at 8:49 pm
Now I know why it’s called FLASH!
Unlike in the Silverlight version, in the Flash version it looks like a white frame is displayed before the selected image is shown.
December 30th, 2009 at 9:23 am
Hire a developer and you will get absolutely the same both results. Flash can stretch any images smooth with 2-3 lines of code.
February 24th, 2010 at 6:46 pm
@marc
To avoid the flash of light, just add the new image to the displayList instead of relaoding it…
May 25th, 2010 at 4:22 pm
You need to learn to program in Action Script before leaving speaking ill of Flash. The flash get identical results with the silverlight
July 23rd, 2010 at 3:24 pm
Really stupid approach if you intentionally trying to show Silverlight is the best. Simply you have no idea how to deal with flash and how Flash Player works. Keep scale ration 1:1 for both because you probably know Silverlight will do worst thing with your image than flash. If not just learn how to use smooth bitmaps and deal with display list as every Flash kid can tell you and then put this on the public. Otherwise seems like you taking side and you are not deserve to have write a word about this as specialist.
At least nobody should care about what you doing here.
If I could show Silverlight in bad light the way as you, will take me one day to destroy most of its “strong” points. And trust me in 60min with flash you can do much more that this peace of crap.
August 2nd, 2010 at 3:43 am
I am going to Try this tool for our website