The only thing I have found that works is to lay chicken wire down in the flower beds around and as close as you can get to the plants. The chickens won't scratch because of the wire and leave it alone. I have a fence that is about 3 ft. tall around my vegetable garden, and while I have had one fly in there on occasion that couldn't get back out, they generally do not fly in there.