I have seen light flashes and spots when looking at light. Ideas?

Eye problem. Most likely this is due a problem primarily affecting the eye. Optic neuritis, which is inflammation of the optic nerve, may result in similar symptoms. Best advice: see ophthalmologist.