Live data from Hacker News

Swiffy: convert SWF files to HTML5

googlecode.blogspot.com

31–40 of 77 posts

Re: Swiffy: convert SWF files to HTML5

#31
Reality check: like it says, it converts a subset of Flash 8 content.

It means it converts a subset of content that was made for a version of Flash that is 6 years old (Flash 8 was released in 2005; Adobe is about to release Flash Player 11).

Sorry, this is not the "Flash killer" you're looking for.

Re: Swiffy: convert SWF files to HTML5

#32

Reality check: like it says, it converts a subset of Flash 8 content. It means it converts a subset of content that was made for a version of Flash that is 6 years old (Flash 8 was released in 2005; Adobe is about to release Flash Player 11). Sorry, this is not the "Flash killer" you're looking for.

Maybe I haven't been paying enough attention, but Flash circa 2011 doesn't seem all that much better than Flash circa 2005. If it gets them on iPhones, I think most people would happily take Flash 8 and possibly not even notice the downgrade.

Re: Swiffy: convert SWF files to HTML5

#33
post #25

My experience of HTML5 right now doesn't really have significant performance improvement compare to Flash, even on Mac OS X. I think it still has a long way to go. But it is nice to see someone's exploring the frontier! The blurring effect doesn't seem right though...

My experience of HTML5 is that it blows Flash out of the water. Flash on Linux is (still) an absolute disaster while HTML5 is making progress every day and has long surpassed Flash in usefulness for most tasks.

My experience is that your anecdotal experience is flawed and that Flash has a better workflow AND performance AND battery conservation on both desktops and mobile platforms (where it's allowed).

http://www.next-gen.biz/news/html5-still-lagging-behind-flas...

http://iq12.com/blog/as3-benchmark/

http://workflowed.blogspot.com/2011/02/flash-player-101-for-...

http://www.streamingmedia.com/Articles/Editorial/Featured-Ar...

http://pogue.blogs.nytimes.com/2010/10/07/testing-videos-on-...

http://www.androidtabletnows.com/android-devices-news/2011/n...

http://themaninblue.com/writing/perspective/2010/03/22/

http://vimeo.com/10553088

http://www.blackcj.com/blog/2010/09/17/flash-outperforms-htm...

http://www.craftymind.com/guimark3/

http://www.craftymind.com/guimark2/

But hey, let's complain about it because "Adobe is evil" or whatever! (and note: I'm an Ubuntu x64 user).

Re: Swiffy: convert SWF files to HTML5

#34
post #8

> Which browsers support Swiffy output? > Swiffy uses SVG features that are currently only supported by Webkit-based browsers such as Safari (on desktop and mobile) and Chrome. That's not the HTML5 future I wanted :( In Opera it fails due to JS errors that don't look SVG-specific. It's a shame, because Opera's SVG support is a bit more complete than WebKit's: http://www.codedread.com/svg-support.php (sadly the Swiffy…

At this point I'm beginning to doubt we'll ever actually get to a fully cross-browser web. We've had two broad reboot attempts (first to "XHTML+CSS", the current one to "HTML5") and both times we ended up largely with a limited list of browsers and engines supported just as we had in the days of Netscape 4.x/IE4. The supported browsers are the cool browsers/engines of the day, which we then proceed to curse in three-four years. Only the names of the browsers change.

Edit: heh, didn't even notice who I was replying to.

Re: Swiffy: convert SWF files to HTML5

#35

first paragraph of TFA: Last summer, an engineering intern named Pieter Senster joined the mobile advertising team to explore how we could display Flash animations on devices that don’t support Adobe Flash player. Pieter made such great progress that Google hired him full time and formed a team to work on the project. Swiffy was born! what an awesomely productive intern! now that's a way to secure yourself a full-tim…

That probably should say: "joined the mobile advertising team to explore how we could display Flash advertisements on devices that don’t support Adobe Flash player"

Which is not really the cool HTML5 future anyone is looking for.

Re: Swiffy: convert SWF files to HTML5

#36
post #18
post #8

> Which browsers support Swiffy output? > Swiffy uses SVG features that are currently only supported by Webkit-based browsers such as Safari (on desktop and mobile) and Chrome. That's not the HTML5 future I wanted :( In Opera it fails due to JS errors that don't look SVG-specific. It's a shame, because Opera's SVG support is a bit more complete than WebKit's: http://www.codedread.com/svg-support.php (sadly the Swiffy…

I don't think this is indicative of the future of HTML5 and I'm not so sure there will be a reason to use these SWF->HTML5 converters other than maybe a head start on re-developing your application. Have you tried converting a PDF to word? Converters for proprietary technologies haven't proven to be very effective.

The problem with both converting SWF and PDF into more 'open' formats is not that they're proprietary (SWF specs are freely available no anyone; not sure about PDF) but that they're final formats. PDFs, for example, retain information about how something should be rendered, not edited; hence why blocks of text get cut when trying to convert it to anything (there's no text flow information). In the same way, images are downscaled, transparencies are flattened or rasterized, fonts are broken down... there's too much lost. A SWF is the same; it'd be better to work from original files and projects (similar to what Wallaby is trying, and maybe Hype?) to 'compile' everything to HTML5 (or whatever output format) than trying to transcode something from a format that was optimized for one specific kind of player.

Re: Swiffy: convert SWF files to HTML5

#37
post #32

Reality check: like it says, it converts a subset of Flash 8 content. It means it converts a subset of content that was made for a version of Flash that is 6 years old (Flash 8 was released in 2005; Adobe is about to release Flash Player 11). Sorry, this is not the "Flash killer" you're looking for.

Maybe I haven't been paying enough attention, but Flash circa 2011 doesn't seem all that much better than Flash circa 2005. If it gets them on iPhones, I think most people would happily take Flash 8 and possibly not even notice the downgrade.

Everything from Flash Player 9 onwards: http://en.wikipedia.org/wiki/Adobe_Flash_Player#Release_hist...

Too much stuff to mention, but the new VM especially. I personally haven't been working with AS2 (the old VM) in 3 years.

If one wants to create new content (and thus can "afford" to go back some versions) then this could be useful. Simple banners and whatnot maybe. But in that case, using many of the new HTML5 native editors is probably a better bet.

Re: Swiffy: convert SWF files to HTML5

#38
post #30
post #25

Earlier quoted context omitted.

My experience of HTML5 is that it blows Flash out of the water. Flash on Linux is (still) an absolute disaster while HTML5 is making progress every day and has long surpassed Flash in usefulness for most tasks.

I'm very skeptical. Claims like this never seem to be born out in actual benchmarks. http://pacoup.com/2011/02/03/flash-vs-html5-performance/ http://www.craftymind.com/guimark3/ The advantage of flash right now is that you can be reasonably sure that if a user has it installed, they will get a minimum set of features and performance. With HTML5, your complex app may run fine, or may not run at all, depending on the u…

Not so. I see people all the time who just get a "This content requires a newer version of Flash."

Re: Swiffy: convert SWF files to HTML5

#39
post #19

The major downside is that most webshops are and have been using Actionscript 3 for the past 5 years. Has anyone compiled any AS3 with this?

Testing some (very) old SWF of mine:

Custom font kerning is not supported. (2 occurrences)

Streaming audio is not supported. (17 occurrences)

Blend modes are not supported. (6 occurrences)

Scenes are not supported. (1 occurrences)

Filters are not supported. (426 occurrences)

Adjusting the letter spacing within dynamic text is not supported. (1 occurrences)

Advanced text rendering using continuous stroke modulation is not supported. (5 occurrences)

ActionScript 3.0 is not supported. (2 occurrences)

Re: Swiffy: convert SWF files to HTML5

#40
post #16

I tried a handful of random SWF files from my dropbox and none of them worked. Several were due to AS 3.0, which isn't supported but even simplest animation said "The #initclip pragma is not supported.".

#initclip is an internal syntax used normally when using AS2 classes (it was auto-generated, although you could use it manually too), as it forced code to run before the normal execution cycle.
Post reply on HN