0 Replies Latest reply on May 3, 2010 2:48 AM by UbuntuPenguin

    Use created skin state

    UbuntuPenguin Level 4

      tl;dr How do I change a components state to a new state defined in a custom skin.

      Hello Everyone ,

        I have created a new component that extends Panel ( NewPanel.as ).  I have created a skin for NewPanel.as , in which the new skin has an additional state (newState).  What must I do to make an instance of my NewPanel class change its visual state to "newState".  Most of the examples on the internet , show a button and changing its default states , but not adding a brand new one.

       

      Sincerely ,

        Ubu