The vast majority of games I played, for years, were flash games. I have a lot of fond memories of that time.
However, Flash sucked. It ran terribly, it was insecure, and a mess to maintain. It needed to go.