I will add a comment to PaulS's remarks. Some of the gases produced by the powder are not completly oxidized. Since they are superheated, they ignite on contact with the air. How much of the flash is due to this effect and how much is due to the gases simply being superheated is a mtter of conjecture, but it's probably a large factor in why some powders seem to produce more flash than others.