1 Reply Latest reply on Mar 7, 2007 12:53 AM by Marghoob Suleman

    MovieClipLoader(Help me please!!!!!!)

    firas_81
      Hello guys
      Iam using the MovieClipLoader object to load multiple jpg images by getting their names from a xml file but agfter a minute or two images are disappearing.In other words I can still get a hand cursor by rolling over them but I cant see them,please guys help me with this problem.here is my code:
      var mcloader:MovieClipLoader=new MovieClipLoader();
      for (i=0;i<10;i++)
      {_root.attachMovie("Movie","Movie"+i,i);

      _root["Movie"+i].createEmptyMovieClip("Clp"+i,10*i);



      mcloader.loadClip("Folder/"+xml_var+".jpg" , _root["Movie"+i] ["Clp"+i]);
      }
        • 1. Re: MovieClipLoader(Help me please!!!!!!)
          Marghoob Suleman Level 1
          try this...

          var mcloader:MovieClipLoader = new MovieClipLoader();
          for (i=0; i<10; i++) {
          var main_mc:MovieClip = _root.attachMovie("Movie", "Movie"+i, i);
          var image_mc:MovieClip = main_mc.createEmptyMovieClip("Clp"+i, 10*i);
          mcloader.loadClip("Folder/"+xml_var+".jpg", image_mc);
          }

          your code should work 2. but this new code is working in the same way. i need to see your fla.