开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜