0 Replies Latest reply on Dec 5, 2007 4:45 PM by IDIOTA

    Removing Default Theme

    IDIOTA Level 1
      I have been trying to create a lighter Flex application by replacing the default theme with a bare-bone theme. I notice, however, that Flex Builder 2 still import the default theme to the SWF.

      I've searched through the web and I found this from LiveDocs http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Live Docs_Book_Parts&file=styles_069_17.html

      quote:

      Flex implicitly loads the defaults.css file and applies it to the Flex application during compilation. You can explicitly point to another file for the default styles by using the defaults-css-url compiler option. You can also rename the defaults.css file or remove it from the framework.swc file to disable it.


      I tried doing this (removing the defaults.css from framework.swc, and replacing it with institutional.css, after renaming it to defaults.css), but then I got runtime errors from the Flash Player.

      Any thoughts? Thanks a lot!