3 Replies Latest reply on Aug 11, 2011 9:27 AM by kglad

    Drag and Drop Movieclip Questions

    juresti Level 1

      I have 12 movieclips on one layer, each are draggable some perform an action some dont. The problem is the levels when they are dragged some are above the other clips on the same layer and some are below. I want the dragged clip to be above all clips.


      Also on the stage there are text boxes over the "droptarget" they have to be on a layer above to be visible. So therefore the area where the text box is does not allow the dragged item to perform its task, the "droptarget" function does not work! Is there another option?

       

      Thank you!!

       

       

      holder_mc11.onRelease = function(){
      holder_mc11.stopDrag();
         
              if ((eval(this._droptarget) == none)) {
              this.onTarget=false;
      }else
      {
              this.onTarget=false;
          }}

      holder_mc10.onRelease = function(){
      holder_mc10.stopDrag();

       

      if ((eval(this._droptarget) == string03)){
          
              string03.gotoAndStop(2);
      }
          else
      {
              this.onTarget=false;
          }}