开发者

iterating through radiobuttons

开发者 https://www.devze.com 2022-12-15 11:29 出处:网络
Is there a way to iterate through radiobuttons belonging to a certain group or movieclip? Like this: private var radioButtons:RadioButtonGroup = new RadioButtonGroup(\"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

精彩评论

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