To behave in a playful or amorous way to attract someone romantically. She would often flirt with him by complimenting his style and laughing at his jokes.
To consider or experiment with something in a casual or superficial way. He flirted with the idea of moving to a new city but decided to stay put for now.
(archaic, of a body part, especially a tail or wing) To move or wave briskly or jerkily. The bird flirted its tail feathers before taking flight.