I found this tutorial on kirupa.
http://www.kirupa.com/developer/actionscript/xmldataflash.htm
I have changed the xml to what i want and added more data, i have made 2 buttons Next and Prev, what code do i need to add to the buttons to displaay the next piece of dat or the previus piece of data, thanks