iterating through radiobuttons
Is there a way to iterate through radiobuttons belonging to a certain group or movieclip? Like this:
private var radioButtons:RadioButtonGroup = new RadioButtonGroup("radioButtons");
for (var i:int = 0; i < radioButtons.numRadioButtons; i++ )
{
trace(radioButtons);
// Here i want to do something like this: radioButtons[i].la开发者_运维问答bel = "hello";
}
radioButtons.getRadioButtonAt( i )
getRadioButtonAt documentation
精彩评论