5 Replies Latest reply on Sep 16, 2009 9:57 AM by kglad

    createEmptyMovieClip dynamically on a new level


      Hi there,


      I am using the following code to load the external file "1.swf":


      this.createEmptyMovieClip("image_1", 2);

      image_1._x = 50;

      image_1._y = 50;

      image_1.loadMovie("portfolio/100_design/1.swf", 1);



      When the playhead goes to the next frame, I want create a new empty movie clip 1 level above the previous one, which will load external file "2.swf". The content of "1.swf" must not be deleted / replaced.


      Is there any way I can dynamically add 1 to both the EmptyMovieClip name and level?