<?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>Stephen Gray&#039;s dev blog &#187; radio button group</title>
	<atom:link href="http://blog.s-gray.com/tag/radio-button-group/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.s-gray.com</link>
	<description>e-commerce and integrations</description>
	<lastBuildDate>Sun, 17 Jan 2010 09:32:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex getting selected RadioButton value</title>
		<link>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/</link>
		<comments>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 11:21:33 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[radio button]]></category>
		<category><![CDATA[radio button group]]></category>
		<category><![CDATA[selectedValue]]></category>

		<guid isPermaLink="false">http://colourgray.wordpress.com/?p=65</guid>
		<description><![CDATA[This is a pretty simple one but there are surprisingly few tutorials showing the user simply how to get a selected RadioButtonGroup&#8217;s value.
There are quite a number of tutorials covering change event triggers for RadioButton controls but this is slightly different.
Say you have a form and you want to process the RadioButton value after submitting [...]]]></description>
			<content:encoded><![CDATA[<p>This is a pretty simple one but there are surprisingly few tutorials showing the user simply how to get a selected RadioButtonGroup&#8217;s value.</p>
<p>There are quite a number of tutorials covering change event triggers for RadioButton controls but this is slightly different.</p>
<p>Say you have a form and you want to process the RadioButton value after submitting the form instead of when the value of it changes.</p>
<p>To do this you actually have to create a RadioButtonGroup MXML tag for the radio buttons and select the value using the &#8217;selectedValue&#8217; property of that RadioButtonGroup:</p>
<p><code>&lt;mx:RadioButtonGroup id="myRadioButtonGroup" enabled="true" /&gt;</code><br />
<code>&lt;mx:RadioButton label="I like RadioButtons" groupName="{myRadioButtonGroup}" left="505" top="64" selected="true" value="true"/&gt;</code><br />
<code>&lt;mx:RadioButton label="I don't like RadioButtons" groupName="{myRadioButtonGroup}" left="348" top="62" value="false"/&gt;</code></p>
<p>Notice the {} around the groupName attributes of the RadioButton controls. You can then do this to select the value:</p>
<p><code>Alert.show(myRadioButtonGroup.selectedValue.toString());</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s-gray.com/2008/08/11/flex-getting-selected-radiobutton-value/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

