6 Replies Latest reply on Apr 2, 2007 3:49 AM by GregConnTelevirtual

    playing movie clips in specific layers

    GregConnTelevirtual Level 1
      I'm loading a movieclip (a jpg) into my SWF but i'd like to specify the layer it goes to as i have buttons in my SWF that i'd like to be active whilst the movieclip is playing.

      My code is

      _root.createEmptyMovieClip("box",1);
      _root.box.createEmptyMovieClip("pic_mc",2);
      _root.box.pic_mc._x = 0;
      _root.box.pic_mc._y = 0;
      _root.box.pic_mc.loadMovie(imgLoc);

      From reading up a lot I've found that the second parameter in the createEmptyMovieClip command is meant to be the layer but changing this number seems to do nothing, does anyone have any ideas?

      cheers

      Greg