<?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: Using an XML data provider with the Spark List control in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Berenice</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-9398</link>
		<dc:creator>Berenice</dc:creator>
		<pubDate>Sat, 16 Jul 2011 20:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-9398</guid>
		<description>Did you get it done&#039;?? i have the same problem i think, the nodes are saved but my combobox does not refresh when i call the httpservice =(</description>
		<content:encoded><![CDATA[<p>Did you get it done&#8217;?? i have the same problem i think, the nodes are saved but my combobox does not refresh when i call the httpservice =(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Berenice</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-9397</link>
		<dc:creator>Berenice</dc:creator>
		<pubDate>Sat, 16 Jul 2011 20:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-9397</guid>
		<description>Hey thanks for reading me, i have a huge problem, i´m saving an xml file with fileStream method, after it&#039;s saved, i call the httpService that was saved, but it does not return the last nodes I added, there&#039;s any way i can refresh the httpService so i can show the last info i saved?? please I need this to be done by now, thabk you so much</description>
		<content:encoded><![CDATA[<p>Hey thanks for reading me, i have a huge problem, i´m saving an xml file with fileStream method, after it&#8217;s saved, i call the httpService that was saved, but it does not return the last nodes I added, there&#8217;s any way i can refresh the httpService so i can show the last info i saved?? please I need this to be done by now, thabk you so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-9232</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Tue, 17 May 2011 23:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-9232</guid>
		<description>Peter,

Can you explain the difference between data binding and using Action Script?

I have an .mxml file with an external .xml file as in your example above. I compiled and the application works, but I need my &quot;configuration&quot; programmers to be able to change the data in the .xml file and see those updates in my application but it isn&#039;t working.

What am I missing here?

Thanks.

Will</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>Can you explain the difference between data binding and using Action Script?</p>
<p>I have an .mxml file with an external .xml file as in your example above. I compiled and the application works, but I need my &#8220;configuration&#8221; programmers to be able to change the data in the .xml file and see those updates in my application but it isn&#8217;t working.</p>
<p>What am I missing here?</p>
<p>Thanks.</p>
<p>Will</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhooop</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-8780</link>
		<dc:creator>madhooop</dc:creator>
		<pubDate>Wed, 29 Dec 2010 00:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-8780</guid>
		<description>Thanks for the post. This really helped me out. I wasted a ton of time before finding your code.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks for the post. This really helped me out. I wasted a ton of time before finding your code.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: charu</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-8707</link>
		<dc:creator>charu</dc:creator>
		<pubDate>Thu, 16 Dec 2010 04:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-8707</guid>
		<description>its reaaly useful for me.... thanks yar</description>
		<content:encoded><![CDATA[<p>its reaaly useful for me&#8230;. thanks yar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-8598</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 03 Dec 2010 17:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-8598</guid>
		<description>@munaj ahmad,

It is definitely possible in Flex 3, the usual gotcha is whether you&#039;re trying to use a node or attribute. You may have to try a &lt;code&gt;labelField&lt;/code&gt; of &quot;@label&quot; if you&#039;re using an attribute, or &quot;label&quot; if you&#039;re using nodes.

Peter</description>
		<content:encoded><![CDATA[<p>@munaj ahmad,</p>
<p>It is definitely possible in Flex 3, the usual gotcha is whether you&#8217;re trying to use a node or attribute. You may have to try a <code>labelField</code> of &#8220;@label&#8221; if you&#8217;re using an attribute, or &#8220;label&#8221; if you&#8217;re using nodes.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: munaj ahmad</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-8594</link>
		<dc:creator>munaj ahmad</dc:creator>
		<pubDate>Fri, 03 Dec 2010 09:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-8594</guid>
		<description>Hi,
Can we do the same with Adobe flex builder 3. If possible then please help me i am trying to load external XML file but not able to do that.
Thanks.....</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Can we do the same with Adobe flex builder 3. If possible then please help me i am trying to load external XML file but not able to do that.<br />
Thanks&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thebouv</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-8239</link>
		<dc:creator>thebouv</dc:creator>
		<pubDate>Fri, 20 Aug 2010 20:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-8239</guid>
		<description>&lt;code&gt;


&lt;/code&gt;

Trying to post the examples with the code tag, but it&#039;s not working.  I see someone else could do it, so here&#039;s my try.  I did this post with entity codes for lt and gt.</description>
		<content:encoded><![CDATA[<p>&lt;code&gt;</p>
<p>&lt;/code&gt;</p>
<p>Trying to post the examples with the code tag, but it&#8217;s not working.  I see someone else could do it, so here&#8217;s my try.  I did this post with entity codes for lt and gt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thebouv</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-8238</link>
		<dc:creator>thebouv</dc:creator>
		<pubDate>Fri, 20 Aug 2010 20:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-8238</guid>
		<description>Your examples are far more complex than what I&#039;m trying to do, but I still can&#039;t get it to work right.  In Flex 3, you can have an HTTPService grab an XML file as e4x and set your dataprovider of the List to the node  you wanted.

&lt;code&gt;

&lt;/code&gt;

But trying to switch that to s:List completely fails and shows nothing, but without error:

&lt;code&gt;

&lt;/code&gt;

From what I understand, that is because the e4x object being returned by HTTPService (even s:HTTPService) does not implment the IList interface.

Question being then:  why the hell not?
Second:  What the hell do I do instead?  I&#039;ve tried numerous other formats (default object format, XML format, Array, etc) and those do fail with errors.  Usually along the lines of not being able to convert ObjectProxy into IList.

So far for me Flex 4 is a total bust.  I thought the goal was to separate the skin from the components, but it seems other features were similarly stripped.  I think it is quite obvious that if the mx: example above works, the s: example should also work.  It is highly frustrating.</description>
		<content:encoded><![CDATA[<p>Your examples are far more complex than what I&#8217;m trying to do, but I still can&#8217;t get it to work right.  In Flex 3, you can have an HTTPService grab an XML file as e4x and set your dataprovider of the List to the node  you wanted.</p>
<p><code></p>
<p></code></p>
<p>But trying to switch that to s:List completely fails and shows nothing, but without error:</p>
<p><code></p>
<p></code></p>
<p>From what I understand, that is because the e4x object being returned by HTTPService (even s:HTTPService) does not implment the IList interface.</p>
<p>Question being then:  why the hell not?<br />
Second:  What the hell do I do instead?  I&#8217;ve tried numerous other formats (default object format, XML format, Array, etc) and those do fail with errors.  Usually along the lines of not being able to convert ObjectProxy into IList.</p>
<p>So far for me Flex 4 is a total bust.  I thought the goal was to separate the skin from the components, but it seems other features were similarly stripped.  I think it is quite obvious that if the mx: example above works, the s: example should also work.  It is highly frustrating.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blog.flexexamples.com/2009/11/04/using-an-xml-data-provider-with-the-spark-list-control-in-flex-4/comment-page-1/#comment-7201</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 10 Mar 2010 07:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/?p=2163#comment-7201</guid>
		<description>Sorry - am just now seeing your reply.  It seems to get around the issue with addChild().  Thanks for suggesting the work-around!</description>
		<content:encoded><![CDATA[<p>Sorry &#8211; am just now seeing your reply.  It seems to get around the issue with addChild().  Thanks for suggesting the work-around!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

