This is a description of the ?ashing lights which are a not uncommon AURA preceding an attack of MIGRAINE.
n. the sensation of flashes of light caused by mechanical stimulation of the retina of the eye, usually due to traction by the attached vitreous humour when the eye is moved.