Can you show any Flash games making heaps of money? I have games of my own on both Kongregate and Armor Games from late last decade / early this decade, the business models behind that type of flash game (which was mostly licensing and ads) has almost entire disappeared and not been replaced.
Edit: Also, I believe Kongregate has a whole ton of games with In-App Purchases. I don't have any experience publishing on there but I do have experience on Facebook.
While it has declined, it is still almost a billion dollar industry on its own just on Facebook. You asked for "examples of games making heaps of money" and I included links to a bunch of them.