Silverlight 3 and Flash: XML Image Gallery Silverlight 3 and Flash: iPhone Dragging Effect
Sep 21

Here is a Flash vs Silverlight comparison on the XML Image Gallery2!

It is a revised image Gallery based on the last post of  XML Image Gallery.

The following features are added in the new Gallery

  1. Loading animation
  2. Sliding effect

Images used in the application is another Top Model from Tai Wan

Let’s enjoy it and leave comments!!

Comparison

Flash implementation: 30minutes

Silverlight implementation: 20minutes (Implemented First)

Source codes

Flash

Silverlight

Shares and Enjoy~

Did you like this post?

Subscribe here:  

33 Responses to “Silverlight 3 and Flash: XML Image Gallery2”

  1. Dave Says:

    Good work as always! I looked at the code, but has the same name and the same code as the XML Image Gallery 1…wrong file?? I’am wondering if you’re using easing animations with just C# code and no xaml :|
    keep up posting!

    - Dave.

  2. Miksu Says:

    Name of the model? :)

  3. Servefault.com Says:

    Silverlight 3 and Flash: XML Image Gallery2…

    Thank you for submitting this cool story - Trackback from Servefault.com…

  4. John C. Bland II Says:

    Silverlight one is pretty clean. The Flash one has some implementation problems. You really should look at building these in Flex vs Flash (XAML vs MXML is a more accurate comparison).

  5. admin Says:

    @Dave, Thanks Dave, it is the wrong file before. it is already updated.

    @Miksu, The name of the model called Nico.

    @Servefault.com thanks for your feedback.

    @John, Thanks for your suggestion. I will consider that.

  6. John C. Bland II Says:

    @admin
    I look forward to it.

  7. Paul Simkins Says:

    @John, I don’t see that at all. I like the Flash one better. Color seems to be richer.

  8. John C. Bland II Says:

    @paul simkins
    Click around fast. You’ll see it start messing up.

  9. Paul Simkins Says:

    @admin Not the Nico of Velvet Underground fame. Couldn’t be. Looks nothing like her, especially since she is dead.

  10. JOKe Says:

    What is the idea of comparing Flash and Silverlight ?
    You can compare Silverlight with flex but Flash is different think with different idea. Yes with silverlight you can make most things that can be done in flash and flex but.
    Flex is developers tool
    Silverlight is tool for developers
    Flash is NOT !

  11. admin Says:

    @JOKe,
    You are right. Flex and Silverlight is a tool for developers. I mainly focus on the coding of different technology and what both technology can achieve the same effect. I am sure Flex may speed up the development process, but it’s not my focused area.

  12. John C. Bland II Says:

    @admin
    Actually, it isn’t about dev speed. Flex provides the same coding constructs as Silverlight (xml on top of a language [as3 and c#]) which, when the framework is used, provides ease of things like tweening, resizing of images, etc. In other words, Flash CS# has you writing all of the code (basically) and Flex easily handles redundant tasks, as all frameworks do/should.

    Just my thoughts.

  13. webdevvote.com Says:

    you are voted!
    Track back from WebDevVote.com

  14. Digified Says:

    *Phew*

    Lucky I didn’t just look at hard-core pornography in those two apps. Nice ladies, though…

    But anyway, here’s what I think.

    On Flash, the images look JPEG markings. The skin is bit darker (I don’t know if it’s just me).

    On Silverlight, the image quality is better by just weee 1%. Also the images appear to load faster.

    I want to point something out: do you still have the “Flash is better! Silverlight is better!” ratings? If my browser just won’t display it, then I’m in desperate need of more chocolate milk (and a new web browser).

    But the ratings were good, it shows what people think exactly.

  15. Tune Up Your PC » Post Topic » This Week’s Silverlight Postings Says:

    [...] Silverlight 3 and Flash: XML Image Gallery2 [...]

  16. Scott Says:

    Hey, do you post up tutorials or just source code?

  17. Silverlight XML Image Gallery 2 | Silverlike - A Free Microsoft Silverlight 3 Directory Says:

    [...] Terence Tsang released a revised image Gallery based on the last post of  XML Image Gallery. [...]

  18. lizzie Says:

    I downloaded the Silverlight Image Gallery2 project and it builds just fine, but when i run it, the gallery shows up as a white page in my browser. What am i doing wrong?
    I am new to silverlight and would appreciate any help :) Thanks!

    This is the error IE gives me:
    Webpage error details
    Message: Unhandled Error in Silverlight Application An exception occurred during the operation, making the result invalid. Check InnerException for exception details. at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
    at System.Net.DownloadStringCompletedEventArgs.get_Result()
    at XmlImageGallery2.MainPage.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
    at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
    at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
    Line: 1
    Char: 1
    Code: 0

  19. slizka Says:

    When i try tu run the gallery2 in VS2008 it shows this error:

    System.Reflection.TargetInvocationException was unhandled by user code
    Message=”An exception occurred during the operation, making the result invalid. Check InnerException for exception details.”
    StackTrace:
    at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
    at System.Net.DownloadStringCompletedEventArgs.get_Result()
    at XmlImageGallery2.MainPage.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
    at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
    at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
    InnerException: System.Net.WebException
    Message=”An exception occurred during a WebClient request.”
    InnerException: System.NotSupportedException
    Message=”The URI prefix is not recognized.”
    StackTrace:
    at System.Net.WebRequest.Create(Uri requestUri)
    at System.Net.WebClient.GetWebRequest(Uri address)
    at System.Net.WebClient.DownloadStringAsync(Uri address, Object userToken)
    InnerException:

  20. Kenneth Says:

    Hi

    I get the same error as lizzie when I build and run the application i blend and I get the same error as slizka when I try to build in VS2008. Where is the error, so I can make the gallery work ?

  21. andrew reynolds Says:

    Interesting subject. I m really glad to read your blog. I m impressed with your good work. I have gone through many blogs but I found yours the most interesting

  22. activekita Says:

    I do not know this before. Good information

  23. Mobile Phone Prices in India Says:

    I have agreed with all of you. Its a classic post and the Work done is spurb. I like it very much and we all must appriciate this kind of effort so that latest tech should be enhanced.

  24. Jovita Maliszewski Says:

    I have come to your site before. Beautiful female photo. Wanted to tell you, you have a visually appealing port

  25. Freddie Says:

    Both looks fine, but, flash don’t load images asynchronous too? I see a little delay… Or it’s for the compress on pics?

  26. Pedro from: Miami Web Design Says:

    This is great but it would be even better if you could database connect this so clients can manipulate the gallery.

  27. syabac Says:

    thanks for sharing and the code.. :)

  28. Tej Kohli Says:

    Means We call our Images through Database Automatically

  29. Sophia Says:

    This is about as deserving of the GNX mantle as I am of valedictorian. I’m not bothered by the AWD 4-door bit, but it won’t embarrass Corvettes. I’d accept the Grand National badge though. Or, really, however I can get it - throw Daewoo badges on, and I’d still drive the crap out of it.But still, clocking in at a small dog shy of 2 tons is disturbing.

  30. Mark Says:

    The way these apps are built makes it easy to perceive the Silverlight app as faster.

    Why?

    Because the image flies out further before returning.

    Not FPS, lot image load time, but because the image in the silverlight app moves farther. Playing this kind of perceptual BS game makes me wonder if the loading time hasn’t been fudged too. Way to be impartial.

  31. pratibhadesign Says:

    Awesome tutorial..thanks…

  32. Margret People Says:

    Most likely probably the most helpful in addition to up-to-date data I got here throughout on this topic. I am certain lucky that I saw your article by chance. I’ll be subscribing to your individual rss feed in order that I can have the latest posts. Enjoy everything here.

  33. pawowgold Says:

    very good, it’s very useful to me, thank you very much!

    ———————
    runescape gold, http://www.playersaid.com/runescape-gold/

Leave a Reply