1 Reply Latest reply on Jun 2, 2011 4:31 AM by Ned Murphy

    Change position of loaded movieclip

    pm4698

      Hi there.

      I have an xml flash gallery at a .swf file and i want to load this .swf to main.swf.

      So, i use the code:

      var loader:MovieClipLoader = new MovieClipLoader();
      this.createEmptyMovieClip("myGalleryContainer",1);
      myGalleryContainer._lockroot=true;
      loader.loadClip("Myslideshow.swf",myGalleryContainer);


      Its working just fine but i get my flash gallery aligned to the center of main.swf.

      How can i move this created movieclip  to wherever i want with some code?

      I tried this:

       

      MyGalleryContainer.y = 200;

      MyGalleryContainer.x = 50;

      with no results.

       

      Any ideas?

      Thank you in advance