Meaning: usually someone whose popularity will be or was short lived, but it could be something that is very popular and suddenly isn't any more
Example: Tiny Tim was a singer (see Wikepedia) who was a flash in the pan. He was very popular for a very short period of time and then his career quickly faded..
See this Idiom in a story: The Gingerbread Man