My light has flashed when the a/c compressor has been compromised with the system on. Like if you attempt to run it without a belt the light flashes, or if you hit a large puddle of water and the belt slips, the light will flash. Only with the system on.
Possibly being low on refrigerant is something else to look at.
Good Luck
James