Madkhali
asked on
AS3: XMLList
hi :)
please see my comment in the code below, am i write?
guide me please, Thanks :)
please see my comment in the code below, am i write?
guide me please, Thanks :)
var newsX:XML;
var newsList:XMLList
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
loader.load(new URLRequest("news.xml"));
function onComplete(e:Event):void
{
newsX = new XML(loader.data)
// newsList is a var that can help to go to specific nodes in the XML file
newsList = newsX.story
xmlText_txt.text = newsList[0].content
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes it is :).
Thanks for your support :)
Thanks for your support :)
ASKER