If it's one of those lights that can be turned on, off, and reset by flipping the light switch off, waiting the proper amount of time, and flipping it back on, these things are prone to react to anything else on the circuit.

I don't know a fix other than to pick a different style of floodlight.