Programmer: Flex 4.5 Pre seleting a Radio Button
I'm using an XML File and so far things are OK. But now I'm trying to pre-select a Radio button and I can find no where to give an example just ways to detect click event and thing like that. The selected value is a string coming from the XML file. There are five radio buttons How do I match the string to the radio button.
Thanks in advance and any help is greatly appreciated
RadioButtons need to be in same group to prevent multiple selection. There is property for that:
For select, there is property:
myRadioButton.selected //true or false
And you can compare string from your xml if its equal with: