Some fly traps with odorous chemicals can attract flies from the neighborhood, but they will catch and trap most of them. Still, placement matters. Place the trap where you and the flies can reach it but where it won’t bring their buddies to your pool party.