I found on my fz300 if I have HDR mode turned on there is no flash function. So I turn off HDR when I need to use flash now.
open