<?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: Setting the selected indices on a Spark List control in Flex 4</title>
	<atom:link href="http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-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: Penguineer</title>
		<link>http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/comment-page-1/#comment-9105</link>
		<dc:creator>Penguineer</dc:creator>
		<pubDate>Mon, 04 Apr 2011 20:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/#comment-9105</guid>
		<description>I can&#039;t seem to get my commands to set selectedIndices.  Here is some of my code and what happens:

trace (&quot;last Indices&quot; + _lastSelectedIndices_vector);
//vector is created and loaded elsewhere. Trace shows proper selected indices.

trace (&quot;current Indices&quot; + selectedIndices);
//trace shows current indices.

if (_lastSelectedIndices_vector){
    selectedIndices = _lastSelectedIndices_vector;
}

trace (&quot;selected Indices&quot; + selectedIndices);
//trace shows original selected Indices

I have tried several formats for the setting command but no joy.

Suggestions?</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to get my commands to set selectedIndices.  Here is some of my code and what happens:</p>
<p>trace (&#8220;last Indices&#8221; + _lastSelectedIndices_vector);<br />
//vector is created and loaded elsewhere. Trace shows proper selected indices.</p>
<p>trace (&#8220;current Indices&#8221; + selectedIndices);<br />
//trace shows current indices.</p>
<p>if (_lastSelectedIndices_vector){<br />
    selectedIndices = _lastSelectedIndices_vector;<br />
}</p>
<p>trace (&#8220;selected Indices&#8221; + selectedIndices);<br />
//trace shows original selected Indices</p>
<p>I have tried several formats for the setting command but no joy.</p>
<p>Suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/comment-page-1/#comment-4410</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 23 Jun 2009 14:43:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/#comment-4410</guid>
		<description>JabbyPanda,

Right you are! It looks like the Vector.&lt;Number&gt; was changed to Vector.&lt;int&gt;.

I updated the example above and verified it with build 8031.

Peter</description>
		<content:encoded><![CDATA[<p>JabbyPanda,</p>
<p>Right you are! It looks like the Vector.&lt;Number&gt; was changed to Vector.&lt;int&gt;.</p>
<p>I updated the example above and verified it with build 8031.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda</title>
		<link>http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/comment-page-1/#comment-4411</link>
		<dc:creator>JabbyPanda</dc:creator>
		<pubDate>Tue, 23 Jun 2009 08:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/#comment-4411</guid>
		<description>I&#039;ve downloaded the latest daily build as of today (4.0.0.8031, Sat Jun 20, 2009), still the error is here:

Description	Resource	Path	Location	Type
1067: Implicit coercion of a value of type __AS3__.vec:Vector. to an unrelated type __AS3__.vec:Vector..	Hello3.mxml	Hello3/src	line 19	Flex Problem</description>
		<content:encoded><![CDATA[<p>I&#8217;ve downloaded the latest daily build as of today (4.0.0.8031, Sat Jun 20, 2009), still the error is here:</p>
<p>Description	Resource	Path	Location	Type<br />
1067: Implicit coercion of a value of type __AS3__.vec:Vector. to an unrelated type __AS3__.vec:Vector..	Hello3.mxml	Hello3/src	line 19	Flex Problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/comment-page-1/#comment-4237</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 19 Jun 2009 13:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/#comment-4237</guid>
		<description>Anonymous,

Are you using Flex SDK 4.0.0.7916, or newer? &lt;a href=&quot;http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4&quot; rel=&quot;nofollow&quot;&gt;&lt;u&gt;http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4&lt;/u&gt;&lt;/a&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Anonymous,</p>
<p>Are you using Flex SDK 4.0.0.7916, or newer? <a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4" rel="nofollow"><u><a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4" rel="nofollow">http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4</a></u></a></p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/comment-page-1/#comment-4236</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 19 Jun 2009 07:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/#comment-4236</guid>
		<description>Description	Resource	Path	Location	Type
1067: Implicit coercion of a value of type __AS3__.vec:Vector. to an unrelated type Array.	ListIndcs.mxml	GumboExample/src	line 15	Flex Problem</description>
		<content:encoded><![CDATA[<p>Description	Resource	Path	Location	Type<br />
1067: Implicit coercion of a value of type __AS3__.vec:Vector. to an unrelated type Array.	ListIndcs.mxml	GumboExample/src	line 15	Flex Problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/comment-page-1/#comment-4235</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 17 Jun 2009 23:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2009/06/16/setting-the-selected-indices-on-a-spark-list-control-in-flex-4/#comment-4235</guid>
		<description>Note: This example requires Flex SDK 4.0.0.7916, or newer.</description>
		<content:encoded><![CDATA[<p>Note: This example requires Flex SDK 4.0.0.7916, or newer.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

