TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Have a Flash SWF File? convert it to HTML5 with Google Swiffy

117 pointsby Concoursover 13 years ago

9 comments

robterrellover 13 years ago
If you're thinking about using this, you might also consider Gordon (<a href="https://github.com/tobeytailor/gordon" rel="nofollow">https://github.com/tobeytailor/gordon</a>) or Smokescreen (<a href="https://github.com/cesmoak/smokescreen" rel="nofollow">https://github.com/cesmoak/smokescreen</a>). Gordon's simpler -- very easy to follow code. Whereas Smokescreen, like Swiffy, offers support for audio and AS2. I integrated Gordon into my HTML5 game yesterday to render a walk cycle SWF and the framerate didn't drop. I'm going to do the same thing with Smokescreen next.
stewarsover 13 years ago
Swiffy saved the day for us recently on a project where we needed an animation to support IE7+ as well as iPad. We were able to have our designer create a flash animation and upload to swiffy to test that the conversion worked. We then used the swf as a fallback for when canvas was not available.<p>The one HUGE drawback for me with swiffy is there was no standalone compiler that we could use and integrate into the site build. So we now have this manual step of converting the files on the (hopefully still functioning) swiffy website every time a change is required to the animation.
评论 #3227780 未加载
andybakover 13 years ago
Moderately complex intro animation from an old e-learning course I did converted successfully (failed on earlier versions of this tool so obviously they've been improving things).<p>No sound, not much scripting but lots of timeline animation with masked images.<p>swf: 205kb html: 352kb<p>(not including the swiffy runtime.js)<p>Not bad considering all the images have to be base64 encoded.<p>Generated code looked... generated... But not too awful. You could probably do something with it if you needed to.<p>However - it's no worse than trying to modify a swf file. You just wouldn't unless you ran it through a decompiler first and I don't see why that wouldn't be possible here also.<p>In most cases you'd go back to the FLA file or the XML equivalent and modify that instead.
评论 #3230570 未加载
评论 #3227786 未加载
guard-of-terraover 13 years ago
Tried to recode random Масяня cartoon, it wouldn't play and would not support audio even if it would.
rickdangerous1over 13 years ago
Literally yesterday I had conversation about the coming wave of flash to HTML5 conversion tools and services. Expect to see alot of effort going into conversion automation. Yes there will always be a need for hand crafted conversion but a lot can and will be automated.
评论 #3227666 未加载
Achsharover 13 years ago
Machine generated HTML5.. hmm something in the back of my head tells me if you file isn't massive, its worth doing it yourself because it might produce bloated code. i.e it will be kind of difficult to work on that code later yourself.
SnowLprdover 13 years ago
Swiffy can't handle files input SWF files larger than 1024 MB and will display an error to that effect if you try. It might be more user-friendly if that fact were displayed on the file upload page. Just a suggestion!
评论 #3228293 未加载
j45over 13 years ago
Too bad this doesn't work in all browsers yet.
noduermeover 13 years ago
Now if they could just port playerglobal 11 to Javascript, we can run Molehill games in Canvas. Think how happy everyone will be to get that CPU-intensive Flash plugin out of their browser, when they find that now every website chews up 400% more processing power. A cynic might think they were promoting Javascript over AS3 so everyone would have to buy a round of newer, faster phones once these SVG animations start hitting the web.
评论 #3228229 未加载