You missed most of them.
Code:
this.createEmptyMovieClip("panel1", this.getNextHighestDepth());
this.createEmptyMovieClip("panel2", this.getNextHighestDepth());
var count:Number = 0;
function loadContainers() {
for(j=1;j<=2;j++) {
for(i=0;i<images.length-1;i++) {
var symbol:MovieClip = this["panel"+j].createEmptyMovieClip("symbol"+i, i);
var thumb:MovieClip = panel["symbol"+i].createEmptyMovieClip("thumb", i);
var image:MovieClip = panel["symbol"+i]["thumb"].createEmptyMovieClip("image", 30+i);
this["panel"+j]._x = 202*i
this["panel"+j]._y = Stage.height/4;
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadComplete = function() {
count++;
if(count ==images.length-1) {
beginScroll();
}
}
}
mcl.loadClip("rawdata/"+images[i], panel["symbol" +i]["thumb"]["image"]);
mcl.addListener(mclL);
panel["symbol"+i].id = i;
panel["symbol"+i].onRelease = function() {
getURL(urls[this.id]);
}
}
}
Test again. If it doesn't work, post the code again. You only need to paste the loadContainers() function. And please use the [code] tag when posting code.
Bookmarks