What this means to a Flash person is essentially there is no such thing as symbols. If you for example create an arm, and want to use it mirrored on both sides of a person, you need to define all the vector points and colors for two arms. Ouch. This means *massive* bloat for animation. The 'stevie' file I keep using for testing goes from a 152k swf file to a 1268k xaml file using resources (which to be fair is only 183k zipped, not sure if that is supported as it was in svg). Without resources that would be something like a 10X increase, depending on your symbol reuse.

Xaml does support resources. WPF also did, so I guess it just didn't make it into the beta2 version of Silverlight. Hopefully that is the problem anyway, because without resources it is pretty much zero value for web distribution.

Btw, the swf>xaml animation converter is basically done (including sound and bitmaps now). Here is the Stevie file in xaml - due to the resources thing *Edit you have to dnld and play in IE actually you can just click the link and open with IE, seems it plays the Xaml directly*. Or just play in Vista if you have it I assume. I guess I'll make an option not to use resources before putting it up for download.

A few people have sent files to convert (thanks!) -- again if you want to try converting a flash animation just send it my way and I'd be happy to send the conversion back. Actionscript isn't supported at this time, so it should be just 'pure' animation.

posted on Tuesday, May 22, 2007 1:27 PM
Feedback
  • # RE: Silverlight does not support Resources
    Burak KALAYCI
    Posted @ 5/23/2007 6:06 AM
    Hi Robin,

    I didn't know that!

    If WPF supports resources and Silverlight doesn't, it seems like a deliberate decision to me (albeit not a bright one).

    Maybe that's why MS removed the 'Internet' and replaced it with 'Interactive' when they redefined RIA :)

    Keep up the great work!

    All the best,
    Burak

  • # RE: Silverlight does not support Resources
    Scott Barnes
    Posted @ 5/27/2007 4:53 AM
    Alpha folks (not beta2, beta2 is yet to come), A-l-p-h-a so before we start rounding up the villagers with torches and dennoucing what Silverlight does support vs. doesn't, wait until it's finished? :)

    Just for the record, you could duplicate pieces much like you would with say HTML, using the dynamic object model.


    -
    Scott Barnes
    Developer Evangelist
    Microsoft.

  • # RE: Silverlight does not support Resources
    Robin Debreuil
    Posted @ 5/27/2007 11:16 PM
    Actually Scott, it is beta. B-e-t-a. Check out the site : ). However on the download page, which all the real people see, it says nothing about beta, or alpha, though it does use the alphabet at one point.

    You can duplicate pieces with script, but as far as I know you can't in pure Xaml -- so it doesn't really help the swf to xaml converter, which is what I was writing about. I'd be (very) happy to know if this is otherwise.

    Btw, I do enjoy Silverlight, but if there is a party clubbing villagers I'm missing, I'll be really pissed. Those Flash people must think I'm tainted now or something, crap.



Blog Stats

  • Posts - 121
  • Stories - 1
  • Comments - 1441
  • Trackbacks - 47

.Net Blogs

01101 Blogs

Flash Blogs

Graphics

People