alflashy
04-01-2005, 02:19 PM
hi
i found this script on the forum to run my slide show auto change after 5 seconds.
works great
function setTimerCtrl()
{
autoTimer = 5000;
//5 seconds between pictures... Number of seconds * 1000...
clearInterval(intervalID);
//Clear the interval for auto slide
intervalID = setInterval(autoSlide, autoTimer);
//Set an interval for auto slide
}
function autoSlide()
{
_root.changePhoto(1);
}
but the problem is
it change the photo before it load.
i mean
on dial up internet it takes more than 5 seconds to load the photo and before it load the slide show keeps on running and move to next photo.
please give some suggestion
thanks
i found this script on the forum to run my slide show auto change after 5 seconds.
works great
function setTimerCtrl()
{
autoTimer = 5000;
//5 seconds between pictures... Number of seconds * 1000...
clearInterval(intervalID);
//Clear the interval for auto slide
intervalID = setInterval(autoSlide, autoTimer);
//Set an interval for auto slide
}
function autoSlide()
{
_root.changePhoto(1);
}
but the problem is
it change the photo before it load.
i mean
on dial up internet it takes more than 5 seconds to load the photo and before it load the slide show keeps on running and move to next photo.
please give some suggestion
thanks