How can I manipulate text fields?

I am creating an xml slideshow off of the tutorial on this site and its working great. Im hung up on one thing though. I need to be able to manipulate text fields depending on which slide is being loaded, and im not sure how to do it.

here is my code:

var delay:Number = 5000;
var init:Boolean = false;

// Load XML //
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
heading = [];
body = [];
total = xmlNode.childNodes.length;
for (i = 0; i < total; i++) {
image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
heading* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
body* = xmlNode.childNodes*.childNodes[2].firstChild.nodeValue;
}
firstImage();
} else {
content = “XML not loaded!”;
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load(“slides.xml”);
p = 0;

function fadeIn() {
onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
if (loaded == filesize) {
if (picture._alpha < 100) {
picture._alpha += 5;
text_mc._alpha += 5;
} else {
delete onEnterFrame;
slideshow();
}
}
};
};

function fadeOut() {
onEnterFrame = function() {
if (picture._alpha > 5) {
picture._alpha -=5;
text_mc._alpha -= 5;
} else {
picture._alpha = 0;
text_mc._alpha = 0;
delete onEnterFrame;
nextImage();
}
};
};

function nextImage() {
if (p < (total - 1)) {
p++;
picture._alpha = 0;
text_mc._alpha = 0;
if (loaded == filesize) {
picture.loadMovie(image[p], 1);
text_mc.heading_txt.text = heading[p];
text_mc.body_txt.text = body[p];
picture_num();
fadeIn();
}
}
};

function firstImage() {
init = true;
picture._alpha = 0;
text_mc._alpha = 0;
picture.loadMovie(image[0], 1);
text_mc.heading_txt.text = heading[0];
text_mc.body_txt.text = body[0];
picture_num();
fadeIn();
};

function picture_num() {
current_pos = p + 1;
pos_txt.text = current_pos + " / " + total;
};

function slideshow() {
myInterval = setInterval(pause_slideshow, delay);
function pause_slideshow() {
clearInterval(myInterval);
if (p == (total - 1) && !init) {
p = 0;
firstImage();
} else if (p == (total - 1) && init) {
p = -1;
fadeOut();
}else{
fadeOut();
}
}
};