Men seem to interpret any form of conversation as flirting, in my opinion. Especially if they like you. They basically just see what they want to see.
I smile a lot, in general, and have realised that men view that as flirting. There's been many times when I think I'm just 'cool' with a guy, just friendly, while they're actually thinking I'm flirting with them.
For example, in my previous job, at our Christmas party this guy who I thought I was just cool with tried to kiss me. I told him I had a boyfriend and pushed him away. Later on in the night he said to me, 'Sheena, if you have a boyfriend why are you always flirting with me?' I was like, um, what? When was that happening?
And now I think it's happening again at my new job. I keep getting these 'looks' from this guy who I thought I was just cool with. Or maybe I'm a flirt but doing it unconsciously? Idk. But to answer the question, I think being flirty does attract guys, but as I said,
if a guy finds you even a little attractive anything you do becomes flirty to them.