Pellets...
I use a product called Woody Pet. It's from Canada, and I've used it for 10 years. I started using it in the stable I managed in MA, because we had such a fly issue. Worked wonders!
Woody pet is a pellet, it contains a deodorant that flies hate...no flies in your stall, and no amonia...