Please, excuse me for my English.
I have a ask for you.
I´m trying to do a photographic gallery with infinite scroll, ok? I´m loading the differents photos from a url and with duplicatemovie make as movieclips as photos i have got.
The problem is when i load a photo in a button, the button is dissable…why?? I can´t hit it!
This code is inside of a movieclip.
i=0;
max=7;
nuevax=5;
cont=0;
this.pathToPics = “img/”;
this.pArray = [“0.jpg”, “1.jpg”, “2.jpg”, “3.jpg”, “4.jpg”, “5.jpg”, “6.jpg”, “7.jpg”];
loadMovie(pathToPics+pArray[cont], “bt_foto”);
setProperty(“bt_foto”, _x, 1);
do {
i++;
duplicateMovieClip(“bt_foto”, “bt_foto” + i, i+20);
if (cont>=7) {
cont=0;
} else {
cont++;
}
loadMovie(pathToPics+pArray[cont], “bt_foto”+i);
nuevax=nuevax+100;
setProperty(“bt_foto”+i, _x, nuevax);
} while (i<((max*2)-1));