Rendering Flash/SWF content in JavaScript through open standards

by Raju Bitter on January 15, 2010

Last year – in a discussion about what could be the next feature for a multi-runtime RIA platform like OpenLaszlo – the former OpenLaszlo director Jim Grandy came up with the idea of generating either JavaScript or OpenLaszlo’s XML based LZX source code out of exisiting SWF files. Today heise.de reported the launch of project Gordon by Munich based Tobias Schneider. Gordon is “An open source Flash™ runtime written in pure JavaScript”. You’ll find some demos of the current version of Gordon here, and the source code is available on githup. Technically Gordon translates the SWF tags into SVG through a JavaScript SVG renderer. The project wiki contains information on the supported browsers as well as the supported SWF tags (SWF 1.0).

Check this picture of one of the oldest Future Splash demos (Future Splash is the old name of Flash before the technology was bought by Macromedia) running on an iPhone through Gordon.

Gordon - rendering an old Future Splash demo on the iPhone

Gordon - rendering an old Future Splash demo on the iPhone

That reminds me of the Henry Minky’s demo rendering OpenLaszlo’s XML into SVG (instead of Flash or JavaScript code). The question is, how much of the advanced interactivity the SWF format offers can be reproduced using SVG? An interesting post in the Open Web Advocacy Group titled “A Rant about SVG” discusses the various technical difficulties around using SVG and JavaScript in modern browsers.

Without being an expert on the SVG subject I have the feeling that there are still a few shortcomings if you plan to build full applications using SVG – if you plan to have the apps running in the various versions of IE in the market. But Gordon is definitely an interesting project, very much welcomed by anyone interested in an more open standards way of building Flash-like apps for the web.

Share:
  • Print this article!
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • E-mail this story to a friend!
  • Ping.fm
  • Twitter

{ 1 trackback }

Tweets that mention Rendering Flash/SWF content in JavaScript through open standards -- Topsy.com
April 28, 2010 at 04:17

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: Adobe – Flash Player FP-40 bug will be fixed with the release of 10.1

Next post: OpenLaszlo SWF10 Flash app running on HTC Desire (Android)