# Automatic Slide Show.. \[MX\]

**URL:** <https://forum.kirupa.com/t/automatic-slide-show-mx/22330>\
**Category:** flash\
**Created:** [June 2, 2003, 8:23pm UTC](https://forum.kirupa.com/t/automatic-slide-show-mx/22330 "2003-06-02T20:23:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phorte](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@phorte](https://forum.kirupa.com/u/phorte)\
**Post date:** [June 2, 2003, 8:23pm UTC](https://forum.kirupa.com/t/automatic-slide-show-mx/22330/1 "2003-06-02T20:23:45Z")

</div>

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//

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 3, 2003, 2:57am UTC](https://forum.kirupa.com/t/automatic-slide-show-mx/22330/2 "2003-06-03T02:57:37Z")

</div>

[http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary646.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary646.html)

if that’s is the only thing you need… 😉

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

```
