Upvote:10
I am pretty sure the effect you describe is due to equipment malfunction.
Cabin lights are usually dimmed during night take-off and night landing, and on long-haul flights to allow passengers to sleep comfortably. This is normal behaviour. However, flashing lights are not.