Flash was an onramp to UX engineering in a way that no current tool compares to.
You would start out drawing, get tired of the repetitive parts, and learn to automate them. Eventually, you end up with an FLA file that's just an asset library and a reference to a script.
Plus, it had the most intuitive vector editor I've ever used.