Ask HN: Are there things that Flash did that we still can’t do with today’s web?
But maybe web technologies have advanced recently so that that’s no longer the case.
But maybe web technologies have advanced recently so that that’s no longer the case.
[+] [-] irrational|3 years ago|reply
I used to work with a group that created training materials using Flash. We had a bunch of animators that knew nothing about coding, but they could produce all of these amazing animated videos using Flash.
They could also produce interactive animations. One job we did was creating 3d renderings of printers. The printers could be torn down in the flash app to the smallest screw. A technician could choose what they wanted to do to the printer, and the flash movie would show them step by step in full animation what to do. At any time they could rotate the printer in all an axes to view different angles. It was amazing. And it was animators who knew nothing about code that built it all. The things they could do you just don’t see anymore.
I remember another project we worked on that had these mini games you could play in place of being multiple choice quizzes.
All of that is just gone. There was so much animation and interaction and fun that has been replaced with boring, text, images, and videos.
The best part was, it was all vectors, so the file sizes for even long animated movies was incredibly small. Back in those days we had very low bandwidth, but flash worked great. We had retailers in Asia that consumed our content no problem. Now our content is mostly text, images and videos. Those same retailers have higher bandwidth, but really struggle because the files sizes are enormous compared to flash.
[+] [-] bartread|3 years ago|reply
The big problem is it was proprietary and the cost of entry was high at a time when I was short of cash for quite a few years.
Still, I wish I'd invested in learning it back in the day, as I really only came to appreciate its benefits after its fate was effectively sealed by Steve Jobs: could have made some good money whilst having some good fun doing it for 8 or 10 years up to around 2010.
(Of course, I would have had to deal with the consequence of my skillset being obsoleted seemingly overnight, but I got kind of a taste of that from the Microsoft ecosystem as well: it's WinForms, no, it's WPF, no it's Silverlight, no, etc...)
[+] [-] hackshack|3 years ago|reply
Re-reading Apple’s “Thoughts on Flash” tonight, I was surprised at how many times Apple mentioned vendor lock-in. JavaScript is definitely here to stay. Ten years later, though, I wonder if we have ended up in nearly the same place we strived to avoid - high power consumption - but with worse authoring tools. But with at least open standards, which are good.
I figure the magic moment will occur when some tiny startup builds friendly authoring tools on top of a tight runtime à la Decker. Like HyperCard/Director/Flash it’ll only get you 66% there, but that will be enough for many folks. Hackers. Hobbyists. Students. Tiny companies, and guerrilla departments.
The challenges will be preventing feature-itis, keeping it embeddable / avoiding JS library dependencies, and making it at least free-as-in-beer with an open format. I know there’s space for such a thing. My money’s on some lean 5-person startup with strong opinions.
Decker: https://beyondloom.com/decker/index.html
[+] [-] dspillett|3 years ago|reply
This might be partially a fashion thing: people want the flashy interactions less. I for one appreciate some boring text with minimal animation! Also away from games where animated interaction is part of the point, designing a good animation that works better than text+images is often not as easy as many think, and you need to contend with that before you attempt to implement the design.
As there are less people wanting to make the animations the tools that would have replaced the tooling for flash (but outputting SVG+JS instead), of which there were a fair few in active development at one point, have languished unloved and incomplete – so not only do fewer people want to make such animations but those that do want to don't have easy tooling to do so.
There are a couple of e-learning sites out there using interactive animations to illustrate their points, one often has sponsor spots on a couple of podcasts & video series I follow though I forget its name ATM. I wonder what tooling they use, if any (though I doubt it is all manually coded).
[+] [-] jen729w|3 years ago|reply
[+] [-] Springtime|3 years ago|reply
It's a pity SVG animation authoring tools never eventuated since it's an underutilized but useful native format. Though I know Blender allows for SMIL export via its Freestyle feature (the animation is effectively frame-by-frame only though, not leveraging SMIL's path interpolation/morph ability).
[1] (ignore the GIF-converted examples, the originals are lightweight and vector-based) https://airbnb.io/lottie/
[+] [-] resoluteteeth|3 years ago|reply
Doesn't the animation tool still exist just not under the name "flash"?
My understanding is that the free browser plugin to view the animations that got killed, but the the actual animation software that was used to produce them got bought by adobe and is still widely used to produce animations, it just doesn't have the option to produce swf files anymore (and even during the flash plugin era it was also being used to produce animations for tv, etc.).
[+] [-] skytreader|3 years ago|reply
Around the latter half of the 00s, I had a Windows XP machine with 256MB of RAM and a Pentium 4 processor, with a matching spinning metal-disk hard drive. I could make decent Flash animations and games with it. I could view entire websites in Flash with Internet Explorer 8.
Today, my personal machine is a laptop I bought from 2016. Core i7 (4 cores), AMD graphics card, 16GB of RAM. It's not top-of-the-line even when I bought it but I put in ~200 hours of The Witcher 3 in it, finishing the main quest and the two paid DLCs. That said, modern web dev is a PITA in this mostly because I'm too cheap to upgrade to an SSD. Oh, also, the GitHub homepage that showed live commits on the globe makes the fans scream with Chrome unless I enable hardware acceleration. (In fairness that's enabled by default, but it so happened I had to turn it off and forgot to turn it back on.)
I still can't figure out why my personal machine can't provide a decent feedback loop on a React/Angular+Typescript stack (that's not even doing animations!) just because I don't have an SSD. In my very opinionated opinion, only a database server needs an SSD.
A Phaser+Typescript project (my preferred modern web gaming stack) is just a slightly better experience than React. But, again, I wonder why it needs hardware acceleration at all to function well and I've only implemented very "static" boardgames so far. Maybe I'm just a sloppy programmer but I'm definitely better than when I was making stuff in Flash. This shouldn't be eating that much resources, right?
[+] [-] ChrisRR|3 years ago|reply
How is it that physicists and engineers are pushing the limits of physics to bring us ever faster processors and we still can't smoothly scroll a webpage, where as I can design an embedded product with a GUI on a 40MHz CPU
[+] [-] paganel|3 years ago|reply
Glad that you pointed that out.
Around 2002-2003 I was working an office night-shift, in front of a computer that was in no way the fastest even by those times' standards. But, even so, I was able to follow almost every at-bat in the MLB, live, through their Flash app (while I was doing my regular work in another browser tab). And it wasn't only showing stuff like Batter X hit a 1B, it showed you the exact location and the speed of the incoming pitch, where the ball landed (more or less), what was the out-field formation of the pitching side etc. Really cool stuff given the limited processing resources.
I'd say a HTML+JS solution (which, obviously, wasn't even possible back then for that kind of stuff) would require at least an order of magnitude more resources on the client side.
[+] [-] teh_klev|3 years ago|reply
Where did you acquire that (somewhat flawed) opinion?
I've been using SSD's since ~2009 and those early devices were transformational even on already elderly equipment. You can pick up a modern 1TB SSD with a SATA interface for ~GBP77.00. A price well worth paying for the increase in productivity and quality of life not waiting for spinning rust disks to do their thing.
[+] [-] nicoburns|3 years ago|reply
Wow, that is cheap. We’re talking, what, $40? Basically everything these days assumes fast random disk IO, and will be slow if you don’t have it. If you’ve upgraded your computer at all in the last 10 years then you probably have been better off keeping the old one and getting an SSD.
[+] [-] warrenm|3 years ago|reply
- https://danluu.com/keyboard-latency/
- https://danluu.com/term-latency/
- https://danluu.com/input-lag/
[+] [-] speedgoose|3 years ago|reply
[+] [-] captainmuon|3 years ago|reply
In practice, I think the authoring experience has been lost. There is still Adobe Animate (which is the renamed Flash application), but I think you can not export to a fully interactive HTML application - only to static videos or simple HTML (like interactive ads). Maybe it is now possible, but I haven't seen much use of it.
The magic of Flash started with a very nice vector editor - it even allowed you to "paint" Vectors with a brush. Then you had very intuitive tools for animations (tweening, onion shells). You could add simple interaction from the GUI. But it was easy to run custom ActionScript (basically JS) code on events, and move objects around on the screen. When you needed more control, you could also completely go to the ActionScript level and create your objects from code.
Nowadays, what do you use to create animations? After Effects seems what a lot of people use but it is overkill. Animate seems to be barely maintained. And if you want to do a game? I think Unity & co. have taken over, but they lack a bit the low barrier to entry that Flash had.
[+] [-] josefx|3 years ago|reply
I love how turing complete gets thrown around every time. Can a turing machine by itself run a voice chat, print documents, display images, stream videos? If I emulated a turing machine on a 1 Hz CPU would it be capable of decoding a 4k video stream in acceptable time?
[+] [-] billpg|3 years ago|reply
[+] [-] Dylan16807|3 years ago|reply
The question is what you can do, not what can you write a function to calculate.
[+] [-] hutzlibu|3 years ago|reply
You can, with the help of integrated EaselJS. But it is way more complicated, so I also never used it and I don't know if anyone is using it at all.
And yes, the ease of flash is gone. This was the most appealing of it.
[+] [-] wodenokoto|3 years ago|reply
[+] [-] MengerSponge|3 years ago|reply
I'm old enough that HSR is still part of my lexicon. Kids just think I'm weird, which is fine.
[+] [-] krapp|3 years ago|reply
Also the fact that the new whatever would be either Youtube or Twitter. Or Tiktok. Or something most people here have never even heard of.
[+] [-] lucumo|3 years ago|reply
I think that niche is now filled by the app stores. A lot of little games can be installed on your phone.
The monetization of those games has made them less fun, in my opinion, but that's more on the evolution of game makers, and not really on the development technology.
[+] [-] swilliamsio|3 years ago|reply
[+] [-] KaiserPro|3 years ago|reply
Allow artists to create simple animation quickly.
run fast.
The key selling point of flash was that it was an author once, run anywhere tool. I could use keyframe animation along with a simple scripting language to make almost anything. Not only that it was fast to build and deploy.
Nothing I've seen recently allows an artist to do the same. I've tried a couple of times over the years to make an animated SVG on the web, and all of them required me to program keyframes using code, which sucked. Not only that its dogshit slow. animating <5 low complexity shapes would eat 50% of CPU, (think squares and circles).
Worse still all of those libraries are deprecated now, so if I want to do it again, I'll need to start again from scratch and select a new animation library.
[+] [-] manscrober|3 years ago|reply
This is why I stopped being interested in modern web anymore. Everything is deprecated at unbelievable pace, you can't keep track of it unless you work full time in the field. If it was all for great efficiency and performance, I'd get it, but it seems to just follow the newest fad every 2 years. Maybe with wasm that could change, but I'll believe it when I see it.
[+] [-] yreg|3 years ago|reply
Provided you have Flash player installed. Doesn't the same apply to web technologies provided you have the same browser installed?
[+] [-] the_only_law|3 years ago|reply
[+] [-] fxtentacle|3 years ago|reply
Every game using Unity/Unreal + WASM needs to download 10-20 MB of JavaScript before it even starts loading the actual assets. With Flash, that could have been a 10 KB SWF instead.
Similarly, Flash had really fluid animations that were drawn purely on the CPU. Why my 266 MHz P2 could have better vector animations than people nowadays can squeeze out of a 3070 with WebGL is beyond me.
In my opinion, we still DO NOT have any worthwhile replacement for the ease of cross-platform development combined with excellent performance that Flash had.
[+] [-] hlandau|3 years ago|reply
I mean I guess you could do something awful with base64 encoding assets into a giant HTML file, but that sounds horrible.
Flash was also a platform for hosting bandwidth-efficient animation and people have just gone to using video now. That sacrifices incidental, easter egg-type interactivity and drives people to centralised services like YouTube.
[+] [-] zozbot234|3 years ago|reply
[+] [-] pengaru|3 years ago|reply
[+] [-] trilbyglens|3 years ago|reply
It might have been more "creative" but that was also due to the fact that it was around at the beginning of the web, when everything was more creative. People had not figured out UI or UX patterns yet at that point, and there was massive wheel reinvention taking place all the time.
Flash was an absolute catastrophe for accessibility at well. A screen reader would just say "Flash movie" as that's all that was actually in the page.
We've had to reinvent a lot of that stuff, true, but we've also gained interoperability, security, and accessibility. I think those are all worthy trade-offs.
[+] [-] CJefferson|3 years ago|reply
What is the modern replacement for my nephews now? There might be one but I haven't seen it.
[+] [-] noduerme|3 years ago|reply
[+] [-] ChrisRR|3 years ago|reply
[+] [-] planede|3 years ago|reply
Later flash versions regressed in performance and can't run this game without stutter in my experience. A way to play the original game today is to get an old version of "Adobe flash player projector". If you are paranoid, use some OS level sandbox around it.
I did not see an in-browser game since the original N game that matches its low system requirements and smooth gameplay.
[1] https://www.thewayoftheninja.org/n_history.html
BTW, the successor N v2 is also pretty good, and it's not flash-based, AFAIK.
[+] [-] rendall|3 years ago|reply
While it is possible in modern browsers to make a) cross-platform, front-end web applications with b) smooth vector and c) bitmap animation incorporating d) multimedia sound and e) video driven by f) a backend API (called dynamic data back then), it is not nearly as prevalent as it was. Animations and multi-media objects were first-class citizens in Flash in a way they are not in browsers.
I do think that's not entirely the browser makers fault. Web aesthetics have changed. Users liked swooping and diving logos with dramatic drop-shadows then, and not so much now.
[+] [-] rob74|3 years ago|reply
[+] [-] est|3 years ago|reply
Playing smooth vector animations on a single-core Pentium III computer with 64MB RAM.
[+] [-] fimdomeio|3 years ago|reply
[+] [-] seydor|3 years ago|reply
[+] [-] jhoelzel|3 years ago|reply
If adobe would have not been the way they were, they would now dominate the animation scene too.
Instead, inadvertetly because of patents, we dont have anything cool to show for.
All this minimalism everywhere is disgusting. And they never get it right anyway because you have to put hightower ads everywhere you can.
While it still was macromedia calling the shots, people had trust in flash
[+] [-] drewcoo|3 years ago|reply
And I thought it was Steve Jobs' wielding of monopoly power in the name of "taste." Or was it "security?" Or the fact that Apple couldn't keep Flash from crashing Macs?
[+] [-] ciroduran|3 years ago|reply
Even if web standards have caught up with what Adobe Flash used to do a full decade ago, writing games for the browser became a lot more difficult to do.
Barring Adobe killing Flash by disappearing it from the internet, I can run anything I wrote in 2004 on Flash Player in 2022. This level of compatibility is only surpassed by Windows programs. In today's web, I not only need to be careful of supporting 3 major browser vendors, but also support any breaking changes that any of these make, which means I might need to recompile my project long after I have archived it.
The closest thing that has allowed me to make stuff easily for a web browser is PICO-8. A fantasy console, with very limited resolution and capabilities, but all its dev tools integrated, that allows you to quickly export to HTML5 and optionally upload it to its BBS (the website). PICO-8 has made amateur gamedev fun for me again.
[+] [-] yawnxyz|3 years ago|reply
I have no idea how to go about recreating my projects today in JS at all...
[+] [-] noduerme|3 years ago|reply
[+] [-] thom|3 years ago|reply
As others have said, it’s mostly tooling and workflow. As much as I’d like to sneer at Flash in general, my experience with it on projects was positive. The IDEs and tools were good, you could approach everything code first with unit tests. The process of cutting up PhotoShop PSDs from a designer and building UIs in FlashBuilder, while orchestrating everything in code in an MVC style was very pleasant.
[+] [-] ajsnigrutin|3 years ago|reply
I know that they can be remade with other technologies, but except for some clones remade to be a pay-to-win mobile apps, a lot of those games are just gone now.
[+] [-] onion2k|3 years ago|reply