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
Color Fill Toy [Flash 9, AS3] (596.5 KiB, 552 hits)
Color Fill Toy [Silverlight 2, C#] (13 KiB, 742 hits)
Flash
Silverlight
My Design
This is one of my design using the above application. Hope you like it~


January 13th, 2009 at 3:55 am
[...] Read the rest of this great post here [...]
January 13th, 2009 at 4:18 am
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…
January 13th, 2009 at 7:49 am
Flash is dead and i wast my money on courses studying it. Anybody still using flash is an idiot.
January 13th, 2009 at 11:03 am
haha… I think idiot implies me as well.
January 13th, 2009 at 12:18 pm
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?
January 14th, 2009 at 8:23 pm
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”
January 15th, 2009 at 2:13 am
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
January 15th, 2009 at 4:07 am
Mike, I Just found an interesting articles
http://www.infoworld.com/article/08/11/18/47TC-silverlight-2_1.html
January 27th, 2009 at 1:47 am
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.
February 5th, 2009 at 6:56 pm
[...] 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 [...]
March 17th, 2009 at 5:11 am
I’ve never given this a try, but I think it’s about time I do.
March 22nd, 2010 at 6:30 am
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