# XML Titles Slideshow?

**URL:** <https://forum.kirupa.com/t/xml-titles-slideshow/309464>\
**Category:** flash\
**Created:** [May 16, 2010, 10:22am UTC](https://forum.kirupa.com/t/xml-titles-slideshow/309464 "2010-05-16T10:22:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kivshany](https://avatars.discourse-cdn.com/v4/letter/k/c2a13f/32.png) [@Kivshany](https://forum.kirupa.com/u/Kivshany)\
**Post date:** [May 16, 2010, 10:22am UTC](https://forum.kirupa.com/t/xml-titles-slideshow/309464/1 "2010-05-16T10:22:00Z")

</div>

Hi all… kinda noob question…

I have my XML file with only some sentences i wish to create a slideshow from.

Something realy simple:

[CENTER] \*\*[COLOR=Red]Sentence[/COLOR]

* * *

V  
V  
V  
[COLOR=Red]Sentence (delay)[/COLOR]  
V  
V  
V

* * *

[COLOR=Red]Sentence  
[/COLOR]\*\*[LEFT]  
I have loaded my xml like so:

```auto
function loadXML(loaded) {
    if (loaded) {
        xmlNode = this.firstChild;
        textim = [];
        total = xmlNode.childNodes.length;
        for (i=0; i<total; i++) {
            textim* = xmlNode.childNodes*.firstChild.nodeValue;
        }
    } else {
        content = "file not loaded!";
    }
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("textim.xml");
///////////////////////////////////// 

```

I can access the titles using dynamic text fields but i don’t know how to make it go sentence by sentence automaticly (with the animation).

I would appreciate some examples & any any help… tnx! 🐇  
[/LEFT]  
[/CENTER]
