0 Replies Latest reply on Oct 16, 2010 8:09 AM by RichieWhite

    Help getting started with Flash builder

    RichieWhite Level 1

      Flash CS5 has snippets such as this one to make an object draggable:

       

      movieClip_4.addEventListener(MouseEvent.MOUSE_DOWN, fl_ClickToDrag_5);

      function fl_ClickToDrag_5(event:MouseEvent):void
      {
      movieClip_4.startDrag();
      }

      stage.addEventListener(MouseEvent.MOUSE_UP, fl_ReleaseToDrop_5);

      function fl_ReleaseToDrop_5(event:MouseEvent):void
      {
      movieClip_4.stopDrag();
      }

       

       

       

       

       

       

       

       

       

      Can someone please tell me how to do this in Flex Builder?