First of try this instead,
Actionscript Code:
if(_root.block.hitTest(_root.ball)) {
    health--;
}