# Question on the "Photo Slideshow Using XML and Flash" in kirupa.com

**URL:** <https://forum.kirupa.com/t/question-on-the-photo-slideshow-using-xml-and-flash-in-kirupa-com/240003>\
**Category:** flash\
**Created:** [September 28, 2007, 2:18am UTC](https://forum.kirupa.com/t/question-on-the-photo-slideshow-using-xml-and-flash-in-kirupa-com/240003 "2007-09-28T02:18:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eraser88](https://avatars.discourse-cdn.com/v4/letter/e/f475e1/32.png) [@eraser88](https://forum.kirupa.com/u/eraser88)\
**Post date:** [September 28, 2007, 2:18am UTC](https://forum.kirupa.com/t/question-on-the-photo-slideshow-using-xml-and-flash-in-kirupa-com/240003/1 "2007-09-28T02:18:26Z")

</div>

Dear all,

I got a question on this tutorial about the slideshow.  
The flow of this program will be as follow:

loadXML() -\> firstImage() -\> slideshow() -\> nextImage() -\> … -\> nextImage() -\> firstImage() -\> nextImage() -\> …

from the above it show that the program never end, of course it is ok because we are aim  
at doing slideshow and so it should not stop. However, the all the function are never end  
also, what I mean is the first call loadXML() will wait for firstImage() end, but firstImage()  
is waiting for slideshow() end, slideshow() wait for nextImage() and so on… my question  
is will it cause a problem if this program running for sometime? Cause it may eat up a log  
of memory as all the functions are waiting for the end.

Or this problem is not applied to FLASH?

Many Thanks!
