Why do guys flirt with you 1 min. and then next totally ignore you?
Is he talking to other people or flat out, rudely ignoring you? If it's the second, he's a jerk. Otherwise, flirting is not a commitment and get over it.
Most guys do that probably because they liked you at that time or just want to make theirselves busy with you. It could also be that they are trying to enjoy themselves or are finding the right person through doing this.
If they flirt... they are looking for a response. If they dont get one... they will move on to the next girl. Men are just pigs like that.
If he's not completely ignoring you in a rude way of some sort, then he might just be trying to play games with you? (in a good way) I don't know exactly though.
hes trying to get you interested in him. once you are interested, he leaves. he does this to attract more attention to himself, that way he leaves you wanting for more.