Crud! Hit enter too soon!
Instead, you can do it this way:
<mx:CheckBox id="myCheckBox1" label="Check Box 1"
click="myCheckBox2.selected = !myCheckBox1.selected"/>
<mx:CheckBox id="myCheckBox2" label="Check Box 2"
click="myCheckBox1.selected = !myCheckBox2.selected"/>
On 11/08/05, Niklas Richardson <[EMAIL PROTECTED]> wrote:
> Actually, that's a super bad idea. Don't do it that way otherwise
> you'll get a circular reference and your browser / Flash will crash!
>
>
> On 11/08/05, Niklas Richardson <[EMAIL PROTECTED]> wrote:
> > You can bind each other's selected property to the other.
> >
> > Something like this:
> >
> > <mx:CheckBox id="myCheckBox1"
> > selected="{!myCheckBox2.selected}"></mx:CheckBox>
> >
> > <mx:CheckBox id="myCheckBox2"
> > selected="{!myCheckBox1.selected}"></mx:CheckBox>
> >
> >
> > On 11/08/05, Nithya R <[EMAIL PROTECTED]> wrote:
> > >
> > > hai
> > >
> > > i have two check boxes and i want them to function like radio buttons, ie
> > > it
> > > must not allow multiple selection and must support toggle funtion... how
> > > to
> > > do this? any link orsample available?
> > >
> > > thanks
> > > nithya
> > >
> > > Send instant messages to your online friends http://uk.messenger.yahoo.com
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ:
> > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > >
> > >
> > >
> > > ________________________________
> > > YAHOO! GROUPS LINKS
> > >
> > >
> > > Visit your group "flexcoders" on the web.
> > >
> > > To unsubscribe from this group, send an email to:
> > > [EMAIL PROTECTED]
> > >
> > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > >
> > > ________________________________
> > >
> > >
> > >
> >
> >
> > --
> > Niklas Richardson
> > Prismix Ltd
> >
> > Flex and ColdFusion Experts!
> >
>
>
> --
> Niklas Richardson
> Prismix Ltd
>
> Flex and ColdFusion Experts!
>
--
Niklas Richardson
Prismix Ltd
Flex and ColdFusion Experts!
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12h0228km/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123772628/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/