【发布时间】:2011-05-02 17:02:58
【问题描述】:
我已经四处寻找了一段时间,但找不到任何东西。在 Flex 中,我需要能够将选中的 RadioButton 的 fontWeight 更改为粗体。因此,当一个 RadioButton 被选中时,它会调用 AS3 中的一个函数来设置所选 RadioButton 的 fontWeight...
valveRadioGroup.addEventListener(Event.CHANGE, changeRadioHandler);
private function changeRadioHandler(event:Event):void {
//change this RadioButton's fontWeight to bold
}
当它未被选中时,它还需要恢复到正常的 fontWeight。有谁知道这是否可能?谢谢!
【问题讨论】:
标签: flash actionscript-3 flex4 radio-button flash-builder