Automatic Slide Show.. [MX]

Okay… heres the deal… I have a slide show that i have created… and it looks quite cool i think… lol… well at my standard it is… he he… okay… anyway… back to the piont…

I want a button on it… so the u can press play and then it will run through all the pictures at a certain speed… it would show picture 001 and after 5 seconds then show picture 002 and so on and so forth…

So i am thinking that a getTimer script is needed… And i think the way i need it to work… is that… i need a timer and then if the timer has reached 5 seconds then it would increase the variable which i need to increase called “_root.pic_num_short” and then it would clear the timer and do it again… That is all i need to work out i think… the rest i should be able to work out…

Thanks in advance… =D

//Scotty//

http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary646.html

if that’s is the only thing you need… :wink:

nextPic = function() {
_root.pic_num_short++;
};
var myInterval = setInterval(nextPic, 5000);