2 Replies Latest reply on Jun 26, 2009 6:58 PM by Ramon F Herrera

    Need 2 JavaScript statements, to inspect and to set a button's icon

    Ramon F Herrera Level 1

      I need to make appear/disappear a Button's icon.

       

      This would be similar to:

       

          radioButton.strokeColor = color.transparent;
          radioButton.strokeColor = color.black;


      but the target would be the Button's icon, instead of the current stroke.

       

      I also need a way to inspect the current status of that Button's icon (is it visible?). So, I need a get() and I need a set().

       

      TIA,

       

      -Ramon