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.