5 Replies Latest reply on Sep 23, 2010 2:32 AM by samortan

    How to check if radio button is selected?


      Hi, I know how to select radio button, but hte question is - how to check if this radio has been selected?


      to select radio button, I use:

      _root.rb_choice_1.selected = true;


      And I thought that checking it's state should be similar, but it's not working;


      trace("choice 1 selectd");



      and this is not working, too:


      if(_root.rb_choice_1.selected == true){
      trace("choice 1 selectd");




      What I am doing wrong?