Flash also allowed you to drag controls onto a canvas and double-click them to write code — for the web. It's this modern misguided effort to turn glorified word processors into operating systems that ruined it, together with Adobe killing Flash.
Adobe also did its part. They could've open-sourced Flash Player instead of acting how they did. Thankfully, Ruffle is a thing and is improving compatibility rapidly. Runs on iPhones too.