3 Replies Latest reply on Nov 14, 2006 5:43 AM by arunbe

    dragging a movieclip attached to the root timeline

    rodolfo1216 Level 1
      Can anyone help? I used _root.attachMovie to attach a movie clip to the root timeline, but I can't seem to get the attached movie clip to be draggable. Here's what I did (the movieclip - called myMC - has a linkage identifier called "myMC"):

      _root.attachMovie("myMC", "myMCattached",getNextHighestDepth());

      myMCattached.onPress = function(){
      this.startDrag();
      }
      myMCattached.onRelease = function(){
      this.stopDrag();
      }

      It doesn't work. Any help is much appreciated!

      Michael