Alleged flasher held in contempt for interrupting judge