how long has this been an issue?
are we talking flasing lights or a bright light that is constant / different colors?
is there any new floater in the eye?
any headache after these? your age?
I see patients with similar symptoms quite often. Folks often describe a bright or colorful pattern (sometimes wavy or zigzag in nature) and it can be in one eye and moves to the other, sometimes affecting the central vision. Sometimes there is a headache following this as well. This is called an ophthalmic migraine. The names can be confusing. Think of it this way:
only the visual symptoms - no headache = ophthalmic migraine (also known as ocular migraine).
headache with an aura is called a classic migraine (headache with some peculiar visual warning / episode prior to headache)
Migraines are common and typically require no treatment, except for more rest, less stress, etc. Sometimes caffeine can help shorten the episode. The only thing is that I am not 100% convinced this is not a retinal problem, especially since you may have a new floater also, as such I recommend you getting in with your eye doc and having your eyes dilated, checking for retinal problems. I hope this helps answer your question, if not, just let me know, Regards