3 Replies Latest reply on Nov 14, 2011 4:39 PM by Flex harUI

    States

    Zolotoj Level 3

      I have the following states:

      <s:states>

              <s:State name="notEditing"/>

              <s:State name="editing"/>

          </s:states>

      [Embed(source="asset/icons/accept.png")]

              protected var editableAccept:Class

              [Embed(source="asset/icons/edit.png")]

              protected var editableEdit:Class

       

      and code:

      <s:Button icon.notEditing="{editableEdit}" icon.editing="{editableAccept}"/>

      I am getting binding warning on the line above.

       

      Should I expect it working anyway?

       

      Thanks, Mark