0 Replies Latest reply on Jan 9, 2008 4:46 AM by arik_levin

    External CSS modification

      Hi all,

      I have a situation which I need to support external CSS files editing. The customer should be able to modify his CSS files so the application will get his changes at runtime.

      I know of two available Flex solutions to this situation:
      1) External CSS approach using StyleManager - correct me if I'm wrong I need to compile CSS files to SWF to make it work.
      2) External CSS using URLLoader which load the CSS file and it can be parsed with StyleSheet object which works only on TextField and I didn't get that all the way - why only for TextField object ???

      In the first case I have to compile my CSS and in the second I have to write some code for getting the style to work with all of Flex component (using CSSStyleDeclaration)

      I'm looking for more elegant solution - is there one?

      Thank you.