Did it flash while your eyeballs were perfectly still, or were your eyeballs moving sharply either up/down or side to side? I think it could possibly be a closed-eye hallucination.