[flexcoders] Re: Yes/No RadioButton

2010-06-14 Thread Gaurav
Make a function which deselect both of the radio button. like var chkSelected:Boolean = false; function deselectAll() { for(var i=0; i<2; i++) { chk[i].selected==false; } } function selectToggle() { if(chkSelected) { delselectAll(); chkSelected = false; } else {

[flexcoders] Re: Yes/No RadioButton

2010-06-11 Thread turbo_vb
Well. it's pretty clear that the answer can only be yes or no in this case, so use a RadioButtonGroup for the two RadioButtons. -TH --- In flexcoders@yahoogroups.com, "jossminker" wrote: > > Can you clarify? Do you mean you ahve two radio buttons one for no and one > for yes? > In which case t

[flexcoders] Re: Yes/No RadioButton

2010-06-11 Thread jossminker
Can you clarify? Do you mean you ahve two radio buttons one for no and one for yes? In which case the mode of operation the user would expect is to deselect YES by selecting NO instead. If it is a button which if selected denotes yes and if not selected denotes No then you should be using checkb