如何在动作脚本中更改单选按钮大小和标签大小。

时间:2010-08-10 05:59:45

标签: flex flash actionscript radio-button

我试图用纯粹的as3改变我的单选按钮尺寸和标签尺寸......

searchRB = new RadioButton();
    searchRB.name = "search";
    searchRB.group = rbg;
    searchRB.label="Search";
    searchRB.labelPlacement=ButtonLabelPlacement.BOTTOM;
    searchRB.selected = true;
    searchRB.move(0, (searchInput.y + searchInput.height/3) );
    searchRB.se

//Anyone knows how to do it? Thanks...

1 个答案:

答案 0 :(得分:1)

有什么理由说这不起作用吗?

searchRB.width = someNewInteger;
searchRB.height = someNewInteger;