Probably just not seeing the blindingly obvious here. Chucking up an error on the loadMovie line, whenever I add in the “+i” bit to load up each image. Anyone see what the problem is here? [AS]index=10;
for (i=2; i<8; i=i+1) {
thumbnail.duplicateMovieClip(“tn_” +i, i);
this[“tn_”+i].x = index;
this["tn"+i].y = 50;
this["tn"+i].loadMovie(“thumbs/tn_gallery_”+i".jpg", 0);
index=index+60
}
What kind of error?[AS]index=10;
for (i=2; i<8; i++) {
var tn = thumbnail.duplicateMovieClip(“tn_” +i, i);
tn._x = index;
tn.y = 50;
var fileToLoad = "thumbs/tn_gallery"+i".jpg";
trace (fileToLoad);
tn.loadMovie(fileToLoad, 0);
index=index+60
}
stop();[/AS]Does this trace what you expect?