Next/previous Button

I am using this tutorial http://www.kirupa.com/developer/actionscript/xmldataflash.htm and i would like to create buttons that would go to the next or previous “inventor”. Any suggestions on how to do this?