3 Replies Latest reply on Jun 16, 2006 4:18 PM by Newsgroup_User

    Refering to frames???

    jamiemac2005
      right so i have this script:

      onClipEvent (enterFrame) {
      if (this.hitTest(_root.box_mc)) {
      _root.person_mc.gotoAndPlay(42);
      }
      else {
      if(_root.person_mc.(>>>frame its on here<<<)<40){
      _root.person_mc.stop();
      }
      }
      if (this.hitTest(_root.wall2_mc)) {
      this._x = 90;
      }
      if (Key.isDown(Key.RIGHT)) {
      _root.person_mc.play();
      _root.person_mc._x += 0.5;
      }
      }
      right so on the if clause i need to refer to what frame person_mc is on? to see if its past frame 40 but i dont know how to refer to the frame that its on...... can someone help me???

      cheers... JAM