[Project_owners] Image prefetching
lithian at tiscalinet.it
Fri Apr 1 09:24:50 EST 2005
> Anyway, your problem is very simple - some of your images load BEFORE
> your JS even gets to tmpImage.setAttribute(...).
No. The images are loaded from web pages and are big enough to take about
half second to be displayed. I think the problem is another.
Now I'm trying this code
imageList = new Array();
for ( ... )
var imageList[i] = new Image();
imageList[i].src = ...;
and seems to work well. So, I think the old version have some problem
with the garbage collector.
More information about the Project_owners