Simple hitTest Problem

Ive never used hitTest before, and ive looked though plenty of tutorials, but everyone i read though are far too advanced for me. All im trying to do is have a ball (ball_mc) hit an object(wall_mc) before it hits the floor. I have the gravity and friction working fine. Its just a problem with collision. Can someone help me?

Example of what im looking for: