<?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: Scrolling a Flex List control horizontally</title>
	<atom:link href="http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4796</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 28 Jul 2009 15:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4796</guid>
		<description>Veena,

My earlier example shows how you can listen for changes in the selected item on a HorizontalList control by using the &lt;code&gt;change&lt;/code&gt; event: http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4730

Or, you could use the earlier solution of using some &lt;code&gt;clickFunc&lt;/code&gt; type approach which calls different methods depending on which specific item was clicked.

Or, you could look at creating a custom item renderer which may do what you want.

Peter</description>
		<content:encoded><![CDATA[<p>Veena,</p>
<p>My earlier example shows how you can listen for changes in the selected item on a HorizontalList control by using the <code>change</code> event: <a href="http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4730" rel="nofollow">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4730</a></p>
<p>Or, you could use the earlier solution of using some <code>clickFunc</code> type approach which calls different methods depending on which specific item was clicked.</p>
<p>Or, you could look at creating a custom item renderer which may do what you want.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: veena pandit</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4795</link>
		<dc:creator>veena pandit</dc:creator>
		<pubDate>Tue, 28 Jul 2009 14:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4795</guid>
		<description>Cool!  Given this example,  how do I capture the MouseEvent(MouseEvent.CLICK) when an individual item in the 
list is clicked.  I have seen the clickFunc for when you add items in a static fashion.</description>
		<content:encoded><![CDATA[<p>Cool!  Given this example,  how do I capture the MouseEvent(MouseEvent.CLICK) when an individual item in the<br />
list is clicked.  I have seen the clickFunc for when you add items in a static fashion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4794</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 28 Jul 2009 14:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4794</guid>
		<description>Veena,

My example above shows how you can add items to the HorizontalList data provider dynamically using ActionScript:
http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4725

Peter</description>
		<content:encoded><![CDATA[<p>Veena,</p>
<p>My example above shows how you can add items to the HorizontalList data provider dynamically using ActionScript:<br />
<a href="http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4725" rel="nofollow">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4725</a></p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veena Pandit</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4777</link>
		<dc:creator>Veena Pandit</dc:creator>
		<pubDate>Mon, 27 Jul 2009 19:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4777</guid>
		<description>Could you also post a small example on how to add objects to the horizontalList dynamically?

Thanks for your time.</description>
		<content:encoded><![CDATA[<p>Could you also post a small example on how to add objects to the horizontalList dynamically?</p>
<p>Thanks for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veena Pandit</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4774</link>
		<dc:creator>Veena Pandit</dc:creator>
		<pubDate>Mon, 27 Jul 2009 16:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4774</guid>
		<description>item is a subclass of button.

item.addEventListener(MouseEvent.CLICK,handleClick);

where handleClick is a event handler method</description>
		<content:encoded><![CDATA[<p>item is a subclass of button.</p>
<p>item.addEventListener(MouseEvent.CLICK,handleClick);</p>
<p>where handleClick is a event handler method</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4772</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 27 Jul 2009 14:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4772</guid>
		<description>And what is an &quot;item&quot;? How are you attaching your listeners to it?

Peter</description>
		<content:encoded><![CDATA[<p>And what is an &#8220;item&#8221;? How are you attaching your listeners to it?</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veena Pandit</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4768</link>
		<dc:creator>Veena Pandit</dc:creator>
		<pubDate>Mon, 27 Jul 2009 11:48:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4768</guid>
		<description>taskBar.dataProvider = new ArrayCollection(); in the init method
taskBar.dataProvider.addItem(item); at runtime.</description>
		<content:encoded><![CDATA[<p>taskBar.dataProvider = new ArrayCollection(); in the init method<br />
taskBar.dataProvider.addItem(item); at runtime.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4755</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 27 Jul 2009 00:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4755</guid>
		<description>How are you populating the items in the data provider at runtime?

Peter</description>
		<content:encoded><![CDATA[<p>How are you populating the items in the data provider at runtime?</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veena Pandit</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4754</link>
		<dc:creator>Veena Pandit</dc:creator>
		<pubDate>Sun, 26 Jul 2009 23:58:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4754</guid>
		<description>My dataProvider is defined like this:
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;mx:dataProvider&gt;
    &lt;mx:ArrayCollection/&gt;
&lt;/mx:dataProvider&gt;
&lt;/pre&gt;

My objects are populated at runtime. So from the example above
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;mx:dataProvider&gt;
    &lt;mx:ArrayCollection&gt;
        &lt;mx:Object label=&quot;Flex 3&quot; clickFunc=&quot;flexBtn&quot; /&gt;
        &lt;mx:Object label=&quot;Flex Builder 3&quot; clickFunc=&quot;flexBldBtn&quot; /&gt;
        &lt;mx:Object label=&quot;Flash CS4&quot; clickFunc=&quot;flashBtn&quot; /&gt;
    &lt;/mx:ArrayCollection&gt;
&lt;/mx:dataProvider&gt;
&lt;/pre&gt;

I cannot use the clickFunc

Also my event listener has a parameter that is of type MouseEvent.Click not of type Object.

(I added the semicolons; too bad you can&#039;t delete a post);</description>
		<content:encoded><![CDATA[<p>My dataProvider is defined like this:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:ArrayCollection</span><span style="color: #7400FF;">/&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:dataProvider</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>My objects are populated at runtime. So from the example above</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:ArrayCollection</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Object</span> label=<span style="color: #ff0000;">&quot;Flex 3&quot;</span> clickFunc=<span style="color: #ff0000;">&quot;flexBtn&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Object</span> label=<span style="color: #ff0000;">&quot;Flex Builder 3&quot;</span> clickFunc=<span style="color: #ff0000;">&quot;flexBldBtn&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Object</span> label=<span style="color: #ff0000;">&quot;Flash CS4&quot;</span> clickFunc=<span style="color: #ff0000;">&quot;flashBtn&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:ArrayCollection</span><span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:dataProvider</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>I cannot use the clickFunc</p>
<p>Also my event listener has a parameter that is of type MouseEvent.Click not of type Object.</p>
<p>(I added the semicolons; too bad you can&#8217;t delete a post);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/comment-page-1/#comment-4752</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Sun, 26 Jul 2009 20:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/26/scrolling-a-flex-list-control-horizontally/#comment-4752</guid>
		<description>Veena Pandit,

You need to escape the &lt; tags as &lt; and the &gt; tags as &gt;.

Peter</description>
		<content:encoded><![CDATA[<p>Veena Pandit,</p>
<p>You need to escape the &lt; tags as &amp;lt; and the &gt; tags as &amp;gt;.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
</channel>
</rss>

