<?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: Toggling a Flex container&#8217;s visibility using states</title>
	<atom:link href="http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/</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: Josef</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-9334</link>
		<dc:creator>Josef</dc:creator>
		<pubDate>Sat, 25 Jun 2011 12:51:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-9334</guid>
		<description>Very nice blog about view state. 
I have also gone through following links which are also helpful in case of View State

http://jksnu.blogspot.com/2011/06/view-state-difference-between-flex3-and.html
http://jksnu.blogspot.com/2011/06/view-state-difference-between-flex3-and_24.html</description>
		<content:encoded><![CDATA[<p>Very nice blog about view state.<br />
I have also gone through following links which are also helpful in case of View State</p>
<p><a href="http://jksnu.blogspot.com/2011/06/view-state-difference-between-flex3-and.html" rel="nofollow">http://jksnu.blogspot.com/2011/06/view-state-difference-between-flex3-and.html</a><br />
<a href="http://jksnu.blogspot.com/2011/06/view-state-difference-between-flex3-and_24.html" rel="nofollow">http://jksnu.blogspot.com/2011/06/view-state-difference-between-flex3-and_24.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-5880</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 30 Sep 2009 06:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-5880</guid>
		<description>use the tag initially mentioning as .After that continue with ur original program as u have proceeded earlier.its work definitely.k</description>
		<content:encoded><![CDATA[<p>use the tag initially mentioning as .After that continue with ur original program as u have proceeded earlier.its work definitely.k</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nidi</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-4274</link>
		<dc:creator>Nidi</dc:creator>
		<pubDate>Mon, 29 Jun 2009 17:20:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-4274</guid>
		<description>good aricle . Here i found another good article explaining use of states for creating a website using states in flex .
here is link  :
&lt;a href=&#039;http://askmeflash.com/tutorial_m.php?p=tutorial&amp;tid=0&#039; rel=&quot;nofollow&quot;&gt;http://askmeflash.com/tutorial_m.php?p=tutorial&amp;tid=0&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>good aricle . Here i found another good article explaining use of states for creating a website using states in flex .<br />
here is link  :<br />
<a href='http://askmeflash.com/tutorial_m.php?p=tutorial&amp;tid=0' rel="nofollow">http://askmeflash.com/tutorial_m.php?p=tutorial&#038;tid=0</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-802</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Fri, 08 May 2009 01:20:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-802</guid>
		<description>@Jules:

Have you tried using currentState=null? I know that&#039;s supposed to be the Base State.</description>
		<content:encoded><![CDATA[<p>@Jules:</p>
<p>Have you tried using currentState=null? I know that&#8217;s supposed to be the Base State.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jules</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-803</link>
		<dc:creator>Jules</dc:creator>
		<pubDate>Wed, 20 Aug 2008 15:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-803</guid>
		<description>Great article, helped me a lot. I am stuck with a very odd problem though:

Inside a component, I got a VBox that removes all its childs when you click (anwhere) on the VBox and adds some other childs. It basically removes some text and adds a button. When you click on that button which is located inside the state, it should switch back to the base state, but that does not work. It fires the event, but it does not jump into the base state via &lt;code&gt;currentState=&#039;&#039;&lt;/code&gt;. When the button is outside of the state, it works.

Any help? Drives me mad... here is an extract of the code:

&lt;pre class=&quot;code&quot;&gt;
&lt;mx:State name=&quot;changeContent&quot;&gt;
  &lt;mx:RemoveChild target=&quot;{child1}&quot;/&gt;
  &lt;mx:RemoveChild target=&quot;{child2}&quot;/&gt;
  ...
  &lt;mx:AddChild relativeTo=&quot;{myVBox}&quot;&gt;
    &lt;mx:Button id=&quot;changeAgain&quot; label=&quot;close&quot; click=&quot;currentState=&#039;&#039;;&quot; /&gt;
    ...
  &lt;/mx:AddChild&gt;
  &lt;mx:SetEventHandler target=&quot;{myVBox}&quot; name=&quot;click&quot; handler=&quot;{null}&quot; /&gt;
  &lt;mx:SetEventHandler target=&quot;{changeAgain}&quot; name=&quot;click&quot; handler=&quot;currentState=&#039;&#039;;&quot; /&gt;
&lt;/mxState&gt;

...
...

&lt;mx:VBox id=&quot;myVBox&quot; click=&quot;currentState=&#039;changeContent&#039;&quot; &gt; ...&lt;/VBox&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Great article, helped me a lot. I am stuck with a very odd problem though:</p>
<p>Inside a component, I got a VBox that removes all its childs when you click (anwhere) on the VBox and adds some other childs. It basically removes some text and adds a button. When you click on that button which is located inside the state, it should switch back to the base state, but that does not work. It fires the event, but it does not jump into the base state via <code>currentState=''</code>. When the button is outside of the state, it works.</p>
<p>Any help? Drives me mad&#8230; here is an extract of the code:</p>
<pre class="code">
&lt;mx:State name="changeContent"&gt;
  &lt;mx:RemoveChild target="{child1}"/&gt;
  &lt;mx:RemoveChild target="{child2}"/&gt;
  ...
  &lt;mx:AddChild relativeTo="{myVBox}"&gt;
    &lt;mx:Button id="changeAgain" label="close" click="currentState='';" /&gt;
    ...
  &lt;/mx:AddChild&gt;
  &lt;mx:SetEventHandler target="{myVBox}" name="click" handler="{null}" /&gt;
  &lt;mx:SetEventHandler target="{changeAgain}" name="click" handler="currentState='';" /&gt;
&lt;/mxState&gt;

...
...

&lt;mx:VBox id="myVBox" click="currentState='changeContent'" &gt; ...&lt;/VBox&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunny</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-801</link>
		<dc:creator>Sunny</dc:creator>
		<pubDate>Thu, 03 Jan 2008 00:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-801</guid>
		<description>Started working with Flex. got stuck in the beginning itself..




































What I want is When you click on &quot;Application Admin&quot; Tab I want to show the &quot;_tool_admin_que&quot; State. And when I am in &quot;_tool_admin_que&quot; ( that is &quot;Application Admin&quot; tab) state and click on &quot;Login&quot; tab, I want to show &quot;_login&quot; state.


How do I do it? Any help please? click event does not work on canvas. want to make the header work like a URL link.</description>
		<content:encoded><![CDATA[<p>Started working with Flex. got stuck in the beginning itself..</p>
<p>What I want is When you click on &#8220;Application Admin&#8221; Tab I want to show the &#8220;_tool_admin_que&#8221; State. And when I am in &#8220;_tool_admin_que&#8221; ( that is &#8220;Application Admin&#8221; tab) state and click on &#8220;Login&#8221; tab, I want to show &#8220;_login&#8221; state.</p>
<p>How do I do it? Any help please? click event does not work on canvas. want to make the header work like a URL link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pierre</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-796</link>
		<dc:creator>pierre</dc:creator>
		<pubDate>Thu, 30 Aug 2007 15:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-796</guid>
		<description>Exactly that i&#039;m looking for. Thank for this example. Is it possible in a new example to add a VBox 4 witch appear between the VBox 2 and VBox 3 when you click on a new button put in the VBox 2. Thanks</description>
		<content:encoded><![CDATA[<p>Exactly that i&#8217;m looking for. Thank for this example. Is it possible in a new example to add a VBox 4 witch appear between the VBox 2 and VBox 3 when you click on a new button put in the VBox 2. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: victor</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-800</link>
		<dc:creator>victor</dc:creator>
		<pubDate>Tue, 28 Aug 2007 12:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-800</guid>
		<description>This should be the most usefull blog for flex developers after adobe&#039;s flex website.You were added to favourites. Thanks and waiting for more :)</description>
		<content:encoded><![CDATA[<p>This should be the most usefull blog for flex developers after adobe&#8217;s flex website.You were added to favourites. Thanks and waiting for more :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex Bookmarks</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-797</link>
		<dc:creator>Flex Bookmarks</dc:creator>
		<pubDate>Sat, 25 Aug 2007 09:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-797</guid>
		<description>This is great for starters, we have added your blog.</description>
		<content:encoded><![CDATA[<p>This is great for starters, we have added your blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charly</title>
		<link>http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/comment-page-1/#comment-799</link>
		<dc:creator>Charly</dc:creator>
		<pubDate>Fri, 24 Aug 2007 17:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/24/toggling-a-flex-containers-visibility-using-states/#comment-799</guid>
		<description>Me, too ;-)</description>
		<content:encoded><![CDATA[<p>Me, too ;-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

