I wanted to load a dynamic loaded pic, into a dymanic duplicated MC, any ideas how can I do it?
For now, I separately load the pic to the root,and not the duplicate MC, but it wont work.
var ij = 0;
function dupMovie() {
for (i=0; i<31; i++) {
navigation.duplicateMovieClip("navigation"+i,i,{_x:50+(i%columns)*spacex, _y:20+Math.floor(i/columns)*spacey});
}
}
dupMovie();
function sload() {
var th = navigation.thumbnail_holder;
for (var i = 0; i<total; i++) {
var clip = drawSquare(this, i);
nav._x = 50+(i%columns)*spacex;
nav._y = 20+Math.floor(i/columns)*spacey;
clip._x = 50+(i%columns)*spacex;
clip._y = 20+Math.floor(i/columns)*spacey;
var clap = clip.createEmptyMovieClip("tn"+i, i);
clap._x = 0;
clap._y = Stage.height-110;
cliparray.push(clap);
clip3.onRollOver = function() {
navigation10.play();
navigation10.rewind = false;
};
clip3.onRollOut = function() {
navigation10.rewind = true;
};
}
startload();
}
i would like both to both to be " for (var i = 0; i<total; i++) " but,whenever i have both total, the mc wont duplicate. Left say if i have 10pic in the xml pic, then if the mc i also use total, it wont duplicate. It will only duplicate 1 if i write “i<11” for MC