2 Replies Latest reply on Jul 20, 2009 10:00 PM by w.johnson

    resolving custom component skins


      In a stylesheet, namespace declarations exist for spark and mx components that allow a flex component name to resolve to a type selector that binds that component with its skin.



      @namespace s "library://ns.adobe.com/flex/spark";

      s|Button { skinClass: ClassReference(" ...ButtonSkin"); }


      I want to use the same method for my custom components and skins, but what namespace declaration do I use?




      mxml file:

      <myc:CustomComponent ... />


      stylesheet file:

      @namespace ? "?"


      ?|CustomComponent {

        skinClass: ClassReference("com...skins.CustomComponentSkin");