FlashDevelop is a great tool for building Flash (and AIR) based games without spending a dime. It uses the free Flash SDK so you can create Flash games without the need for Adobe's Flash/Creative Cloud software (as long as you don't mind doing all your art in another program).