8 Replies Latest reply on Jan 19, 2012 4:30 AM by jfb00

    Apply styles to modules

    jfb00 Level 3

      Hi All,

      I have an application using modules (FB4.6 using 4.5 sdk), I am trying to use one css file for all (App and modules).

      First I convert styles.css to be inline file. Then I called this swf file from the main app as:

      FlexGlobals.topLevelApplication.styleManager.loadStyleDeclarations("styles/styles.swf",tru e);

      also as:


      But, It is not working. Am I missing something?

      I follow this instructions

      http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f8c.html#WS2d b454920e96a9e51e63e3d11c0bf69084-7e6d