<?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 form item visibility in a Form container in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/10/03/toggling-form-item-visibility-in-a-form-container-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/10/03/toggling-form-item-visibility-in-a-form-container-in-flex/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Fri, 19 Mar 2010 20:35:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://blog.flexexamples.com/2008/10/03/toggling-form-item-visibility-in-a-form-container-in-flex/comment-page-1/#comment-5414</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 28 Aug 2009 02:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/03/toggling-form-item-visibility-in-a-form-container-in-flex/#comment-5414</guid>
		<description>How would I go about causing the container to become invisible when I pressed the button for the next?

As in I bring the BCC form up, but when I press the show form button not only would the show form container cause itself to show but also make the BCC form disappear.  I&#039;m having this problem when trying to use this technique to toggle multiple vbox/image containers.

Any help would be appreciated.</description>
		<content:encoded><![CDATA[<p>How would I go about causing the container to become invisible when I pressed the button for the next?</p>
<p>As in I bring the BCC form up, but when I press the show form button not only would the show form container cause itself to show but also make the BCC form disappear.  I&#8217;m having this problem when trying to use this technique to toggle multiple vbox/image containers.</p>
<p>Any help would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavlos</title>
		<link>http://blog.flexexamples.com/2008/10/03/toggling-form-item-visibility-in-a-form-container-in-flex/comment-page-1/#comment-3882</link>
		<dc:creator>Pavlos</dc:creator>
		<pubDate>Tue, 25 Nov 2008 01:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/03/toggling-form-item-visibility-in-a-form-container-in-flex/#comment-3882</guid>
		<description>Many, many thanks. I had serious issues into trying to find how to refer to dynamically generated formItems and your AS code saved the day!

Your example can be extended. The controls I wanted to put were coming from an external source, so I did not know what they were at design time. So I tried to remove the need to define bccTextInput and bccFormItem so they could ultimately come from variables:

private var aref:Object;

private function init():void {
[...]
  aref = new Object();
  aref[&#039;bccTextInput&#039;] = new TextInput();
  aref[&#039;bccTextInput&#039;].percentWidth = 100;

  aref[&#039;bccFormItem&#039;] = new FormItem();
  aref[&#039;bccFormItem&#039;].label = &quot;BCC:&quot;;
  aref[&#039;bccFormItem&#039;].percentWidth = 100;

  aref[&#039;bccFormItem&#039;].addChild(aref[&#039;bccTextInput&#039;]);
[...]

Then replace all references of bccFormItem with aref[&#039;bccFormItem&#039;].</description>
		<content:encoded><![CDATA[<p>Many, many thanks. I had serious issues into trying to find how to refer to dynamically generated formItems and your AS code saved the day!</p>
<p>Your example can be extended. The controls I wanted to put were coming from an external source, so I did not know what they were at design time. So I tried to remove the need to define bccTextInput and bccFormItem so they could ultimately come from variables:</p>
<p>private var aref:Object;</p>
<p>private function init():void {<br />
[...]<br />
  aref = new Object();<br />
  aref['bccTextInput'] = new TextInput();<br />
  aref['bccTextInput'].percentWidth = 100;</p>
<p>  aref['bccFormItem'] = new FormItem();<br />
  aref['bccFormItem'].label = &#8220;BCC:&#8221;;<br />
  aref['bccFormItem'].percentWidth = 100;</p>
<p>  aref['bccFormItem'].addChild(aref['bccTextInput']);<br />
[...]</p>
<p>Then replace all references of bccFormItem with aref['bccFormItem'].</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean DiZazzo</title>
		<link>http://blog.flexexamples.com/2008/10/03/toggling-form-item-visibility-in-a-form-container-in-flex/comment-page-1/#comment-3883</link>
		<dc:creator>Sean DiZazzo</dc:creator>
		<pubDate>Sun, 05 Oct 2008 09:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/03/toggling-form-item-visibility-in-a-form-container-in-flex/#comment-3883</guid>
		<description>Great site.  Just beginning to explore Flex, and I&#039;ve come across your site a few times now.

May I make a suggestion?  Since the flex examples include large sections of GUI related code, it would help if the pertinent code to a specific post were easy to find.  Maybe highlighted within the example?

Thank you!</description>
		<content:encoded><![CDATA[<p>Great site.  Just beginning to explore Flex, and I&#8217;ve come across your site a few times now.</p>
<p>May I make a suggestion?  Since the flex examples include large sections of GUI related code, it would help if the pertinent code to a specific post were easy to find.  Maybe highlighted within the example?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
