4 ms·
Flash was much better than Electron. The Macromedia Flash run-time was modest in size. Originally it was under 1MB. It wasn't intended as a container system for
by Animats 10y ago
Flash was much better than Electron. The Macromedia Flash run-time was modest in size. Originally it was under 1MB. It wasn't intended as a container system for video; it just had the ability to use video as an animation object. It had a good approach for displaying animations, and could start playing well before the entire file was loaded. Electron is bloatware by comparison, and it's mostly a kluge on top of the DOM.
Here's a good Flash animation. Fits in 1.9MB.[1] Enjoy. Flash had excellent authoring tools aimed at animators. Try doing that in Electron. Electron is from people who are still stuck at the command line and try to do graphics by writing code.
[1] http://vitenka.com/users/ChanCats/penelope_pitstop_gt.swf http://vitenka.com/users/ChanCats/penelope_pitstop_gt.swf
- icebraining 10y agoFlash had excellent authoring tools aimed at animators. Try doing that in Electron. Electron is from people who are still stuck at the command line and try to do graphics by writing code. Flash is now called Animate and can export to HTML5. Why couldn't one use that in Electron?
- StavrosK 10y agoThe GP's point was that the tooling for animating was top-notch in Flash, whereas it's nonexistent in Electron.
- icebraining 10y agoI understood that point. Did you understand mine? The very same tool that made Flash animations is now Electron compatible. How can it be nonexistent?
- Animats 10y agoAdobe Animate doesn't use Electron. It generates code which uses its own Javascript runtime. Here's the runtime.[1] Adobe documents the format, and you can write to it directly. [1] http://www.adobe.com/devnet-docs/edgeanimate/api/current/index.html http://www.adobe.com/devnet-docs/edgeanimate/api/current/ind...
- icebraining 10y agoI'm not saying Animate uses Electron, I'm saying it's Electron-compatible, in that you can take an animation generated by Animate and include it directly into an Electron project.
- Animats 10y agoYou can put anything that will run in a browser inside other HTML. WebGL, Animate, and older formats such as Flash, Silverlight, Shockwave, QuickTime, and Java applets are often framed like that. That doesn't mean it's compatible. There's a long history of these boxed formats.
- derefr 10y agoThe parent's point was that, if you think the Flash authoring experience was better than the Electron app authoring experience, then why not use Animate to author (most of) your Electron app code?
- Animats 10y agoIf you're using Animate, why do you need Electron?
- Vanit 10y agogoal posts fly overhead
- StavrosK 10y agoThe original post was comparing Flash's authoring experience to Electron's authoring experience. The fact that you can use the former in the latter wasn't relevant. It was about what would happen to animation if Flash were to go away versus it Electron were to go away.
- johnfn 10y ago> Flash had excellent authoring tools aimed at animators. Electron has excellent authoring tools aimed at web developers. Namely, the ones they are already using. That's kinda the whole point. :) I don't disagree with you. The Flash authoring tools WERE amazing. When I'm feeling in a trolling mood, I tell people that Flash is still ahead of JS and HTML5. Not only was the IDE incredible, but AS3 was literally a typed version of JavaScript with XML liberals. That's right, it had the best from JavaScript, TypeScript and JSX, 10 years before any of that existed in the front end web development toolkit. And you guys hate on Flash! :)
- coldtea 10y ago>Electron has excellent authoring tools aimed at web developers. Namely, the ones they are already using. You must have a very different definition of excellence if you believe that the current web authoring tools (whatever IDE or editor + plugins people use) are in any way close to "excellent".
- derefr 10y agoWhat would you expect web development to be like? I mean, holding static the requirements that the resultant DOM has to: 1. reflow when resized (unlike a PDF); 2. work with screen-readers (unlike naive custom rendering engines in games et al); 3. work with accessibility-enabling UA stylesheets (unlike native UI toolkits); 4. be printable without a separately-authored for-print version; 5. if stateful, uses idiomatic HTTP request/response cycles that enable network-level HTTP caching; 5. if a web-app, talks to a simple mostly-stateless HTTP API that can also be consumed unchanged by API client libraries. There is a reason that Dreamweaver and Publisher are separate apps; and there is a reason Rails/Phoenix/etc. don't support server-side stateful controls like Seaside or the IBM 3270 terminal protocol do. The web is its own thing, and as long as the web is the thing we're targeting, the authoring tools we have are likely about as good as we're gonna get. (Unless, that is, you can teach your devs to think in terms of distributed actor systems, where all your Javascript code assumes any actor could be remote like in an Erlang system. Then we could have our UI builders and transparently server-ize them too. But would anyone put up with it?)
- blub 10y agoFlash was pretty nice, but it suffered from a few big issues: * it was closed source, and the tools were not at all cheap. * their VM was a security nightmare. * it allowed wanna-be developers to unleash all sorts of abominations on unsuspecting web users. e.g: ads, animations, 10 MB web sites, auto-playing videos, etc. Luckily for us, JS has solved all thr... I mean tw... I mean the first problem.
- Doctor_Fegg 10y agoFlex SDK was free.