attachMovie - TextArea

hello all… I’m having some issues with this method I’m working on in Flash. Basically, I’m taking some xml and creating a text slide show. The parsing is working just fine and I can get the data show in a dynamic text box, but if I use the TextArea component, nothing shows. I have the TextArea inside a movie clip and it is named/linked properly. If I take that same TextArea and put it in the root, it works just fine. So I’m thinking race condition or some kind of path issue… been racking my brain. Here’s the little troublemaker:

function createSlides(slide_nodes, x, y) {
this.createEmptyMovieClip(“slideContainer”, 1);
for (var i = 0; i<slide_nodes.childNodes.length; i++) {
var theContent = “”;
theChild = slide_nodes.childNodes*;
for (var j = 0; j<theChild.childNodes.length; j++) {
theContent += theChild.childNodes[j];
currSlide = slideContainer.attachMovie(“slideMC”,
“slideMC”+i, i);
currSlide._x = x;
currSlide._y = y+i*currSlide._height;
currSlide.textBox.text = theContent;



The second for loop is used incase my xml has html tags… fyi…Any thoughts?