Ahh... Try this instead:
PHP Code:
this.scrollto = 0;
for (temp.i = this.scrollto;i<this.scrollto+5;i++) {
showtext(200+i-this.scrollto,........,this.array[i]);
}
this.scrollto = this.scrollto%this.array.size()-5;
Problem is the showimgs from previous numbers are sticking around as they're not being hidden after used. That should subtract the offset so it will always display with an index of 200-205.
You can also simply detect when there is a change in what's being hidden(this.scrollto changing) and hide all the images before you display them again. The next loop will refresh them, therefor hiding all the unused and showing the current properly.