Help please

can somebody please help me with this code, it wont add the points to the box

if (red.hitTest(_root.blue) and attach != "" and drag == true) {
  _root.tackle += 1;
 }