# setInterval not working for me

**URL:** <https://forum.kirupa.com/t/setinterval-not-working-for-me/227879>\
**Category:** flash\
**Created:** [June 3, 2007, 2:01pm UTC](https://forum.kirupa.com/t/setinterval-not-working-for-me/227879 "2007-06-03T14:01:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcg31](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jcg31](https://forum.kirupa.com/u/jcg31)\
**Post date:** [June 3, 2007, 2:01pm UTC](https://forum.kirupa.com/t/setinterval-not-working-for-me/227879/1 "2007-06-03T14:01:14Z")

</div>

Morning folk, I am a new user to both [Kirupa.com](http://Kirupa.com) and AS2, and probabaly like most of you came upon Kirupa as I was trying to search for a solution to my problem. Here it is:

I am trying to increment through a multidimensional array with a for loop to present the associated photo for five seconds before moving on to the next. The photos are arranged by categories that are important to their presentation - - thus the two dimensioned array. I am trying to work with “setInterval” but apparantly not correctly because dispite the function call and a 5000 delay, the program plows immediately through to the last photo and then presents it and only it. Can anyone point me in the direction of a solution (again, because I have limited experience with flash, code suggestions would be most helpful).

Thanks for any help.
