4 Replies Latest reply on Sep 30, 2010 5:13 PM by flexy_flex

    Loading a Flex 4 theme at runtime?

    flexy_flex Level 1

      Is there a way to load a Flex 4 theme at runtime?

       

      I built a library SWC, but it appears from random comments on the web (I can't find any official commentary on this) that .SWC's cannot be loaded at runtime.  My own experiments show that both ModuleLoader.loadModule() and resourceManager.loadResourceModule() return "Error #2124: Loaded file is an unknown type. URL: MyTheme.swc"

       

      If I can't load themes at runtime, what is the recommended way of gathering all the images, css, skins, etc for a particular look in Flex 4?