Living together or being in a long distance relationship doesn't make any difference. If the partner wants to flirt, wants to have a relationship with someone, he/she may do so. We don't have control on any person. It is not a thing that you can possess, he is a human being. Any one that is trully and deeply inlove with his/her partner has to be concerned or has to respect his/her feelings. Thus, if he/she doesn't care at all of what you may feel then it is time for you to think, think, think, are you on the right track?