10 November, 2010

Flex: load external CSS


  1. Create and compile css file (mxmlc -static-rsls=true -output=out/style.swf src/style.css)

  2. Load this style file from the application (styleManager.loadStyleDeclarations('style.swf');)