Hey I am quite new to the more advanced coding so here’s an easy one for you:
I have three images (thumb1, thumb2, thumb3) that I want to load onto the first row…
then I want the second row to contain bar1 and bar2…
Obviously this code doesn’t work…but I was able to get it to do just the first row (the easy part). How do i get the second set to load in below them? I just left the code off where I left off in my head.
I would love it if you could just comment or complete my code rather than pointing me to a tutorial. thanks!
images = [["thumb1.jpg" , "thumb2.jpg" , "thumb3.jpg"],["bar1.jpg" , "bar2.jpg"]];
for(j=0; j<images.length; j++){
for(i=0; i<images[0].length; i++){
var loader = new MovieClipLoader();
image = this.createEmptyMovieClip("thumb" + i, i);
loader.loadClip("pics/" + images[0]*, image);
image._x = 230*i + 10;
image._y = 10;
}
}