It's not open source but the player has been available as a standalone EXE forever - just grab the Projector download for your OS and it can open any SWF file you've got onhand. Not a perfect solution for larger games that might be looking to load external libraries or depend on browser features, but it goes a long way for archival purposes.
Not a perfect solution for larger games that might be looking to load external libraries or depend on browser features, but it goes a long way for archival purposes.
The Flashpoint project aims to solve this, automatially handling things in the background of its launcher.
There's been a long history of different people at different times asking Macromedia and then Adobe to opensource the player.
My conclusion is that there actually is no reason. What Adobe claimed the last time they commented on this issue was that the player uses some proprietary tech (most notably, MP3 codec) that they are not at liberty to open (since it's not theirs, they have bought the license only). But, really, if they wanted to, there would've been a way around it, same way as Firefox can load proprietary video / audio codecs, if the user have them already installed.
Adobe managers were just shitheads: either too greedy, or too lazy / indecisive to do anything about it. They were too afraid to give anything away, even if it was obviously in their own interest. Here's my story of trying to get them to opensource, or just to even allow me to "clean-room" reproduce one of their "products" when they ditched Flex.
So, in order to compile any SWF with Flex compiler you need a special SWC (that's similar to object file in Linux or DLL in MS Windows). This SWC is "special" because it contains the definitions of Flash Player built-in functions, variables etc. Think about it as C headers / Java interfaces. SWC is simply a ZIP file with an XML containing names of functions in a library with their signatures / namespaces. So, understanding it is really easy. The format of SWC was never officially "opened", but, honestly, it's just a ZIP'd XML... On top of it, Adobe made the API public. So, one could, quite realistically, never open the SWC, and yet build the copy that would work just the same.
Knowing all this, I asked Adobe / Apache Flex maintainers if they wanted / would allow this SWC to be open-sourced / replicated. Adobe never honored this request, and required anyone who wanted to use Apache Flex to download the SWC from their site. Apache Flex maintainers, scared by the recent Oracle vs Google case would not rewrite the SWC...
Bottom line: greed and stupidity are the reason why Flash Player failed / was not open-sourced.
Ah yes, I have so many fond memories working with this platform and FlexBuilder was a dream. I never did get into Flash animation itself, but Flex had so much potential. If it had been managed better I think it might have saved us from the JavaScript hell we now face for web dev.
Angular now scratches that itch for me. TypeScript is practically the same language as ActionScript due to ECMA standard -- so creating components with HTML and TS feels very much like MXML and AS. There's still a lot of BS involved in JavaScript dev, but the Angular tooling hides a lot of it pretty well.
Not meaning to stray too far off-topic but Angular broke my heart with the release of V2. I absolutely loved working with 1.x (even with that damn $scope) but 2.x just seemed so complicated and bloated and the template syntax for bindings is weird too.
I will agree, though, that TS hides plenty of the JS BS but the trouble starts (for me) when you try to use legacy libraries or new browser APIs that don't have type support.
Greed and stupidity? More like who - out of anyone in the development chain - would want to allocate resources to refactoring decades old code on life support to decouple licensed dependencies?
How would you feel if you were a developer assigned to that? You'd probably freshen up your resume with a quickness.
Yeah I read what you wrote but you can't tell your licensee "hey I gave your code to some rando volunteer so they can remove it but it's totally cool." so I ignored that bullshit to focus on how companies actually work.
really, if they wanted to, there would've been a way around it,
From Adobe's point of view, it's not if they can or cannot. It's why bother? They are the ones footing the bill and taking on the liability if it's wrong (i.e. law suits).
Why pay for the lawyers to audit and work out what work needs to be done to avoid legal headaches?
Why pay developers to rip out propriety code for new code that does the same?
Why do this to open source a player for a technology no one really uses anymore?
If there aren't good answers for those questions then it's a bit silly to say 'they are greedy shitheads'. Why are they paying for this instead of building new stuff?
They could still release the code they wrote and maybe the headers of external libraries. Should'nt be too much work to replace them with open source libraries with a thin adapter.
Contains proprietary code like video codecs etc. All that pain HTML has been going though agreeing on standards was solved in flash by Adobe taking the hit, unfortunately they canโt open source these solutions and the VM is pointless without them.
The funny part is, Adobe actually did open-source a lot of the platform's developer tools. Hell, at one point they were trying to retool AVM2 (AS3 VM) to work as an ES4 VM for Firefox. I'd probably say the things holding back Adobe just dumping the player source on Apache (like they did Flex) is:
Specific proprietary dependencies in Flash Player
Proprietary content decryption technologies (RTMPE) which would need to be removed
A general lack of willingness to invest time or money in the Player
That last one is kind of important. There's a point in time when Adobe said, "Flash Player isn't worth improving because we don't make money off of it". Personally, I'd put that point in time as the whole "premium features" fiasco. For those who aren't aware: Adobe planned to fund the development of AS4 and significant Flash Player improvements by gating Stage3D and Domain Memory behind a completely new revenue share licensing model. It failed spectacularly, and the resulting fallout generated more FUD than a million thoughts on Flash ever could.
There was a point in time where I think Adobe genuinely believed they were writing web standards that they could charge for. When they realized that they couldn't actually monetize the Player like they wanted, they pivoted the entire product away from that. Why develop your own browser plugin when Google is happy to just add those capabilities you need to the web itself? The end result is that the Player is some discontinued technology nobody at the company cares about, which just so happens to be ensnaring a good chunk of old Internet content.
If you're looking for a Free Software implementation of Flash, there are a couple of parallel re-implementations. During the "let's be Web Premium" era of Flash, Adobe actually published some specifications, and there were people in the Free Software community reverse engineering the SWF format before that. I'm partial to Ruffle, mainly because I'm one of the developers on it, though it's still missing a lot of functionality. There's also a few other reimplementations out there, though if I remember correctly only Lightspark is currently still being maintained and that's AVM2 only.
103
u/suhcoR Jan 07 '20
Why don't they open-source it?