# Picture Rotation

**URL:** <https://forum.kirupa.com/t/picture-rotation/59176>\
**Category:** flash\
**Created:** [July 29, 2004, 2:01am UTC](https://forum.kirupa.com/t/picture-rotation/59176 "2004-07-29T02:01:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jor133d](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jor133d/32/315_2.png) [@jor133d](https://forum.kirupa.com/u/jor133d)\
**Post date:** [July 29, 2004, 2:01am UTC](https://forum.kirupa.com/t/picture-rotation/59176/1 "2004-07-29T02:01:21Z")

</div>

Hello -

I have been trying to figure out this problem for almost a month now. I can find anyone who will help me.

I have to make a script that rotates pictures from a folder called “house” The number of pictures in that folder are always chaning. One time there will be 10 another time there will only be 5, etc.

How do I make a flash file that will display the photos for a couples seconds then moves to the next photo?

Please help!!

[www.thinkdoorcounty.com](http://www.thinkdoorcounty.com), in the upper right…thats where it is going

---

<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:** [July 29, 2004, 3:49am UTC](https://forum.kirupa.com/t/picture-rotation/59176/2 "2004-07-29T03:49:18Z")

</div>

setInterval(myfunction,5000); or something like that, check the flash dictionary for the official code. The one I just typed out executes myfunction every 5000 milliseconds(also known as 5 whole seconds).
