exhibitionism -
The practice or character trait of deliberately displaying one's genitals, nipples, or buttocks in public.
Wikipedia
Exhibitionism, colloquially referred to flashing, is behavior by a person that involves the exposure of private parts of their body to another person in a situation when they would not normally be exposed, with a tendency toward an extravagant. The act may be at least partially sexual or intended to attract the attention of another or others, or to shock. Some people have a psychological compulsion to sexually expose themselves.
OmegaWiki Dictionary
Ω
exhibitionism A disorder characterized esp. by a compulsion to exhibit the genitals in public.