<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Anna Filina &#187; source code</title>
	<atom:link href="http://annafilina.com/blog/tag/source-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://annafilina.com/blog</link>
	<description>I fix stuff</description>
	<lastBuildDate>Thu, 17 May 2012 19:58:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>LinkBar was meant to be used with a ViewStack</title>
		<link>http://annafilina.com/blog/linkbar-with-a-viewstack/</link>
		<comments>http://annafilina.com/blog/linkbar-with-a-viewstack/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 16:53:19 +0000</pubDate>
		<dc:creator>Anna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://annafilina.com/blog/?p=316</guid>
		<description><![CDATA[I had to read the source code for LinkBar and its parent NavBar to understand why my LinkBar wasn&#8217;t highlighting the clicked item. Turns out, it&#8217;s because I use an ArrayCollection as a dataProvider. According to the documentation and the source code, it is possible to use an IList (such as an ArrayCollection), a String<div><a href="http://annafilina.com/blog/linkbar-with-a-viewstack/">Read the rest...</a></div><br />]]></description>
			<content:encoded><![CDATA[<p>I had to read the source code for LinkBar and its parent NavBar to understand why my LinkBar wasn&#8217;t highlighting the clicked item. Turns out, it&#8217;s because I use an ArrayCollection as a dataProvider. According to the documentation and the source code, it is possible to use an IList (such as an ArrayCollection), a String (that refers to a ViewStack in the current document) or an actual ViewStack object. But, when a selection occurs, LinkBar makes sure that we supplied a ViewStack before allowing the highlight.</p>
<p>Why, I have no idea. All I know is that I want to use an ArrayCollection as my dataProvider and still highlight clicked elements. I extended the LinkBar component with a tiny workaround. Feel free to use it as you wish.</p>
<p><a href="http://annafilina.com/blog/wp-content/uploads/2009/07/stacklesslinkbar.mxml">StacklessLinkBar</a> &#8211; forgive me if you find the name unoriginal.</p>
]]></content:encoded>
			<wfw:commentRss>http://annafilina.com/blog/linkbar-with-a-viewstack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

