1 Reply Latest reply on Feb 3, 2009 7:47 PM by Newsgroup_User

    stateful skins with custom states

    pulse00
      Hi, i'm desperately trying to create a stateful skins with custom states defined in my component.

      However, all stateful skins examples i've found so far use built-in flex statex, mostly from buttons, to accomplish this.

      when i define my own states, the ProgrammaticSkin class doesn't seem to know about my custom states.

      Has anyone a hint how to do this ?

      thanks!
        • 1. Re: stateful skins with custom states
          Level 7

          "pulse00" <webforumsuser@macromedia.com> wrote in message
          news:gmaoou$bta$1@forums.macromedia.com...
          > Hi, i'm desperately trying to create a stateful skins with custom states
          > defined in my component.
          >
          > However, all stateful skins examples i've found so far use built-in flex
          > statex, mostly from buttons, to accomplish this.
          >
          > when i define my own states, the ProgrammaticSkin class doesn't seem to
          > know
          > about my custom states.
          >
          > Has anyone a hint how to do this ?

          What are you wanting to apply the skins to that knows how to get the state
          information into your skin?