Silverlight 3 and Flash: XML Image Gallery2 Silverlike.net – A Free Silverlight Controls Directory
Sep 28

Here is a Flash vs Silverlight comparison on the fantastic iPhone Dragging Effect.

it is a Text Dragger like the well-known dragging effect from iPhone or iPod touch. Simply drag the text up and down by holding down the mouse button.

Let’s enjoy it and leave comments!!

Comparison

Flash implementation: 35 minutes

Silverlight implementation: 1 hour 40 minutes (Implemented First)

Source codes

Flash

Silverlight

Shares and Enjoy~

Did you like this post?

Subscribe here:  

36 Responses to “Silverlight 3 and Flash: iPhone Dragging Effect”

  1. Silverlight 3 and Flash: iPhone Dragging Effect | Silverlight Travel Says:

    [...] more here [...]

  2. Michael Says:

    I’d say displaying the implementation times at all are fairly misleading, given you created the SL one first.

  3. Kelps Says:

    I happen to agree with Michael. You should also publish what you think about each implementation. I really like what you’re doing here but I think that many folks would benefit a lot from something a little deeper then how long did you took to implement each.
    Since the voting no longer exists, you should post you opinion on wich implementation you think was easier/better and wich result you think is better.

  4. Bill Says:

    You are not propertly using Silverlight for graphic operations. Firstly, you should be taking advantage of the EnableGPUAccelleration parameter in the object embed on the page (Might have misspelled it - look it up :)… Also, you are not using the bitmap caching would makes this sort of thing smooth as butter.

    Please if you are going to compare technologies know how to use them.

  5. Max Says:

    Bill, by saying that somebody should know something he’s writing about - you should know that turning on bitmap caching degrades font rendering quality of that part. So there should be any real reasons to do it, which I don’t see in that sample, because it’s quite smooth enough.

  6. admin Says:

    Hi Kelps, actually, i just mark down exactly how much time I spent on doing the application. I agree that I can add some more explanations on the time that I spent.

    Bill: thanks for the suggestion. Actually, my intention in this blog is just to provide some “solutions” for solving different problem. If performance is an issue for the readers, I will really spend some time to make a better comparison.

    Max: thanks for the comment. I am thinking to create more iphone effect in the coming posts.

  7. iPhone Dragging Effect | Silverlike - A Free Microsoft Silverlight 3 Directory Says:

    [...] Terence Tsang released his first iPhone scroll effect control. It is a Text Dragger like the well-known dragging effect from iPhone or iPod touch. Simply drag the text up and down by holding down the mouse button. [...]

  8. Links (10/4/2009) « Steve Pietrek – Everything SharePoint Says:

    [...] Silverlight 3 and Flash: iPhone Dragging Effect [...]

  9. Manmohanjit Says:

    Flash is more responsive…

  10. Gigi Says:

    There is one difference - if you grab the page and move the mouse outside the control rectangle, the flash version will continue working, while the silverlight one will just freeze and behave strangely. Is this fixable in silverlight/firefox?

  11. Thommy Says:

    Hi Terence. This is awesome. I just tested the flash version and I was wondering whether it was possible to use multiple scroll elements in one swf containing different text and images?

  12. fED Says:

    Hey! Very cool effect! Just wondering if you could tell me what I need to change in the AS script for it to work horizontally. I´d really like a hand on that since I´m not that experienced in ActionSCript coding. Thanks a lot!

  13. Hooman Says:

    Gigi Wrote: There is one difference - if you grab the page and move the mouse outside the control rectangle, the flash version will continue working, while the silverlight one will just freeze and behave strangely. Is this fixable in silverlight/firefox?

    I agree. In Flash/AS, you can do onReleaseOutside( … I haven’t used Silverlight, so I don’t know if it has that or anything similar. In any case, I’ve noticed that in all the examples in the gallery, the Silverlight examples have this sticking/freezing if you move the mouse or drag something to the outer edge. Is this something you forgot to add to the Silverlight examples, or does Silverlight simply not have an event handler similar to “onReleaseOutside”?

    Just curious. Thanks for the neat site by the way. I’ve bookmarked it.

  14. admin Says:

    Gigi and Hooman: that’s my question too, i have no idea how to check on release outside the plugin. It seems there isn’t any standard method to handle that. Anyone know if there is some hack on that?

  15. tinna tran Says:

    How to apply this effect for a limit height in a window, not for the whole height of the browser.?
    Ive tried, and see that the textbox is get over the bounce of height limit/
    Thank you.

  16. Felipe Lima Says:

    Hello,

    Thanks a lot for sharing your work! I am planning to implement this functionality for a new site I am developing and will need to have this drag effect both vertically and horizontally. I was able to make it work horizontally already. I’ll let you know when I have the final website running and give you the proper credits.

    Cheers,
    Felipe

  17. johnbruin.net » Silverlight Star Wars Scroller Says:

    [...] The cool iPhone Dragging effect by Shine Draw [...]

  18. Marc Says:

    It would be great to combine this with the Image Gallery: you’d move an image to the left to see the next one, and to the right to see the previous image.
    Move it fast (give it a swing) and it would continue scrolling, until you break by clicking on it.

  19. Grant Robins Says:

    Anyone grabbed an unlocked iphone off ebay? That means i can use it on any network right?

  20. danny Says:

    i’m missing something here. for the flash scroller, where is the content coming from? there are no files and i dont see any reference to it in the AS. i’m talking about the text, “Microsoft Silverlight is a web application framework…”

  21. Carolynn Cofone Says:

    Doing some browsing and noticed your blog appears a bit messed up in my K-meleon internet browser. I think I’m the only one still using it….

  22. yoke Says:

    i can’t open the project or solution in the visual studio .
    help me please.

    error ***The project type is not supported by this installation***

  23. OMG Says:

    OMG! Silverlight fonts a fucking twisted. How can i insert normal fonts in to silverlight application?

  24. Dara Says:

    I was playing with this, I added some buttons into the myScrollElement movie, then outputted this file as as swf, to load into a UI loader in a parent swf.

    I was trying to add an event handler to the button within myScrollElement but I can’t figure out the target path.

    Have you code to do this? I can target as far as myCanvas but I can’t seem to figure out the next level of instance names below that MC.

    Dara

  25. UptownGirl Says:

    Thanks Terence for creating this! Do you know how one can make the iPhone scroll go horizontally? I’m trying to figure out how to do this and I don’t have a lot of ActionScript skills. Even though I’m trying to figure out to make it horizontal it’s a lot closer to the solution I’m looking for.

  26. Chris Says:

    Is it me or does the flash based version work a little–just little–better?

  27. Dorinda Harrel Says:

    Try & Preserve your iPad for No fee! -> http://bit.ly/cFBuis

  28. CitrusBlog Says:

    http://tech.chitgoks.com/2010/03/14/iphone-4g/

  29. paranoio Says:

    hi
    thats a great work i was doing something similar too but i think yours feel somhow more softh hope you dont mind if i use some of your code in mine .
    Look this is what i have so far http://www.motion.com.mx/tests/iphoneScroll/GalaScroller4.swf

  30. paranoio Says:

    i mean softher :P

  31. Jesse Graupmann Says:

    How about Flash and Silverlight on the iPhone?!

    http://www.artefactgroup.com/blog/2010/05/jobs-be-damned-flash-on-the-ipad-silverlight-too/

  32. criminal records Says:

    I can see that you are an expert at your field! I am launching a website soon, and your article will be very useful for me. Thanks for all your help. With best wishes x

  33. syabac Says:

    thanks for sharing..
    very interesting..

  34. Sumit Says:

    One drawback of Silverlight is that if you drag the mouse outside of that blue box the image is not scrolled back.

  35. Tej Kohli Says:

    Wow That Great .. Such a Great Tool Silver Light

  36. iguoguo(爱果果) Says:

    非常好的效果,收藏一下,每次来浏览你的网站,你的文章都不是为了区分flash和silverlight那个效率更高,而是热衷于你的代码,你总是能够在代码上给我带来新的启发。

Leave a Reply