title: Flash AS3 Multi touch event handler
body: <p>I have 3 separate movie clips in a frame, each clip can be moved around the stage using a simple touch and drag event, which is shown below, incase it has some relevance. I want to drag each of the three clips onto a fourth clip and when all 3 are contained within the fourth clip I want an event triggered that changes the current frame. What is the easiest way of doing this in AS3 ? Any examples would be great as I am a complete beginner. Thanks</p>
  
  <pre><code>    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
  
      Gem1_MC.addEventListener(TouchEvent.TOUCH_BEGIN, fl_TouchBeginHandler_2);
      Gem1_MC.addEventListener(TouchEvent.TOUCH_END, fl_TouchEndHandler_2);
  
      var fl_DragBounds_2:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);
  
      function fl_TouchBeginHandler_2(event:TouchEvent):void
  
  {
  
  
  
   event.target.startTouchDrag(event.touchPointID, false, fl_DragBounds_2);
      }
  
      function fl_TouchEndHandler_2(event:TouchEvent):void
      {
          event.target.stopTouchDrag(event.touchPointID);
      }
  </code></pre>