3 ms·
There's going to be a lot of content like flash games that will not be ported to HTML. For these, wouldn't it make sense to run them in a locked-down VM, using
by joosters 9y ago
There's going to be a lot of content like flash games that will not be ported to HTML. For these, wouldn't it make sense to run them in a locked-down VM, using the last flash version, rather than re-implementing Flash from scratch?
- nine_k 9y agoWhile it's certainly possible, it's not always convenient, especially when you want integration with other pages, etc. Think about software for schools, for instance.
- demurgos 9y agoAn interesting solution could be to work at the SWF level instead of the Player level. Instead of rewriting, porting or locking down the Player, could it be possible to automatically translate SWF files to another format? I am fairly certain that there was some work about this but I'm not sure if anything succeeded. Regarding the ActionScript part, a plausible solution would be to target Haxe with the OpenFl library. OpenFl is a Haxe library exposing the same API as Flash so you can use it to compile projects to the targets supported by Haxe (JS, C++, ...). Some advanced AS code could be tricky to translate, but using untyped sections and restricting it to JS it could maybe be possible?
- joosters 9y agoI remember hearing about some attempts to do this, I thought they had got fairly advanced. A quick search brings up a project called Smokescreen, which could play some flash. However, the project's website no longer exists. There's a github project - https://github.com/cesmoak/smokescreen https://github.com/cesmoak/smokescreen but the last commit was in 2011.
- demurgos 9y agoThanks for the link, it's definitely interesting. Unfortunately it seems that most of the open source Flash projects died out around 2011-2012. What I had in mind was more about converting the programs (SWF files) instead of fixing the VM. I know that there were some open source VMs, but were there some successful attempts at converting SWF files to a different format?
- toxican 9y agoI've seen a few solutions to Flash's death pop up yesterday and today..all dead github projects. My hope is that the official announcement from Adobe will reinvigorate those developers or inspire new ones to pick up the mantle on continue on.
- simion314 9y agoYou need the entire Flash Player APIs implemented, graphics, audio, video , just translating the bytecode from the swf won't be enough, I think is similar to Java , it is useless if you can compile or run Java code if you do not have the entire base/core libraries converted and the ability to load any third party libraries.
- VLM 9y agoThat's what I do with vmware, the most recent vsphere 6.5 can only be controlled via a flash interface (the html5 ui is missing far, far too many features to be used...) so you can make a windows image that's very strongly firewalled (like, say, the only ipv4 dest address for tcp syn packets allowed is the vcenter server...) and that works well. Because it would be hilarious to need to access the system to bring up the system but the image can't run because the system's not up, keep a copy of the image laying around ready for any desktop running vmware workstation. I also keep a vcenter laying around for desktop use which has occasionally come in handy. In the free software world someone would provide a virtualization appliance ready to run, but there are too many copyrights and lawyers involved. There's probably an illegal torrent out there somewhere, I suppose if you really trust your firewall it couldn't be that bad. vmware is the last "serious" "general purpose" thing I'm aware of that requires flash.
- deleted 9y ago[deleted]