3 Replies Latest reply on May 27, 2010 1:36 AM by Raveesh Roshan

    CheckBox or RadioButton gets converted to Button

    Raveesh Roshan

      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 and then put it in a Panel Container.

       


      The problem is that it appears to be a Button. However it behaves like RadioButton.
      Even for CheckBox it becomes Button; but beahves like CheckBox.

       

      I have found similar problem at the following location.

      http://forums.adobe.com/message/2195853

       

      438cac93dd.png

      The above image is how the Radio Button is rendered.

      and the Text "RadioButton1" was actually label of RadioButton that I had set..