In Flash 8 with AS2, one could take this approach:
You essentially create a style sheet object.
var ss=new TextField.StyleSheet();
You create an XML object. Though it looks odd to load the xml file after the onload call, it's because action script is asynchronous and events don't always happen sequentially, therefore, you load the xml file outside the onLoad call to ensure there's some data to show in the text box.
var data_xml=new XML();
Path's can get tricky when targeting the XML file for the text boxes, but the code is solid. Whew, it's been awhile for Action script coding.