It has directions for use.The RAID aerosols don't say to spray it onto the fly, it says with RAID there is no need to spray directly at the flying insects.
as the mist kills them.
Option one is something like
"for direct knock down spray directly on insect from 60 to 90cm away"
Then for room treatment spray it liberally in the middle of the room and shut the doors and windows.
Option 2 is no good if you've got a wasp or blue bottle buzzing away in the window while you're sitting trying to watch telly, so you shut all the doors and windows and choke yourself. You just go over and give a knock out blow
From the Raid website:
Shake well before using.
Point spray nozzle away from face and press button, holding container as upright as possible.
Spray into the air with a sweeping motion, keeping about three feet from interior walls, fabrics and furniture, until the room is thoroughly misted.
For Wasps, Hornets, Yellow Jackets, and Asian Lady Beetles: Spray directly at stray insects that enter the building.
Do not remain in treated area. Keep room closed for two hours.
Ventilate room thoroughly before re-entry.
To reduce annoyance of these insects, spray area when air is calm for best results.