This term comes from the day of flintlock firearms. A gun was discharged using a small charge of gunpowder in the primming pan. It didn't always ignite the main charge and instead only produced a bit of smoke and a noise in the primming pan, hence the flash in the pan.
718572