I have a Flash slideshow presentation that I created for my company’s website, which can be seen on our frontpage:
The slideshow has NEXT and PREVIOUS buttons, as well as other buttons that are used to link to other parts of our online store. The problem that I am running into is that after the first cycle, the slideshow doesn’t cycle through every slide anymore! And then eventually, after about 5 minutes, the flash plugins completely crash and my browser locks up. I think I found out that it has to do with the intervals that I put in the Actionscript 2.0 coding. I didn’t put any “clear intervals” into it and that’s why it’s screwing up, but every tutorial that I used to integrate the clearInterval function didn’t work and I have NO idea what else to do!
Can anybody help me with this?
Here’s the actionscript I used, any help would be GREATLY appreciated
Thanks!
stop();
timeInterval = setInterval(nextphoto, 7000);
function nextphoto(){
if (_root._currentframe == 5) {
gotoAndPlay(1);
}
else {
nextFrame();
}
}
- MC