Help With XML With AS3!

Hi people, as you will guess im new to AS3 so please be forgiving!

Im trying to implement a web based XML file into an AS3 based flash doc. I have no problems grabbing the data from the XML, but getting it to display, well it probably obvious, but it aint happenin for me!!

My current code is as follows…

var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();

xmlLoader.addEventListener(Event.COMPLETE, LoadXML);

xmlLoader.load(new URLRequest(“”));

function LoadXML(e:Event):void {
xmlData = new XML(;
trace(“XML Output”);

With Thanks,

(If your feeling nice, email me some examples to [email protected] I would appreciate it!)

I never understand why people expect others to e-mail them on a forum… it makes more sense to post an answer here so others can benefit from it.

Anyway, what you’re possibly after is something like this:


Yeah ill try that, true point about the email ( I did mean a flash file though…dont know if you can send over forums)

Thanks again