5 Replies Latest reply on Aug 29, 2006 7:41 AM by kglad

    Movement based on 2 variables...

    VaporAction
      I wasn't sure how to title this problem...anyway, the scenario is as follows...
      The user drags 2 charged particles (ParticlePositive1_mc and ParticlePositive2_mc) to a ruler...when they come into contact with the ruler (HitTest_mc), a hitTest is run to determine if they're both on the ruler and then their location in relation to each other is checked to determine which direction they are to begin traveling...(it's for an animation demonstrating like particles repel and opposite particles attract)...
      Everything works up until when the movement should begin...here's my code...