<?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: Displaying CheckBox controls using the Repeater in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/</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: Shailen TJ</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-9422</link>
		<dc:creator>Shailen TJ</dc:creator>
		<pubDate>Tue, 26 Jul 2011 14:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-9422</guid>
		<description>What is the purpose of the doFilter function in this example?</description>
		<content:encoded><![CDATA[<p>What is the purpose of the doFilter function in this example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-9007</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Mon, 28 Feb 2011 21:02:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-9007</guid>
		<description>Okay I think I&#039;ve found a clue here..

http://blog.flexexamples.com/2009/03/10/using-the-repeater-class-in-flex-gumbo/

.. still the above doesn&#039;t solve my question..

if I have 8 different labels for the checkboxes, and I am using a single repeater, then how would I divide those 8 components as first 4 and then next 4.. as mentioned in my above comment</description>
		<content:encoded><![CDATA[<p>Okay I think I&#8217;ve found a clue here..</p>
<p><a href="http://blog.flexexamples.com/2009/03/10/using-the-repeater-class-in-flex-gumbo/" rel="nofollow">http://blog.flexexamples.com/2009/03/10/using-the-repeater-class-in-flex-gumbo/</a></p>
<p>.. still the above doesn&#8217;t solve my question..</p>
<p>if I have 8 different labels for the checkboxes, and I am using a single repeater, then how would I divide those 8 components as first 4 and then next 4.. as mentioned in my above comment</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-9006</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Mon, 28 Feb 2011 20:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-9006</guid>
		<description>Okay Now.. !!! How to deal with Equally spaced Horizontal Layout for Checkboxes mentioned above.. I need something like this:

Red   Orange  Yellow   Green
    Blue   Black   Violet   Pink

.. Consider the above as the layout of the checkboxes</description>
		<content:encoded><![CDATA[<p>Okay Now.. !!! How to deal with Equally spaced Horizontal Layout for Checkboxes mentioned above.. I need something like this:</p>
<p>Red   Orange  Yellow   Green<br />
    Blue   Black   Violet   Pink</p>
<p>.. Consider the above as the layout of the checkboxes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HQ</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-8770</link>
		<dc:creator>HQ</dc:creator>
		<pubDate>Fri, 24 Dec 2010 07:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-8770</guid>
		<description>Thank alot Peter!

Your example realy hepl me to settle my troubles.</description>
		<content:encoded><![CDATA[<p>Thank alot Peter!</p>
<p>Your example realy hepl me to settle my troubles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dishanka</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-6727</link>
		<dc:creator>dishanka</dc:creator>
		<pubDate>Tue, 05 Jan 2010 04:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-6727</guid>
		<description>great work peter.</description>
		<content:encoded><![CDATA[<p>great work peter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dionisius colossus</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-4837</link>
		<dc:creator>dionisius colossus</dc:creator>
		<pubDate>Thu, 30 Jul 2009 05:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-4837</guid>
		<description>@Peter deHaan:

Thanks! your comment is very helpful! Exactly what i needed!
Thanks again!!</description>
		<content:encoded><![CDATA[<p>@Peter deHaan:</p>
<p>Thanks! your comment is very helpful! Exactly what i needed!<br />
Thanks again!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rodrigo</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-4334</link>
		<dc:creator>Rodrigo</dc:creator>
		<pubDate>Thu, 25 Jun 2009 15:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-4334</guid>
		<description>Hello friend, first let me say that the post is very good and I’m here again to ask you one more help. I’m trying to use mx: Repeater for a repetition of a Canvas, the problem is that I’m doing it and seeking the data in a database with php and I do not know how. Can you help me? Below the code to better understand:

Flex in the file:
					&lt;mx:Repeater id=&quot;myRepeater&quot; dataProvider=&quot;{dataCont.lastResult.xmlrecCont.xmlRepeater}&quot; &gt;
					&lt;mx:Canvas width=&quot;80%&quot; height=&quot;80&quot; backgroundColor=&quot;#E3E3E3&quot; left=&quot;10&quot; top=&quot;85&quot; themeColor=&quot;#4BB6B7&quot; borderColor=&quot;#BFBEBE&quot; cornerRadius=&quot;5&quot; borderStyle=&quot;solid&quot; borderThickness=&quot;1&quot;&gt;
						&lt;mx:Label text=&quot;RI:&quot; left=&quot;5&quot; top=&quot;5&quot; width=&quot;28&quot; height=&quot;20&quot; fontWeight=&quot;bold&quot;/&gt;
						&lt;mx:Label text=&quot;Tipo:&quot; left=&quot;5&quot; top=&quot;30&quot; width=&quot;35&quot; height=&quot;20&quot; fontWeight=&quot;bold&quot;/&gt;
						&lt;mx:Label text=&quot;Razão Social:&quot; left=&quot;75&quot; top=&quot;5&quot; width=&quot;80&quot; height=&quot;20&quot; fontWeight=&quot;bold&quot;/&gt;
						&lt;mx:Label text=&quot;Data:&quot; width=&quot;40&quot; height=&quot;20&quot; right=&quot;138&quot; top=&quot;30&quot; fontWeight=&quot;bold&quot;/&gt;
						&lt;mx:Label text=&quot;Número Contrato&quot; width=&quot;110&quot; height=&quot;20&quot; right=&quot;68&quot; top=&quot;55&quot; fontWeight=&quot;bold&quot;/&gt;
						&lt;mx:Label text=&quot;Situação:&quot; width=&quot;60&quot; height=&quot;20&quot; top=&quot;55&quot; fontWeight=&quot;bold&quot; left=&quot;5&quot;/&gt;
						&lt;mx:Label width=&quot;30&quot; height=&quot;20&quot; top=&quot;5&quot; left=&quot;41&quot; text=&quot;{dataCont.lastResult.xmlrecCont.xmlRI}&quot; textAlign=&quot;left&quot;/&gt;
						&lt;mx:Label width=&quot;80&quot; height=&quot;20&quot; top=&quot;30&quot; left=&quot;41&quot; text=&quot;{dataCont.lastResult.xmlrecCont.xmlTpo}&quot;/&gt;
						&lt;mx:Label width=&quot;80&quot; height=&quot;20&quot; top=&quot;55&quot; left=&quot;75&quot; text=&quot;{dataCont.lastResult.xmlrecCont.xmlSit}&quot;/&gt;
						&lt;mx:Label width=&quot;70&quot; height=&quot;20&quot; top=&quot;55&quot; right=&quot;5&quot; text=&quot;{dataCont.lastResult.xmlrecCont.xmlId_cont}&quot;/&gt;
						&lt;mx:Label height=&quot;20&quot; top=&quot;5&quot; text=&quot;{dataCont.lastResult.xmlrecCont.xmlRazso_no}&quot; textAlign=&quot;left&quot; left=&quot;160&quot; right=&quot;5&quot;/&gt;
						&lt;mx:Label width=&quot;135&quot; height=&quot;20&quot; right=&quot;5&quot; top=&quot;30&quot; text=&quot;{dataCont.lastResult.xmlrecCont.xmlDate}&quot;/&gt;
					&lt;/mx:Canvas&gt;
					&lt;/mx:Repeater&gt;



In the PHP file:

&lt;?php

require_once(&quot;conexao.php&quot;);

$id_rep = &quot;1&quot;;
$mysql_select = &quot;SELECT * FROM projcont WHERE id_rep = &#039;$id_rep&#039;&quot;;
$mysql_query  = mysql_query($mysql_select);
$mysql_fetch  = mysql_fetch_array($mysql_query);

$cto  = &quot;&lt;xmlrecCont&gt;&quot;;
if($mysql_query) {
	$cto .= &quot;&lt;xmlRepeater&gt;&quot;;
	$cto .= $mysql_fetch  = mysql_fetch_array($mysql_query);
	$cto .= &quot;&lt;/xmlRepeater&gt;&quot;;
	$cto .= &quot;&lt;xmlRI&gt;&quot;;
	$cto .= $mysql_fetch[&#039;ID_cad&#039;];
	$cto .= &quot;&lt;/xmlRI&gt;&quot;;
	$cto .= &quot;&lt;xmlRazso_no&gt;&quot;;
	$cto .= $mysql_fetch[&#039;razso_no&#039;];
	$cto .= &quot;&lt;/xmlRazso_no&gt;&quot;;
	$cto .= &quot;&lt;xmlTpo&gt;&quot;;
	$cto .= $mysql_fetch[&#039;tpo&#039;];
	$cto .= &quot;&lt;/xmlTpo&gt;&quot;;
	$cto .= &quot;&lt;xmlData&gt;&quot;;
	$cto .= $mysql_fetch[&#039;data&#039;];
	$cto .= &quot;&lt;/xmlData&gt;&quot;;
	$cto .= &quot;&lt;xmlSit&gt;&quot;;
	$cto .= $mysql_fetch[&#039;sit&#039;];
	$cto .= &quot;&lt;/xmlSit&gt;&quot;;
	$cto .= &quot;&lt;xmlId_cont&gt;&quot;;
	$cto .= $mysql_fetch[&#039;id_cont&#039;];
	$cto .= &quot;&lt;/xmlId_cont&gt;&quot;;
} else {
	$cto .= &quot;Error mysql_query&quot;;
}
$cto     .= &quot;&lt;/xmlrecCont&gt;&quot;;

echo($cto);

?&gt;

Thank you already!</description>
		<content:encoded><![CDATA[<p>Hello friend, first let me say that the post is very good and I’m here again to ask you one more help. I’m trying to use mx: Repeater for a repetition of a Canvas, the problem is that I’m doing it and seeking the data in a database with php and I do not know how. Can you help me? Below the code to better understand:</p>
<p>Flex in the file:<br />
					&lt;mx:Repeater id=&#8221;myRepeater&#8221; dataProvider=&#8221;{dataCont.lastResult.xmlrecCont.xmlRepeater}&#8221; &gt;<br />
					&lt;mx:Canvas width=&#8221;80%&#8221; height=&#8221;80&#8243; backgroundColor=&#8221;#E3E3E3&#8243; left=&#8221;10&#8243; top=&#8221;85&#8243; themeColor=&#8221;#4BB6B7&#8243; borderColor=&#8221;#BFBEBE&#8221; cornerRadius=&#8221;5&#8243; borderStyle=&#8221;solid&#8221; borderThickness=&#8221;1&#8243;&gt;<br />
						&lt;mx:Label text=&#8221;RI:&#8221; left=&#8221;5&#8243; top=&#8221;5&#8243; width=&#8221;28&#8243; height=&#8221;20&#8243; fontWeight=&#8221;bold&#8221;/&gt;<br />
						&lt;mx:Label text=&#8221;Tipo:&#8221; left=&#8221;5&#8243; top=&#8221;30&#8243; width=&#8221;35&#8243; height=&#8221;20&#8243; fontWeight=&#8221;bold&#8221;/&gt;<br />
						&lt;mx:Label text=&#8221;Razão Social:&#8221; left=&#8221;75&#8243; top=&#8221;5&#8243; width=&#8221;80&#8243; height=&#8221;20&#8243; fontWeight=&#8221;bold&#8221;/&gt;<br />
						&lt;mx:Label text=&#8221;Data:&#8221; width=&#8221;40&#8243; height=&#8221;20&#8243; right=&#8221;138&#8243; top=&#8221;30&#8243; fontWeight=&#8221;bold&#8221;/&gt;<br />
						&lt;mx:Label text=&#8221;Número Contrato&#8221; width=&#8221;110&#8243; height=&#8221;20&#8243; right=&#8221;68&#8243; top=&#8221;55&#8243; fontWeight=&#8221;bold&#8221;/&gt;<br />
						&lt;mx:Label text=&#8221;Situação:&#8221; width=&#8221;60&#8243; height=&#8221;20&#8243; top=&#8221;55&#8243; fontWeight=&#8221;bold&#8221; left=&#8221;5&#8243;/&gt;<br />
						&lt;mx:Label width=&#8221;30&#8243; height=&#8221;20&#8243; top=&#8221;5&#8243; left=&#8221;41&#8243; text=&#8221;{dataCont.lastResult.xmlrecCont.xmlRI}&#8221; textAlign=&#8221;left&#8221;/&gt;<br />
						&lt;mx:Label width=&#8221;80&#8243; height=&#8221;20&#8243; top=&#8221;30&#8243; left=&#8221;41&#8243; text=&#8221;{dataCont.lastResult.xmlrecCont.xmlTpo}&#8221;/&gt;<br />
						&lt;mx:Label width=&#8221;80&#8243; height=&#8221;20&#8243; top=&#8221;55&#8243; left=&#8221;75&#8243; text=&#8221;{dataCont.lastResult.xmlrecCont.xmlSit}&#8221;/&gt;<br />
						&lt;mx:Label width=&#8221;70&#8243; height=&#8221;20&#8243; top=&#8221;55&#8243; right=&#8221;5&#8243; text=&#8221;{dataCont.lastResult.xmlrecCont.xmlId_cont}&#8221;/&gt;<br />
						&lt;mx:Label height=&#8221;20&#8243; top=&#8221;5&#8243; text=&#8221;{dataCont.lastResult.xmlrecCont.xmlRazso_no}&#8221; textAlign=&#8221;left&#8221; left=&#8221;160&#8243; right=&#8221;5&#8243;/&gt;<br />
						&lt;mx:Label width=&#8221;135&#8243; height=&#8221;20&#8243; right=&#8221;5&#8243; top=&#8221;30&#8243; text=&#8221;{dataCont.lastResult.xmlrecCont.xmlDate}&#8221;/&gt;<br />
					&lt;/mx:Canvas&gt;<br />
					&lt;/mx:Repeater&gt;</p>
<p>In the PHP file:</p>
<p>&lt;?php</p>
<p>require_once(&#8220;conexao.php&#8221;);</p>
<p>$id_rep = &#8220;1&#8243;;<br />
$mysql_select = &#8220;SELECT * FROM projcont WHERE id_rep = &#8216;$id_rep&#8217;&#8221;;<br />
$mysql_query  = mysql_query($mysql_select);<br />
$mysql_fetch  = mysql_fetch_array($mysql_query);</p>
<p>$cto  = &#8220;&lt;xmlrecCont&gt;&#8221;;<br />
if($mysql_query) {<br />
	$cto .= &#8220;&lt;xmlRepeater&gt;&#8221;;<br />
	$cto .= $mysql_fetch  = mysql_fetch_array($mysql_query);<br />
	$cto .= &#8220;&lt;/xmlRepeater&gt;&#8221;;<br />
	$cto .= &#8220;&lt;xmlRI&gt;&#8221;;<br />
	$cto .= $mysql_fetch['ID_cad'];<br />
	$cto .= &#8220;&lt;/xmlRI&gt;&#8221;;<br />
	$cto .= &#8220;&lt;xmlRazso_no&gt;&#8221;;<br />
	$cto .= $mysql_fetch['razso_no'];<br />
	$cto .= &#8220;&lt;/xmlRazso_no&gt;&#8221;;<br />
	$cto .= &#8220;&lt;xmlTpo&gt;&#8221;;<br />
	$cto .= $mysql_fetch['tpo'];<br />
	$cto .= &#8220;&lt;/xmlTpo&gt;&#8221;;<br />
	$cto .= &#8220;&lt;xmlData&gt;&#8221;;<br />
	$cto .= $mysql_fetch['data'];<br />
	$cto .= &#8220;&lt;/xmlData&gt;&#8221;;<br />
	$cto .= &#8220;&lt;xmlSit&gt;&#8221;;<br />
	$cto .= $mysql_fetch['sit'];<br />
	$cto .= &#8220;&lt;/xmlSit&gt;&#8221;;<br />
	$cto .= &#8220;&lt;xmlId_cont&gt;&#8221;;<br />
	$cto .= $mysql_fetch['id_cont'];<br />
	$cto .= &#8220;&lt;/xmlId_cont&gt;&#8221;;<br />
} else {<br />
	$cto .= &#8220;Error mysql_query&#8221;;<br />
}<br />
$cto     .= &#8220;&lt;/xmlrecCont&gt;&#8221;;</p>
<p>echo($cto);</p>
<p>?&gt;</p>
<p>Thank you already!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-3320</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 07 May 2009 15:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-3320</guid>
		<description>Taqi,

Something like this:

&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application name=&quot;Repeater_CheckBox_test&quot;
        xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;
        verticalAlign=&quot;middle&quot;
        backgroundColor=&quot;white&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.CheckBox;

            private function button_click(evt:Event):void {
                var idx:int;
                var len:int = arr.length;
                for (idx=0; idx&lt;len; idx++) {
                    // invert:
                    //checkBox[idx].selected = !checkBox[idx].selected;

                    // toggle:
                    checkBox[idx].selected = button.selected;
                }
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:Array id=&quot;arr&quot;&gt;
        &lt;mx:Object label=&quot;Red&quot; data=&quot;red&quot; /&gt;
        &lt;mx:Object label=&quot;Orange&quot; data=&quot;haloOrange&quot; /&gt;
        &lt;mx:Object label=&quot;Yellow&quot; data=&quot;yellow&quot; /&gt;
        &lt;mx:Object label=&quot;Green&quot; data=&quot;haloGreen&quot; /&gt;
        &lt;mx:Object label=&quot;Blue&quot; data=&quot;haloBlue&quot; /&gt;
    &lt;/mx:Array&gt;

    &lt;mx:Panel id=&quot;panel&quot; width=&quot;50%&quot; paddingLeft=&quot;10&quot; verticalGap=&quot;10&quot;&gt;
        &lt;mx:Repeater id=&quot;checkBoxRepeater&quot; dataProvider=&quot;{arr}&quot;&gt;
            &lt;mx:CheckBox id=&quot;checkBox&quot;
                    label=&quot;{checkBoxRepeater.currentItem.label}&quot;
                    data=&quot;{checkBoxRepeater.currentItem.data}&quot; /&gt;
        &lt;/mx:Repeater&gt;
        &lt;mx:ControlBar horizontalAlign=&quot;right&quot;&gt;
            &lt;mx:Button id=&quot;button&quot;
                    label=&quot;Toggle all checkboxes&quot;
                    toggle=&quot;true&quot;
                    emphasized=&quot;true&quot;
                    click=&quot;button_click(event);&quot; /&gt;
        &lt;/mx:ControlBar&gt;
    &lt;/mx:Panel&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

You can comment/uncomment some of the ActionScript logic based on if you want to toggle or invert the selected items.

Peter</description>
		<content:encoded><![CDATA[<p>Taqi,</p>
<p>Something like this:</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application name="Repeater_CheckBox_test"
        xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.CheckBox;

            private function button_click(evt:Event):void {
                var idx:int;
                var len:int = arr.length;
                for (idx=0; idx&lt;len; idx++) {
                    // invert:
                    //checkBox[idx].selected = !checkBox[idx].selected;

                    // toggle:
                    checkBox[idx].selected = button.selected;
                }
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:Array id="arr"&gt;
        &lt;mx:Object label="Red" data="red" /&gt;
        &lt;mx:Object label="Orange" data="haloOrange" /&gt;
        &lt;mx:Object label="Yellow" data="yellow" /&gt;
        &lt;mx:Object label="Green" data="haloGreen" /&gt;
        &lt;mx:Object label="Blue" data="haloBlue" /&gt;
    &lt;/mx:Array&gt;

    &lt;mx:Panel id="panel" width="50%" paddingLeft="10" verticalGap="10"&gt;
        &lt;mx:Repeater id="checkBoxRepeater" dataProvider="{arr}"&gt;
            &lt;mx:CheckBox id="checkBox"
                    label="{checkBoxRepeater.currentItem.label}"
                    data="{checkBoxRepeater.currentItem.data}" /&gt;
        &lt;/mx:Repeater&gt;
        &lt;mx:ControlBar horizontalAlign="right"&gt;
            &lt;mx:Button id="button"
                    label="Toggle all checkboxes"
                    toggle="true"
                    emphasized="true"
                    click="button_click(event);" /&gt;
        &lt;/mx:ControlBar&gt;
    &lt;/mx:Panel&gt;

&lt;/mx:Application&gt;
</pre>
<p>You can comment/uncomment some of the ActionScript logic based on if you want to toggle or invert the selected items.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taqi</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-3323</link>
		<dc:creator>Taqi</dc:creator>
		<pubDate>Thu, 07 May 2009 06:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-3323</guid>
		<description>How can we select and delect all checkboxes in repeater by clicking on a button</description>
		<content:encoded><![CDATA[<p>How can we select and delect all checkboxes in repeater by clicking on a button</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/comment-page-1/#comment-3321</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 10 Dec 2008 18:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/05/29/displaying-checkbox-controls-using-the-repeater-in-flex/#comment-3321</guid>
		<description>Awesome example, thanks for the help!</description>
		<content:encoded><![CDATA[<p>Awesome example, thanks for the help!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

