Giter Club home page Giter Club logo

Comments (19)

Djfe avatar Djfe commented on May 2, 2024 1

obviously we want the Flash and swf (Shockwave) spec, so everything can survive ;) (as said above)

from open-source-flash.

ajwfrost avatar ajwfrost commented on May 2, 2024 1

I'm slightly confused by this request, "we want the Flash .. spec" - but you have this already. Adobe published the spec years ago, and more recently they changed the licensing of the spec so that it's free for people to use even to create an alternative to their Flash Player (e.g. gnash use it). As well as the SWF spec, there's an "AVM2 Overview" which describes the ActionScript virtual machine and the bytecode format. The virtual machine itself is already open source (on github) and there are Flash Player downloads/archives already on Adobe's website.

So what is the request here? If you want to be able to play Flash-based games beyond 2020 then you just need to keep a machine around that doesn't update the browser, there's no "kill switch" in Flash that will stop your previously downloaded version from working. If you want the SWF spec so that people could theoretically create an alternative flash player in the future, then it's there and the avmplus project gives you a great starting point. Even the Flash/AIR APIs are provided in the "playerglobal.swc" and "airglobal.swc" files that come with the freely downloadable AIR SDKs, so I think Adobe already provide everything that anyone would need if they wanted to create an alternative flash player.

Also it's worth checking out their (open source) "SWF Investigator" tool which reads in a SWF file and shows you the tags and all their detail, plus there are a lot of other commercial SWF decompilers.
Finally - there's mention of converters for ActionScript or for SWF files; I put together a converter a while back that took a SWF and converted the ActionScript 3 bytecode from it into C++ that then could be built along with a separate framework into a Windows Phone application. It was very incomplete of course but the concept is sound, so all this is already possible with just the information that's already in the public domain..

I'd be genuinely interested to find out what the goals are here, what do people actually want, to see if it's not something that they could get already. My own thoughts are that, however much we might want to keep the Flash Player plug-in alive, it won't be much good when all of the browsers have removed their support for the format. So I would be more inclined to focus on conversion tools so that SWF content can be converted into something that all the browsers can view "normally"/in the future..

Thanks

from open-source-flash.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 2, 2024

yes, it can be a good idea, I think the best way would be a strong converter AS2/AS3 to whatever.
those corporation crooks will change again the whole technology in 10 years again and again, forcing
millions websites and application to reprogram everything just for survival, and they fukcing know that, they want to kill a maximum of websites, it's the part of their agenda...
Personaly I lost days and month in javascript to make it work on all browser, and frankly it's a massive pity that those guys forced everyone with their propaganda to choose the worst web development environment.
Anyhow, I really hope sane people will react to all this web crap controllers
btw, if you program a website in HTML 1, then it works everywhere today, why not flash?

from open-source-flash.

pakastin avatar pakastin commented on May 2, 2024

Good points!

from open-source-flash.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 2, 2024

pakastin, thanks to make people awake of what's happening, we are the web, and gave our life to program it, not them.

from open-source-flash.

 avatar commented on May 2, 2024

And what about for shockwave, how will we go about it? I really don't want it to die off and I know I'm not the only one.

from open-source-flash.

pakastin avatar pakastin commented on May 2, 2024

I started my web career with Flash (Flash 4 in ~1999) and I'm really nostalgic about my oldest projects I did with Flash. I fear we lose access to those.

I remember a lot of cool shockwave experiments and projects back then (not done by me) as well.

I also know that many legendary former Flash developers have talked about open sourcing Flash and making a gallery of old projects.

from open-source-flash.

pakastin avatar pakastin commented on May 2, 2024

Let's hope Adobe will give us something. Share the love in Twitter etc..
https://twitter.com/pakastin/status/892042787771879424
😉

from open-source-flash.

Djfe avatar Djfe commented on May 2, 2024

the gallery could be hosted by archive.org the way they already do it with old MS-DOS Software and games (running in HTML5)

from open-source-flash.

 avatar commented on May 2, 2024

obviously we want the Flash and swf (Shockwave) spec, so everything can survive ;) (as said above)

And for the DIR/DCR that shockwave used

from open-source-flash.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 2, 2024

agree

from open-source-flash.

demurgos avatar demurgos commented on May 2, 2024

from open-source-flash.

Djfe avatar Djfe commented on May 2, 2024

@ajwfrost I didn't even know about avmplus, so thx a lot for your reply! :)

The reason why I thought nothing was available is, because I found nothing. And the development of shumway subsided even though it's incomplete/not working for lots of game swf's I found out there.

I guess, people mostly need to invest more time into optimizing shumway then, right?
(gnash seems nice, but only runs natively, which has disadvantages (security, plattform independency)

Is the avmplus code able to interpret the newest SWF versions? (swf 10+)
Gnash says they don't support SWF 10
@demurgos has a good point here: no specification is better than the actual source code (another good (or rather bad) example is VP9)
though I guess you don't want the source code in public hands, while Flash is still a valid target for attackers.

While it could be a possibility to actually keep an old browser with the official plugin around, it's a hassle, it's not advisable for security reasons and it won't work forever, because who knows if browser x will still run on future OSes and Flash and the browsers are 32bit, which will expire as well, one day.
Virtual Machines are no possibility for DAU's and the community.

so all this is already possible with just the information that's already in the public domain

the license is MPL-2.0 not public domain, but I guess, you didn't mean that literally.

to see if it's not something that they could get already

I wonder if there were further reasons why the development of shumway stopped.
Maybe one of the dev's could speak up, if he/she reads this and tell us whether the spec/documentation of flash was too incomplete to continue.
Maybe it was too much work reverse engineering all the details to be feasible.

from open-source-flash.

ajwfrost avatar ajwfrost commented on May 2, 2024

@demurgos yes good point, there were times when they didn't update the SWF spec for a while, and there are likely to be typos etc. But it's a huge beast, I don't know whether access to the source code would help you to find the issues! The AVM2 document is slightly out of date, and doesn't include details of the 'vector' type, so yes for this I needed to look at the SWFInvestigator source to see how these are represented in ActionScript Byte Code.

@Djfe I wasn't actually aware of Shumway, have just taken a look at that. I knew about Swiffy, and of course gnash but yes they didn't pull in the avmplus engine and it didn't really get taken forwards sadly. I still think this is a decision taken as much by the browser vendors as by Adobe, and without a browser that remains capable of loading a plugin then it's going to be of limited use to have a Flash Player plugin; also bear in mind that all companies who currently use Flash on their websites are now going to be transitioning all that to HTML5 over the next couple of years, so I think the requirements to have the Flash Player will go down even further.

By "public domain" I just meant that I could see it :-) rather than looking at the actual licensing terms; MPL is fairly nice I think but the documentation is CC-non-commercial which could be a pain, and the AIR SDK license forbids you decompiling things like airglobal.swc (I think...). Anyway ...

One other consideration is that there is quite a lot of a dependency between the Flash Player and the browser. If there is a "bug" somewhere, then it's actually tricky to determine who's at fault.. and also, you'll find that Adobe sometimes worked around browser bugs in the player (rather than getting MSFT/Mozilla/Opera/etc to fix the browser), which makes things even more complicated. We've seen an error with Flash content from one Firefox tab appearing within another Firefox tab: is it Flash that's at fault here, or Firefox, or GTK..? etc.

I've not looked at Shumway too deeply but I get the impression it's just a Firefox extension rather than something that would work also in Chrome/IE/Edge/Opera/etc? Having something that can interpret/run SWF files directly within a browser would be good but all the current html is sat there with "object" or "embed" tags, so you'd need to change the browsers if you wanted to be able to suddenly handle this within JavaScript/WebAssembly. So to my mind, the much better approach is to create tools that support people in migrating their content to something that the browsers already support. (I saw a note about that on this forum, I'm not sure that Adobe really want/need to spend their own money on this though! so it would need to come from the community or from the companies who have lots of SWF files to migrate into html5....)

Interesting topics :-) Thanks!

from open-source-flash.

Djfe avatar Djfe commented on May 2, 2024

the addon is mostly so that you can run the code on embed/object tags
Shumway itself uses javascript and webgl and stuff like that, so it's browser independent

I guess, whether it will be an interpreter like shumway in the end or a compiler depends on the implementation
both could work
The compiler could have a performance advantage though but it might be more work (and more knowledge is needed)

The issue we all have, aren't companies using flash but the indie scene:
hobby programmers who wrote lots of flash games or made animations, that you can find around the net, which noone (no company) will invest money into to keep them alive.
And the devs aren't around anymore to do it.

The community probably has to do it.

browser bug workarounds are hopefully marked in the source code (or you can see them, if you have the plugin for Firefox and the one for chrome so that you can compare the plugins)

from open-source-flash.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 2, 2024

maybe create a browser in AIR with viewport/ANE integrating webkit or blink would be better,
as this we get rid of all browser dependency.... ;)
AjWfrost: "I'm not sure that Adobe really want/need to spend their own money"...
maybe, but for sure they don't care we are losing money because of their choice....
and btw, don't worry about them, they have unlimited money like all their brothers.

from open-source-flash.

pakastin avatar pakastin commented on May 2, 2024

Next question is: how long do you think Air will be updated?

from open-source-flash.

ajwfrost avatar ajwfrost commented on May 2, 2024

:-) good points above, yes it needs to come from the community and yes it's actually odd that Adobe have been investing so much efforts/money into Flash and AIR that they then give away for free (to most people, although there is still the royalty-bearing licenses for those that don't fit into the EULA terms..)

AIR is a good question. Some of the main advantages I see of AIR over Flash Player are:

  1. No dependency on the browsers. So it's just Adobe using available application development environments for the different platforms, no need to support multiple browsers on each platform, etc. This simplifies the development process of AIR itself, and makes the codebase and its maintenance a lot simpler.
  2. Security model is already different. Attack vectors are more traditional as for other natively-running applications: the user needs to install something and then run it, so it's not something you can get compromised with just by visiting a website that happens to embed a dodgy advert.
  3. Captive runtime distribution makes compatibility/maintenance less of an issue. There are bugs in the Flash Player that are left in deliberately because to fix them would cause some of the existing web content to break. But in AIR, you can fix things or change things but existing applications would go on working as they tend to be distributed along with the runtime that they were developed against.

So I think that if Adobe are willing to keep investing in this, it's got a lot longer lifetime. The "if" is an interesting question: I don't know what returns they get on their investments here, so it might be that at some point in the future, they decide it's too unprofitable to continue. At that point, whilst I doubt they will open-source it, I hope that they will make it possible for people to keep using it even if they don't develop the features any further. (In fact, if you have already downloaded an AIR SDK, then you're fine and no longer need Adobe if you wanted to keep developing and distributing AIR-based apps... so this is also a bit of a simpler situation).

from open-source-flash.

ROBERT-MCDOWELL avatar ROBERT-MCDOWELL commented on May 2, 2024

just to mention that Adobe works very closely with google and microsoft, today the developers working on CVE issues are essentially from these 2 corporations, so it means that every decision made about the technology is beyond the investment/money fact, but more about control the standards.
Today I'm still waiting to see a better technology that flash for the web, html5/javascript just cloned (even not all functions) painfully all what flash did since 10 years now.
Concerning Air, I agree that now no one can trust Adobe anymore, they can decide something very bad for the developers community and kill all the work and creations made until now. I think about game developers and complex network application projects essentially. Things could be much more simple and harmonious if they were just respecting the protocols of what every developer needs, trust a language or environment in an anachronic fashion, A language cannot be created and suppressed like a software, Or maybe the club already decided to replace javascript with another language in 10 years?

from open-source-flash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.