?
Solved

AS3: XMLList

Posted on 2009-04-07
3
Medium Priority
?
555 Views
Last Modified: 2013-11-12
hi :)
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
}

Open in new window

0
Comment
Question by:Madkhali
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 2000 total points
ID: 24087642
if you're trying to load an xml and access it then yes that's correct.
0
 
LVL 6

Author Closing Comment

by:Madkhali
ID: 31567406
happy to see you :), thanks for ever
0
 
LVL 6

Author Comment

by:Madkhali
ID: 24089297
Yes it is :).
Thanks for your support :)
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question