# XML and TextArea

**URL:** <https://forum.kirupa.com/t/xml-and-textarea/137612>\
**Category:** Uncategorized\
**Created:** [February 16, 2005, 4:37am UTC](https://forum.kirupa.com/t/xml-and-textarea/137612 "2005-02-16T04:37:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![diskodisway](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@diskodisway](https://forum.kirupa.com/u/diskodisway)\
**Post date:** [February 16, 2005, 4:37am UTC](https://forum.kirupa.com/t/xml-and-textarea/137612/1 "2005-02-16T04:37:40Z")

</div>

I’m having trouble getting my parsed xml into a textArea component. If I use a dynamic text field with the following code, it works fine… I’d like to use the textArea, but something is strange…

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++) {  
trace(“j=”+j);  
theContent += theChild.childNodes[j];  
}  
currentSlide = slideContainer.attachMovie(“slideMC”, “slideMC”+i, i);  
currentSlide.\_x = x;  
currentSlide.\_y = y+i\*currentSlide.\_height;  
currentSlide.textBox.text = theContent;   
}  
};

All the necessary movie clips are created correctly, in order, with the textArea, but no text shows. I have quadruple-checked the instance name.  
Any thoughts?

disko
