6 Replies Latest reply on Nov 19, 2009 3:44 PM by kfbradley

    Removing duplicated movie clip

    kfbradley

      Hello. Any help with this would be much appreciated.

       

      I have attached a duplicate movie script action on a button to create a new copy of the clip (F900) with each press. This seems to work well; however, I can not, for the life of me, figure out how to create the script to remove the duplicated movie clip.

       

      Here is the script I am using for the duplication and I did also attach the fla file:

       

      on (release) {
          _root.F900.duplicateMovieClip ("F900_"+"x", x );
          setProperty ("F900_"+"x", _x, 300);
          setProperty ("F900_"+"x", _y, 200);
          x++;
      }

       

      Once I figure this out I would like to add different aircraft to it but that is not terribly important right now.

       

      Any help is extremely appreciated.

       

      Kevin