Adding back and next buttons

I am working on the tutorial
http://www.kirupa.com/developer/actionscript/flashphpxml_integration.htm

The tutorial uses a multiline textbox to display data from MySQL but I wanted to know how I would code if I used a SINGLE LINE textbox and added a BACK AND NEXT BUTTONS to show one record at a time.