<?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: Determining which item was clicked in a Flex LinkBar control</title>
	<atom:link href="http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/</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: Oncle dave</title>
		<link>http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/comment-page-1/#comment-2305</link>
		<dc:creator>Oncle dave</dc:creator>
		<pubDate>Wed, 13 May 2009 21:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/#comment-2305</guid>
		<description>Well, too late for Shally Virk, but someone else might need it:

ItemSelection active or not:
&lt;pre class=&quot;code&quot;&gt;
public function linkBar_itemClick(event:ItemClickEvent):void
{
	var bar:LinkBar = event.target as LinkBar;
	var len:uint = bar.numChildren;
	for (var i:int = 0; i &lt; len; i++)
	{
		Button(bar.getChildAt(i)).enabled = (i!=event.index);
	}
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Well, too late for Shally Virk, but someone else might need it:</p>
<p>ItemSelection active or not:</p>
<pre class="code">
public function linkBar_itemClick(event:ItemClickEvent):void
{
	var bar:LinkBar = event.target as LinkBar;
	var len:uint = bar.numChildren;
	for (var i:int = 0; i &lt; len; i++)
	{
		Button(bar.getChildAt(i)).enabled = (i!=event.index);
	}
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oncle dave</title>
		<link>http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/comment-page-1/#comment-2307</link>
		<dc:creator>Oncle dave</dc:creator>
		<pubDate>Wed, 13 May 2009 21:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/#comment-2307</guid>
		<description>Well, too late for &#039;Shally Virk&#039;, but someone else might find it useful:

Linkbar button active or not:

public function linkBar_itemClick(event:ItemClickEvent):void
{
	var bar:LinkBar = event.target as LinkBar;
	var len:uint = bar.numChildren;
	for (var i:int = 0; i</description>
		<content:encoded><![CDATA[<p>Well, too late for &#8216;Shally Virk&#8217;, but someone else might find it useful:</p>
<p>Linkbar button active or not:</p>
<p>public function linkBar_itemClick(event:ItemClickEvent):void<br />
{<br />
	var bar:LinkBar = event.target as LinkBar;<br />
	var len:uint = bar.numChildren;<br />
	for (var i:int = 0; i</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/comment-page-1/#comment-2306</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 03 Dec 2008 23:52:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/#comment-2306</guid>
		<description>Superb! Just what I was looking for :-)</description>
		<content:encoded><![CDATA[<p>Superb! Just what I was looking for :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shally Virk</title>
		<link>http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/comment-page-1/#comment-2308</link>
		<dc:creator>Shally Virk</dc:creator>
		<pubDate>Sat, 02 Aug 2008 07:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/16/determining-which-item-was-clicked-in-a-flex-linkbar-control/#comment-2308</guid>
		<description>Nice tutorial but the thing i&#039;m desperately trying to get at is how to determine the index of the item which has the mouse over it, lets say the mouse hoves over which item, that is the question.
Any suggesstions will be appreciated.
Regards,
Virk</description>
		<content:encoded><![CDATA[<p>Nice tutorial but the thing i&#8217;m desperately trying to get at is how to determine the index of the item which has the mouse over it, lets say the mouse hoves over which item, that is the question.<br />
Any suggesstions will be appreciated.<br />
Regards,<br />
Virk</p>
]]></content:encoded>
	</item>
</channel>
</rss>

