0 Replies Latest reply on May 22, 2008 10:41 AM by nmpg\pmorris

    Skinning with CSS in Flex

    nmpg\pmorris
      I have a question regarding the best way to apply a CSS file to a component or application. I have tried compiling my CSS files into a SWF and then loading them at runtime like the first line of code below which would be associated with the root tag. This has worked fine.

      But it's also possible to point to the file using the "Style" tag placed within the root tag like in the second line of code.

      Any thoughts on whether one is preferred? If one or both are preferred at different times depending on other variables what might those variables be?