FLASH DETECTING