# Displaying XML Data in Flash

**URL:** <https://forum.kirupa.com/t/displaying-xml-data-in-flash/221666>\
**Category:** Uncategorized\
**Created:** [April 6, 2007, 5:18am UTC](https://forum.kirupa.com/t/displaying-xml-data-in-flash/221666 "2007-04-06T05:18:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![osp](https://avatars.discourse-cdn.com/v4/letter/o/4da419/32.png) [@osp](https://forum.kirupa.com/u/osp)\
**Post date:** [April 6, 2007, 5:18am UTC](https://forum.kirupa.com/t/displaying-xml-data-in-flash/221666/1 "2007-04-06T05:18:33Z")

</div>

Im loading data into flash using xml and it works all fine but how do I make it so that when the user presses the button I have made, it loads in the next set of data?

To give you an idea; There are 4 facts loaded onto a page (using xml), user presses NEXT and then another set of 4 facts load.

I have the xml all written out how its supposed to be so that it can be loaded. I just dont know what the script is the make the button bring the next facts.

This is the tutorial I used to figure out the xml thing: [http://www.kirupa.com/developer/actionscript/xmldataflash.htm](http://www.kirupa.com/forum/../developer/actionscript/xmldataflash.htm)

Thanks in advance for any help!  
-Olivia
