<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: AS3 Using XML data and parse it to a List Component &#8211; FLASH CS3</title>
	<atom:link href="http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/</link>
	<description>A Blog covering Air, Flash, Flex, Illustrator and Photoshop</description>
	<lastBuildDate>Tue, 27 Oct 2009 14:26:42 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fighterlegend</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-18390</link>
		<dc:creator>Fighterlegend</dc:creator>
		<pubDate>Sat, 08 Aug 2009 21:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-18390</guid>
		<description>Hello, this has helped me.

But not on this part..


my_lst.addItem({label:userTitle, data:userTitle});

I want the data to be what&#039;s inside the news.



Well, actually what I&#039;m using is User.. It&#039;s for a little app I&#039;m making..

I have this code:

function announceLabel(e:ListEvent):void {
	var list:List = e.target as List;
	var item:Object = e.userTitle;
	trace(&quot;Label: &quot; + item.label);
	trace(&quot;Label displayed: &quot; + list.itemToLabel(item));
	infoBox.text = list.itemToLabel(item);
	infoBox.appendText(&quot;\n&quot;);
	infoBox.appendText(item.label);
}

to display the data into a text box, but I don&#039;t have any data.


Help?</description>
		<content:encoded><![CDATA[<p>Hello, this has helped me.</p>
<p>But not on this part..</p>
<p>my_lst.addItem({label:userTitle, data:userTitle});</p>
<p>I want the data to be what&#8217;s inside the news.</p>
<p>Well, actually what I&#8217;m using is User.. It&#8217;s for a little app I&#8217;m making..</p>
<p>I have this code:</p>
<p>function announceLabel(e:ListEvent):void {<br />
	var list:List = e.target as List;<br />
	var item:Object = e.userTitle;<br />
	trace(&#8220;Label: &#8221; + item.label);<br />
	trace(&#8220;Label displayed: &#8221; + list.itemToLabel(item));<br />
	infoBox.text = list.itemToLabel(item);<br />
	infoBox.appendText(&#8220;\n&#8221;);<br />
	infoBox.appendText(item.label);<br />
}</p>
<p>to display the data into a text box, but I don&#8217;t have any data.</p>
<p>Help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martijn</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-18364</link>
		<dc:creator>Martijn</dc:creator>
		<pubDate>Fri, 17 Jul 2009 08:45:46 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-18364</guid>
		<description>Two things, 
1. &quot;Now drag a List component into stage, and name it as my_lst.&quot;
What is a list component? I draged a textfield into stage.
And 2. I get this error: 1061: Call to a possibly undefined method addItem through a reference with static type flash.text:TextField.</description>
		<content:encoded><![CDATA[<p>Two things,<br />
1. &#8220;Now drag a List component into stage, and name it as my_lst.&#8221;<br />
What is a list component? I draged a textfield into stage.<br />
And 2. I get this error: 1061: Call to a possibly undefined method addItem through a reference with static type flash.text:TextField.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flexr org</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-18208</link>
		<dc:creator>Flexr org</dc:creator>
		<pubDate>Mon, 25 May 2009 23:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-18208</guid>
		<description>I think it is a shame that Adobe didn&#039;t include error handling for XML parser failures. Most of the time you are in control of the XML that is being delivered to you, but not always. I am doing a project where I have to use XML data delivered by a company that OCR&#039;s books. Their software makes mistakes...</description>
		<content:encoded><![CDATA[<p>I think it is a shame that Adobe didn&#8217;t include error handling for XML parser failures. Most of the time you are in control of the XML that is being delivered to you, but not always. I am doing a project where I have to use XML data delivered by a company that OCR&#8217;s books. Their software makes mistakes&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: integrationgeneration</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17817</link>
		<dc:creator>integrationgeneration</dc:creator>
		<pubDate>Wed, 11 Mar 2009 01:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17817</guid>
		<description>hi, i am trying to get this done, but it does not work. i dont understand what has to be changed. 
please let me know.
ig</description>
		<content:encoded><![CDATA[<p>hi, i am trying to get this done, but it does not work. i dont understand what has to be changed.<br />
please let me know.<br />
ig</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piano Chords</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17815</link>
		<dc:creator>Piano Chords</dc:creator>
		<pubDate>Mon, 09 Mar 2009 21:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17815</guid>
		<description>Great, just what I was looking for.  Thanks!</description>
		<content:encoded><![CDATA[<p>Great, just what I was looking for.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samson</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17387</link>
		<dc:creator>samson</dc:creator>
		<pubDate>Sat, 22 Nov 2008 12:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17387</guid>
		<description>what do ya mean the (&quot;) needs to be changed to (&quot;) ???</description>
		<content:encoded><![CDATA[<p>what do ya mean the (&#8220;) needs to be changed to (&#8220;) ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BobN</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17361</link>
		<dc:creator>BobN</dc:creator>
		<pubDate>Tue, 18 Nov 2008 22:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17361</guid>
		<description>Hi Carlos do you have a link to the follow on tutorial where you define a new var as data instead of (label:newsTitle, data:newsTitle)...cannot find it on the site....and its exactly what I am looking for

Thanks ...great work!!</description>
		<content:encoded><![CDATA[<p>Hi Carlos do you have a link to the follow on tutorial where you define a new var as data instead of (label:newsTitle, data:newsTitle)&#8230;cannot find it on the site&#8230;.and its exactly what I am looking for</p>
<p>Thanks &#8230;great work!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BobN</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17360</link>
		<dc:creator>BobN</dc:creator>
		<pubDate>Tue, 18 Nov 2008 22:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17360</guid>
		<description>Works for me! now i have changed the commas in the xml document</description>
		<content:encoded><![CDATA[<p>Works for me! now i have changed the commas in the xml document</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melda</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17298</link>
		<dc:creator>Melda</dc:creator>
		<pubDate>Thu, 13 Nov 2008 11:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17298</guid>
		<description>It works now! Yep the “s in the news.xml have to be changed to &quot;</description>
		<content:encoded><![CDATA[<p>It works now! Yep the “s in the news.xml have to be changed to &#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melda</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17297</link>
		<dc:creator>Melda</dc:creator>
		<pubDate>Thu, 13 Nov 2008 11:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17297</guid>
		<description>I also got the same error as L:
TypeError: Error #1090: XML parser failure: element is malformed.
	at list_fla::MainTimeline/LoadXML()
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at flash.net::URLLoader/flash.net:URLLoader::onComplete()

What did I do wrong? Help, please..</description>
		<content:encoded><![CDATA[<p>I also got the same error as L:<br />
TypeError: Error #1090: XML parser failure: element is malformed.<br />
	at list_fla::MainTimeline/LoadXML()<br />
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at flash.net::URLLoader/flash.net:URLLoader::onComplete()</p>
<p>What did I do wrong? Help, please..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17224</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Thu, 06 Nov 2008 02:43:31 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17224</guid>
		<description>parse XML</description>
		<content:encoded><![CDATA[<p>parse XML</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanstenarios</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17204</link>
		<dc:creator>Sanstenarios</dc:creator>
		<pubDate>Tue, 04 Nov 2008 16:08:21 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17204</guid>
		<description>Would you have a link to provide regarding parsing XML to a datagrid component with html columns... in AS3 !;</description>
		<content:encoded><![CDATA[<p>Would you have a link to provide regarding parsing XML to a datagrid component with html columns&#8230; in AS3 !;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RichM</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17003</link>
		<dc:creator>RichM</dc:creator>
		<pubDate>Thu, 18 Sep 2008 22:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17003</guid>
		<description>My bad, had the same problem as with the “s around news.xml. You have to convert them all to standard &quot; rather than “. Works now, thanks.</description>
		<content:encoded><![CDATA[<p>My bad, had the same problem as with the “s around news.xml. You have to convert them all to standard &#8221; rather than “. Works now, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RichM</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17002</link>
		<dc:creator>RichM</dc:creator>
		<pubDate>Thu, 18 Sep 2008 21:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-17002</guid>
		<description>I get the same error as L... 

TypeError: Error #1090: XML parser failure: element is malformed.
	at test/LoadXML()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at flash.net::URLLoader/onComplete()

Help please! :)</description>
		<content:encoded><![CDATA[<p>I get the same error as L&#8230; </p>
<p>TypeError: Error #1090: XML parser failure: element is malformed.<br />
	at test/LoadXML()<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at flash.net::URLLoader/onComplete()</p>
<p>Help please! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: This script contains error</title>
		<link>http://flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-16963</link>
		<dc:creator>This script contains error</dc:creator>
		<pubDate>Fri, 12 Sep 2008 12:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://flashenabled.wordpress.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/#comment-16963</guid>
		<description>This script contains error. I try stept by step, and it doesn&#039;t work. Does anyone has the .fla file?</description>
		<content:encoded><![CDATA[<p>This script contains error. I try stept by step, and it doesn&#8217;t work. Does anyone has the .fla file?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
