Kindof, but there was a ton of work done on ActionScript 3 making it all ECMA (?) compliant and there was a heck of a lot of road left on that. It was TypeScript before there was modern Javascript. And that could have been parlayed into a different runtime, like Haxe did. Flash the runtime had many problems, but the IDE and tools behind them were mature and well-understood.