# Help with AS3 and XML

**URL:** <https://forum.kirupa.com/t/help-with-as3-and-xml/305931>\
**Category:** flash\
**Created:** [March 5, 2010, 6:36pm UTC](https://forum.kirupa.com/t/help-with-as3-and-xml/305931 "2010-03-05T18:36:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gradile](https://avatars.discourse-cdn.com/v4/letter/g/ac91a4/32.png) [@gradile](https://forum.kirupa.com/u/gradile)\
**Post date:** [March 5, 2010, 6:36pm UTC](https://forum.kirupa.com/t/help-with-as3-and-xml/305931/1 "2010-03-05T18:36:01Z")

</div>

Hi.  
I’m trying to learn AS3, but I’m a little lost on it!.  
I have the following code:

var myXML:XML;  
var myLoader:URLLoader = new URLLoader();  
myLoader.load(new URLRequest(“test.xml”));  
myLoader.addEventListener(Event.COMPLETE, processXML);  
function processXML(e:Event):void {  
myXML = new XML(e.target.data);  
trace(myXML);  
}

When I play the movie, I can see the content of the XML file on the output window, but I can’t see in the stage.  
What am I missing?  
How can I put the content of the XML file in a dynamic text?  
Thanks in advance.
