That was just shonky code, nothing to do with flash itself.
I remember the time when pc fans hearable meant 95% that i opened a web page with a flash component by mistake...
Humanity has proven it can't handle anything else than static pages. Then the developers themselves have to pay for their bloat rather than the users.