Hi,
I’m trying to make a portfolio page where each of my thumbnails loads with the ‘fading grid’ effect. I’ve made all the thumbnails movie clips with the appropriate script, and they all work fine. I’ve also set them to be exported for actionscript, each with a number as their name, i.e. “1” “2” and so on.
I was then planning on using the following bit of code to load these movies into my portfolio clip, to save me having to do it at author-time.
movieX=35 //set first pics position
movieY=25
for (i=1; i<4; i++) {
attachMovie(i,("image"+i),5); //attach movie loop number, give it the name image<loop number>
("image"+i)._x=movieX //move the clip to the current X pos.
("image"+i)._y=movieY
movieX=movieX+10; //add 10 to X pos for next movie
}
But for some reason, instead of loading two movies, each one 10 to the right of the previous movie, it just loads them on top of each other. Is it something to do with the stage not updating? Help plz!