How do you keep ticks away from dogs?

Anti parasitic medication, like "Frontline" and "K-9 Advantics" keep ticks off of dogs. But cutting down long grasses and trimming bushes and tree limbs keeps ticks from climbing onto the tips and getting on your dog when it brushes by.