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.