Hi,
It's best to buy the bug spray from the shop, it will easily kill the fly.
But if you want more of a challenge and keep the swatter, then try aiming in a place where the fly will be in a frame or two, not where it currently is.
Cheers