2 Replies Latest reply on May 5, 2011 2:28 PM by kglad

    removing _root code does not work

    juresti Level 1

      I've tried removing or using this and code dose not work. Any help is appreciated.

       

       

      var j:Number;

       

      for (j = 0; j < 7; j++) {
             
      _root["holder_mc"+j].onPress = function() {

       

      with(this){
          startDrag(false);
             lineStyle(3,0xcccccc,100);
            lineTo(_root.myWidth,0);
             lineTo(_root.myWidth,_root.myHeight);
             lineTo(0,_root.myHeight);
             lineTo(0,0);
      }
      }}