Skip to main content
Participant
March 7, 2007
Question

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

  • March 7, 2007
  • 1 reply
  • 133 views
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]);
}
This topic has been closed for replies.

1 reply

Marghoob Sulemaan
Inspiring
March 7, 2007
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.