65.9K
CodeProject is changing. Read more.
Home

Is Silverlight Eating Adobe's Bread and Butter?

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.50/5 (4 votes)

May 6, 2010

CPOL
viewsIcon

11382

Is Silverlight eating Adobe's bread and butter?

[DISCLAIMER] Before I start, I have to state that this is only my opinion!!!

With the disclaimer out of the way, a large percentage of the websites out there that utilize Flash use it as islands of richness. This is where a portion of  the screen uses flash to do things like show different marketing “slides” or videos. I KNOW there is more to Flash than just these two scenarios, but this is what I mostly find (in my opinion). I think Silverlight makes both these scenarios extremely easy to implement!!!

Let's take the Skin It to Win it competition hosted by SlideDeck as a example…

[DISCLAIMER] I know jQuery also allows this… (Take SlideDeck as a example.)

If I wanted to implement a SlideDeck in Silverlight? Why not use the Accordian (available in the Toolkit)?

Here is the code:

<layout:Accordion ExpandDirection="Right">
    <layout:AccordionItem Header="Item #1">
        <Image Source="Pages/Page1.png" />
    </layout:AccordionItem>
    <layout:AccordionItem Header="Item #2">
        <Image Source="Pages/Page2.png" />
    </layout:AccordionItem>
    <layout:AccordionItem Header="Item #3">
        <Image Source="Pages/Page3.png" />
    </layout:AccordionItem>
    <layout:AccordionItem Header="Item #4">
        <Image Source="Pages/Page4.png" />
    </layout:AccordionItem>
    <layout:AccordionItem Header="Item #5">
        <Image Source="Pages/Page5.png" />
    </layout:AccordionItem>
</layout:Accordion>

And this is how it looks:

That’s cool, what about video?

Video is JUST AS EASY in Silverlight… For more information, read Create your own Hulu.com.

You can find the source here.