1 Reply Latest reply on Apr 7, 2007 4:35 AM by sindresorhus

    hitTest problem

      Hi, I'm really thankful for the help I've gotten in this forum.
      Now I need your genius brains again.

      I'm making a flash game with levels. In every level there is a door with the code:

      onClipEvent (enterFrame) {
      if (this.hitTest(_root.player)) {

      I have a score system with the Var called "points"

      How can I make the door only accept the player when it has 20 points?

      You can see the game here