To flirt with; to approach and speak to (someone), seeking romance, love, sex, etc.
To discover, pinpoint; to think up; to realize.
To flirt with (someone) by making obvious glances.