5 Replies Latest reply on Oct 7, 2006 9:16 AM by kglad

    Defining where the emptyMovieClip is placed?

    MichelleTen
      I have this actionscript that i'm using to play two movie clips one after another and it works well, but it automatically puts the EmptyMovieClip in the upper left hand corner. If i want to define where it should be placed such as x=448px and y=105px where would i put that in this code? Much thanks.

      this.createEmptyMovieClip("original_mc", depth++);
      mcA = ["IceAd_swipe_mc", "Marriott1_mc"];
      index = 0;
      this.attachMovie(mcA[index], "mc", 0);
      this.onEnterFrame = function() {
      if (mc._currentframe == mc._totalframes) {
      index++;
      if (index<mcA.length) {
      removeMovieClip(mc);
      this.attachMovie(mcA[index], "mc", 0);
      } else {
      removeMovieClip(mc);
      }
      }
      };