0 Replies Latest reply on Nov 13, 2009 12:18 AM by bchalupka-syPD9H

    Flex 4: How do I create a skin library

    bchalupka-syPD9H

      For a customer I need to implement a skin for an Air application that is changeable without recompiling.

      My plan was:

      Creating a library in which all skins are in, so that I can give out the code of this library or a simpler one.

      Then if another skin is needed the swf of that library is replaced in the air-container.

       

      A problem with that is that if I create a library project and put all my mxml skins in it, the skins are not compiled into the library. I get a lot errors that the classes could not be found.

       

      My question is: is there any way to implement this in a better way? If not: is there a way to integrate mxml skins in libraries?