<?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: Dynamic Tabs selectedIndex bug</title>
	<atom:link href="http://www.axelscript.com/2009/04/27/dynamic-tabs-selectedindex-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.axelscript.com/2009/04/27/dynamic-tabs-selectedindex-bug/</link>
	<description>Axel Jensen on Flex, Coldfusion and... other stuff</description>
	<lastBuildDate>Tue, 06 Dec 2011 15:13:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: mhayden</title>
		<link>http://www.axelscript.com/2009/04/27/dynamic-tabs-selectedindex-bug/comment-page-1/#comment-3375</link>
		<dc:creator>mhayden</dc:creator>
		<pubDate>Fri, 28 Jan 2011 18:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.axelscript.com/?p=313#comment-3375</guid>
		<description>I was able to solve this by using:

var oldSelectedIndex:int = this.tabNavigator.selectedIndex;
					this.tabNavigator.selectedIndex = 0;
					this.tabNavigator.dispatchEvent(new IndexChangeEvent(IndexChangedEvent.CHANGE,true,false, oldSelectedIndex, 0));</description>
		<content:encoded><![CDATA[<p>I was able to solve this by using:</p>
<p>var oldSelectedIndex:int = this.tabNavigator.selectedIndex;<br />
					this.tabNavigator.selectedIndex = 0;<br />
					this.tabNavigator.dispatchEvent(new IndexChangeEvent(IndexChangedEvent.CHANGE,true,false, oldSelectedIndex, 0));</p>
]]></content:encoded>
	</item>
</channel>
</rss>

