title: AS3 to get children in Gestureworks TouchSprite working
body: <p>Recently just trying around with the Gestureworks multitouch.
  Here I have some problem about button inside a TouchSprite, below is my code:</p>
  
  <pre><code>package 
  {
      import com.gestureworks.core.GestureWorks;
      import com.gestureworks.core.TouchSprite;
      import com.gestureworks.events.GWGestureEvent;
      import com.gestureworks.events.GWTouchEvent;
      import flash.display.Bitmap;
      import flash.display.BitmapData;
      import flash.display.Loader;
      import flash.display.Stage;
      import flash.events.Event;
      import flash.display.Sprite;
      import flash.net.URLRequest;
      import flash.events.MouseEvent;
      import flash.events.TouchEvent;
      import flash.ui.Multitouch;
      import flash.ui.MultitouchInputMode;
  
      public class Main extends GestureWorks
      {
          private var myDisplay:TouchSprite;
  
          public function Main():void
          {
              super();
  
              key = "xxx";
  
              Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
          }
  
          override protected function gestureworksInit():void
          {
              myDisplay = new TouchSprite();
  
              myDisplay.gestureReleaseInertia = true;
              myDisplay.gestureEvents = true;
              myDisplay.disableNativeTransform = false;
              myDisplay.disableAffineTransform = false;
              myDisplay.mouseChildren = true;
              myDisplay.gestureList = {"n-drag":true,"n-scale":true};
  
              myDisplay.addChild(boliviaMap);
              myDisplay.addChild(mapPink);
              addChild(myDisplay);
  
              myDisplay.addEventListener(GWGestureEvent.DRAG, gestureDragHandler);
              myDisplay.addEventListener(GWGestureEvent.SWIPE, gestureSwipeHandler);
              mapPink.addEventListener(TouchEvent.TOUCH_TAP, tapPink);
          }
  
          private function tapPink(e:TouchEvent):void
          {
              trace("PINK");
              indicatorTxt.text = "PINK";
          }
  
          private function gestureDragHandler(event:GWGestureEvent):void
          {
              trace("g drag: ", event.value.dx, event.value.dy);
              event.target.$x +=  event.value.dx;
              event.target.$y +=  event.value.dy;
              indicatorTxt.text = "g drag: " + event.value.dx + " " + event.value.dy;
          }
      }
  }
  </code></pre>
  
  <p>apparently the myDisplay.mouseChildren = true; will make myDisplay not able to drag or scale anymore.</p>