The Origin of Phrases site provides a fab and comprehensive explanation of commonly used phrases and their origins.
‘Flash in the Pan: Something that shows great promise, then disappoints by being over too quickly.
Origin: Flintlock muskets have small pans to hold the gunpowder fuse. Sometimes the gunpowder in the pan would flare up without firing the gun. That would be a “flash in the pan”.