Seeing spots on and off is not a problem.
But if persistent , it needs to be addressed. Since you say there is worsening of eye sight too, I would suggest you to undergo a detailed evaluation- that includes assessment of refractory errors, intra ocular pressure and an ophthalmoscopy
If all these things were done and normal- then you need not worry.
Does she get headache too? Migraine
may present with visual auras and usually runs in families.
The lump behind her ears might be a lymph
node which can get enlarged due to infections/ infestations in the scalp
, external ear etc.
Hope my answer helps you.
Wish your daughter good health.