Tag Archive for 'selection'

06
Jan

Clearing a selected RadioButton control in Flex

The following example shows how you can use ActionScript to clear a currently selected radio button by setting the RadioButtonGroup class’s selection property to null.

Full code after the jump.

Continue reading ‘Clearing a selected RadioButton control in Flex’

17
Oct

Creating a simple multiple-choice quiz using the RadioButton and RadioButtonGroup controls

The following example shows how you can make a very simple multiple-choice type quiz using the RadioButton and RadioButtonGroup controls. Each time you make an incorrect choice and click the check answers button, the selected (incorrect) choice is removed from the Flex application. If you select the correct answer and click the check answers button, all the incorrect answers are removed.

Full code after the jump.

Continue reading ‘Creating a simple multiple-choice quiz using the RadioButton and RadioButtonGroup controls’