5 Replies Latest reply on Dec 7, 2009 9:15 AM by Ned Murphy

    CheckBox Component

    BrianStapleton

      Hi all,

      My CheckBox component (instance name: "chkSubscribe") is not returning a correct value when I use the trace function. This is the actionscript I'm using:

       

      if (chkSubscribe.getValue()) {
                  myData.WishtoReceive = "yes";
              } else {
                  myData.WishtoReceive = "no";
              }

       

      The check box is set to true but, no matter whether the box is clicked on or off, the trace function always returns the "yes" value.

      Any idea where I'm going wrong?