<?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/"
		>
<channel>
	<title>Comments on: AS3 Using XML data and parse it to a List Component &#8211; FLASH CS3</title>
	<atom:link href="http://www.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://www.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, 31 Aug 2010 14:11:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Web Designing Company</title>
		<link>http://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-1717</link>
		<dc:creator>Web Designing Company</dc:creator>
		<pubDate>Sun, 01 Aug 2010 07:35:49 +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-1717</guid>
		<description>Great work. Nice post.. very helpful this is exaclty what i was looking for..</description>
		<content:encoded><![CDATA[<p>Great work. Nice post.. very helpful this is exaclty what i was looking for..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grzegorz Widla</title>
		<link>http://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-1654</link>
		<dc:creator>Grzegorz Widla</dc:creator>
		<pubDate>Tue, 29 Jun 2010 07:29: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-1654</guid>
		<description>@ Martijn

I know it&#039;s been almost a year already but maybe someone needs very same knowledge.

Component are nothing more than blocks of pre-made code you can populate with data. There are few default components in Flash, for example List, FLVPlayback or UILoader to name most known. You can access them by opening Components window (and edit using Component Inspector) by clicking on Window -&gt; Components on the top bar in Flash. They appear in the application from Flash MX version.

Your second issue is showing that method addItem is not defined for TextField, which is of course right. You need to open Components window, drag list component and name it&#039;s instance &#039;my_lst&#039; to follow the tutorial.

Good luck!</description>
		<content:encoded><![CDATA[<p>@ Martijn</p>
<p>I know it&#8217;s been almost a year already but maybe someone needs very same knowledge.</p>
<p>Component are nothing more than blocks of pre-made code you can populate with data. There are few default components in Flash, for example List, FLVPlayback or UILoader to name most known. You can access them by opening Components window (and edit using Component Inspector) by clicking on Window -&gt; Components on the top bar in Flash. They appear in the application from Flash MX version.</p>
<p>Your second issue is showing that method addItem is not defined for TextField, which is of course right. You need to open Components window, drag list component and name it&#8217;s instance &#8216;my_lst&#8217; to follow the tutorial.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fighterlegend</title>
		<link>http://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-661</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-661</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://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-660</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-660</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://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-659</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-659</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://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-658</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-658</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://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-657</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-657</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://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-656</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-656</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://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-655</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-655</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://www.flashenabledblog.com/2008/02/16/as3-using-xml-data-and-parse-it-to-a-list-component-flash-cs3/comment-page-1/#comment-654</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-654</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>
</channel>
</rss>
