To kill (actually to catch) Blue bottle flys, you should talk to a Spider Oracle first and get quest and a blue bottle from her. Then use your fly swatter.
To kill a "Blue bottle fly" (to catch), you need to talk to Spider Oracle and take from her a quest for catching these flies and a "blue bottle". Then, use your fly swatter on them.