Posted By: Charles | Nov 21st, 2006 @ 7:54 AM | 35,463 Views | 17 Comments
Mike Swanson has done it again!  Check out his (http://www.mikeswanson.com/swf2xaml) SWF to XAML converter.  Wow!

In this segment, he demos the tool in action and explains the secrets of how he pulled it off. Karsten Januszewski conducts the interview.
Tag: WPF
Media Downloads:
Rating:
0
0

Dudes,

Looks really cool!

The link doesn't work on the article though, sends me to MS IT OWA.

macbirdie
macbirdie
new Niner()
It's as if a thousand Adobe developers scream in terror and are then suddenly silenced.
This looks interesting Smiley

macbirdie wrote:
It's as if a thousand Adobe developers scream in terror and are then suddenly silenced.


Until it supports ActionScript I don't think anyone is *too* worried.  Of course a XAML-SWF converter would be spectacular and allow Microsoft to take advantage of the huge installation base of Flash.

I'd always thought the SWF spec proprietary though, I'm surprised it is as open as it appears to be.


Edit: Having thought a little more about it, isn't there a Javascript implementation for the CLR? ActionScript is essentially the same (EcmaScript) - although I guess it would involve reworking all of the existing Flash AS apis.
footballism
footballism
Another Paradigm Shift!
Rossj wrote:
This looks interesting
isn't there a Javascript implementation for the CLR?


Dude, do you forget JScript.NET?

Sheva
Rossj wrote:
I'd always thought the SWF spec proprietary though, I'm surprised it is as open as it appears to be.


For context, Adobe does make the Flash file format specification available: http://www.adobe.com/licensing/developer/. Unfortunately, their license was too restrictive for my needs, so I had to use other publicly available information on the internet (and there's a lot of it) to build the SWF2XAML tool. It's also important to note that I've built a converter, not a player. My goal is not to play back Flash content.

The inspiration for this tool came from many of the early adopters I've been working with over the past couple of years. A lot of them have content in the form of SWF files, and they want to use some of that content in their WPF applications. In many cases, they no longer have the original Flash project files (.FLA). So, this tool was built to help solve those needs.

A previous version of the Vista Smalltalk interpreter used a Javascript-like syntax, and I still have the Antlr syntax for it. It should be fairly simple to modify it for ActionScript.

The interpreter is designed for (hopefully) running in WPF/e.

https://vistasmalltalk.wordpress.com/
http://vistascript.net/vistascript/docuwiki/doku.php

Time to sell your Adobe shares!

Microsoft Communities