Flash the headlights is a slang expression meaning to expose one’s bare breasts.
The phrase is a variation of the colloquial term flash, meaning to expose an area of the body that’s normally covered up. The word headlights is typically used as a slang term for breasts, because they are round and often pale colored, like a car’s headlights.