3 Replies Latest reply on May 4, 2006 11:11 PM by kglad

    Please help me with maths problem


      Im making a flash game at the mo & am having maths difficulty.

      When i press the space button I attach a movie clip of a bullet on stage

      The bullet starts moving in the direction of the the last mouse position.

      I'm trying to figure out a way to remove the clip after it has moved a distance of 100 pixels

      The problem is that the bullet can move in positive and negatived directions. I dont know how to test for this.
      Can any body help?