CheckBox gets converted to Button in Flex

Posted by Ravz on Stack Overflow See other posts from Stack Overflow or by Ravz
Published on 2010-05-26T14:55:38Z Indexed on 2010/05/27 8:31 UTC
Read the original article Hit count: 235

Filed under:
|
|

Hi,

I am new to Flex, so please bear with me.

I have encountered a strange problem. There's a ActionScript class which dynamically creates basic UI element.

So I create RadioButton as

var rBtn:RadioButton = new RadioButton();

and then put it in a Panel Container.

The problem is that it appears to be a Button. However it behaves like RadioButton.

alt text

I have found this problem with one more guy who has posted it here. CheckBoxes and RadioButton looks like Push Buttons.

Please help me out with this.

Thanks.

© Stack Overflow or respective owner

Related posts about flex

Related posts about flex3