3 Replies Latest reply on May 11, 2011 9:31 AM by Flex harUI

    Getter being called in this code rather than my setter

    nikos101 Level 2

      Why is my getter being called in this code rather than my setter

       

       

      <Button >
              <click>
                  <![CDATA[
                      arroValies.onV=false;
                  ]]>
              </click>
          </Button>

       

       

       

       

       

       

      ______________________________________________________

          public function get onV():Boolean
          {
              return _on;
          }
         
          /**
           *  @private
           */   
          public function set onV(value:Boolean):void
          {
              if (value == _on)
                  return;

       

              _on = value;           
              dispatchEvent(new FlexEvent(FlexEvent.VALUE_COMMIT));
              invalidateSkinState();
          }