To be fair, flash was garbage proprietary tech fully under control of fucking Adobe. All the shit people hate about JavaScript now, the spying, the adtech, was done in flash first.
Well, it used to be a brilliant innovation by Macromedia.
Then like all things bought by Adobe… it became complete shit.