3 Replies Latest reply on Dec 3, 2007 6:57 AM by kglad

    duplicate movieclip

    ponch Level 1
      hi,

      i'm using the following funtion to duplicate a movie clip. i'm calling this function several time in the movie, but at the moment each time i call it, it duplicates fine but replaces the previous duplicate while doing it. i suspect it has to do with either the new movie clip name or the depth? if so, could somebody help me out with a work around?

      script:
      function printGeneric() {
      duplicateMovieClip(genericPrinter_mc.photoMaskGeneric_mc, "newPhoto_mc", this.getNextHighestDepth());
      }

      thanks a lot,

      ponch