Difference on Timer, Enter Frame, Dispatcher Timer and Composition Target Let’s Join Mix 09 - 10K challenge!!
Jan 13

This is a new request from one of my friend Yuki. She showed me a Flash Website Tracy Chapman with a very nice Colour Fill Feature.

It’s quite easy to implement in Flash. However, it’s much more difficult in Silverlight since I am not familiar with the Microsoft Expression Design. Therefore, I just implemented a simple version for the Silverlight. (See if anyone could help me to make a similar one as in Flash. But I think it’s very very difficult to make it.)

This color fill technique can even applied to animation. I will try to implement it if people really find it useful.

Comparison

Flash implementation: 1 hour (Implemented First)
Silverlight implementation: 50 minutes

Source codes

Flash

Silverlight

(This is a simple version. It will apply a random color for each click.)

My Design

This is one of my design using the above application. Hope you like it~

Flash vs Silverlight Gallery

Shares and Enjoy~

Did you like this post?

Subscribe here:  

12 Responses to “Flash vs Silverlight: Color Fill Toy”

  1. Toys Toys and More Toys » Blog Archive » Flash vs Silverlight: Color Fill Toy Says:

    [...] Read the rest of this great post here [...]

  2. Philippe Says:

    Your Flash/SL samples are interesting as learning material, but the whole Flash vs SL voting thing is just an annoying call for fanboys - it doesn’t show anything interesting except you have more SL fanboys reading your blog…

  3. Romeo Says:

    Flash is dead and i wast my money on courses studying it. Anybody still using flash is an idiot.

  4. admin Says:

    haha… I think idiot implies me as well.

  5. Silver Lining Says:

    I really appreciate these examples of how to do things in Flash and Silverlight - keep them coming!!

    Since I’ve been working with C# and Visual Studio for years going with Silverlight was a no brainer for me. But Flash won’t die and I think JavaFX will flourish simply because of all the Java programmers out there.

    The voting does seem to be biased toward Silverlight. Perhaps because most of the people who read this site are Silverlight programmers?

  6. Mike Darnell Says:

    I think commentator ‘Silver Lining’ hsa the best response here so far. Flash is going to be around for a while simply because it’s got such a wide user base that an instantaeous or even fast extinction is impossible.

    As far as the technology is concerned it should be no surprise that new comer Silverlight has the higher ground:
    1.
    It’s a much newer product.

    2.
    It successfully brings together some of the best products Microsoft has ever put out - C#, XAML.
    (read more about this here - http://blog.headup.com/2009/01/yogi-%E2%80%93-confessions-of-a-ms-silverlight-fan )

    It may take a while for non tech people to feel the migration but it’s inevitable.
    Whereas Flash is a very limited for development purposes, and therefore has a relatively small community, Silverlight enjoys the huge following that C# has and allows for rapid development and deployment of RIAs.

    Bottom line - Silvelight is the pragmatic choice & must therefore gain market dominance.

    disclosure - I work for http://headup.com - we are a Semantic Web Firefox addon powered by Silverlight (and chose it for the reasons I mentioned…)

    Cheers,
    Mike
    “I tweet @headup”

  7. admin Says:

    Mike,

    thx for your sharing. I agree your stand point and I have one interesting point to share as well.

    When I started to use Flash, I didn’t know any programming at all. I attempt to learn it by trial and error. Some how, Flash give me a feeling it’s very easy to learn and use for a non-technical person.

    While for Silverlight, I feel it’s not easy to learn even I am well trained with programming.

    Therefore, I think there are dozens of non-technical persons will still support Flash.

    That’s critical if your designers refuse to use Blend. haha

  8. admin Says:

    Mike, I Just found an interesting articles

    http://www.infoworld.com/article/08/11/18/47TC-silverlight-2_1.html

  9. Rob Houweling Says:

    Hi Terence,

    Thanks for the great stuff you bring us.
    I decided to take you up on your challenge :):
    http://web-snippets.blogspot.com/2009/01/creating-colorfilltoy-in-silverlight.html

    Cheers!

    Rob.

  10. Silverlight Color Fill Shape Says:

    [...] time, I have implemented a application namely “Color Fill Toy“. Since I am not so familiar with Expression Blend, the Silverlight version is far yet to be [...]

  11. toddler toys Says:

    I’ve never given this a try, but I think it’s about time I do.

  12. Hakimo Says:

    Hi
    ,
    I’m liking this application a lot and I’ve managed to apply it to some of my own drawings. At the moment, I’m hoping to extend this application but I’m stuck. I’m trying to add a function to save/export it as image. Or even sending it as email. How should I approach this or is there already a function in ActionScript that can do it?

    Thanks.
    -Hakimo

Leave a Reply