3 Replies Latest reply on Jul 13, 2010 10:00 AM by Flex harUI

    StyleManager.loadStyleDeclarations doesn't work in AIR??

    Pepe.FxUG Level 1

      I'm trying to load runtime-css in Adobe AIR.

      However, it always said "SWF is not a loadable module".


      I have two questions.


      Question 1.

      Does not StyleManager.loadStyleDeclarations work with native-path?


      I tried to load the swf from server. Of course I put crossdomain.xml like bellow.


      <?xml version="1.0"?>

      <!DOCTYPE cross-domain-policy SYSTEM




        <site-control permitted-cross-domain-policies="master-only"/>

        <allow-access-from domain="*"/>

        <allow-http-request-headers-from domain="*" headers="SOAPAction"/>


      However, it never work. It just said "SWF is not a loadable module" again.
      Question 2.
      StyleManager.loadStyleDeclarations never work in Adobe AIR ?
      Shigeru Nakagaki