# Automatic slide show from XML

**URL:** <https://forum.kirupa.com/t/automatic-slide-show-from-xml/1133>\
**Category:** Uncategorized\
**Created:** [August 9, 2002, 6:13am UTC](https://forum.kirupa.com/t/automatic-slide-show-from-xml/1133 "2002-08-09T06:13:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmarur](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@mmarur](https://forum.kirupa.com/u/mmarur)\
**Post date:** [August 9, 2002, 6:13am UTC](https://forum.kirupa.com/t/automatic-slide-show-from-xml/1133/1 "2002-08-09T06:13:17Z")

</div>

i have a flash movie of one frame with forward and back buttons that load images and text from an xml file (created from a excel database). as an option i would like the movie to run automatically – changing the image and text every 10 seconds or so. is there a simple way to do this? getTimer function?

---

<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:** [August 9, 2002, 5:43pm UTC](https://forum.kirupa.com/t/automatic-slide-show-from-xml/1133/2 "2002-08-09T17:43:13Z")

</div>

You could do it this way, make a Movie Clip and every x frames, whatever 10 seconds is on your timeline add a loadMovie() function and load the external swf’s (which would be a movie of your picture and text every 10 seconds.

When it gets to the frame you want 10 seconds later, unload movie pic 1 and load movie pic 2. Keep doing this until you go through all your pics.

Then on the last frame put a go to frame 1 command and start the process all over.

this is just an alternative method…good luck! JesseH

---

<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:** [August 9, 2002, 7:21pm UTC](https://forum.kirupa.com/t/automatic-slide-show-from-xml/1133/3 "2002-08-09T19:21:16Z")

</div>

thanks for taking the time.

that technique would work if i had multiple frames… but my movie has only one frame… the nodes (image and text) from the xml all load into movieclips in different layers in the first frame.
