1 Reply Latest reply on Jan 6, 2009 7:29 AM by kglad

    constrain mc location to shape?

      MC1 is attached to the mouse location using startDrag.
      MC2 follows MC1 around a shape.

      I already have a working version where MC2 moves around the circumference of a circle, and is connected to MC1 by a line.

      The spanner in the works is if I want to change the shape.
      Imagine I want MC2 to only be able to move around the outline of a cloud shape...
      Any ideas?
      Stumped for the moment.

      Here's a screen grab of what I mean - MC2 should follow the outline.