5 Replies Latest reply on Feb 8, 2007 12:01 PM by kglad

    hitTest

    BigdaddyVELTRI
      Publishing as flash player 6 works fine, but 8 doesn't.
      Can some tell me if the error lies in this code. What I need it to do is write to a dynamic field with instance name "fs". I get in the field NaN.

      onClipEvent (enterFrame) {
      if (this.hitTest(_root.wheel.arrow)) {
      this.bird.gotoAndStop(2);
      _root.ps=_root.ps+_root.p;
      _root.fs = _root.ps+1;
      }


      }

      Thanks in advance!