• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Web based RIA with no outward connection to the Internet

New Here ,
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

Hi All.

I'm just having an experiment at the moment, trying to get a development environment running on a Windows 7 64 bit box. It's actually going quite well - only a few hiccups along the way with mxmlc not liking JAVA_HOME to point at the JDK (which is fine under XP), but it does like it pointing at the JRE within the JDK.

Once everything was up and running, I tried to test my application. It kind-of works, but is unable to load the themes. The themes are compiled from a CSS file using MXMLC, and result in a file called Theme.swf. This is loaded using the application styleManager.loadStyleDeclarations method.

On my desktop machine, connected to the internet, this all works fine.

On this test machine, which is not connected to the 'net, because it's a corporate build, the styles don't load. In the console, I see...

[SWF] /ILM/index.swf - 6,575,011 bytes after decompression

[SWF] /ILM/styles/Theme.swf - 165,925 bytes after decompression

Error: Failed to load policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml


Warning: Failed to load policy file from http://fpdownload.adobe.com/crossdomain.xml


*** Security Sandbox Violation ***

Connection to http://fpdownload.adobe.com/pub/swz/tlf/1.0.0.595/textLayout_1.0.0.595.swz halted - not permitted from http://localhost:8080/ILM/styles/Theme.swf

Error #2048: Security sandbox violation: http://localhost:8080/ILM/styles/Theme.swf cannot load data from http://fpdownload.adobe.com/pub/swz/tlf/1.0.0.595/textLayout_1.0.0.595.swz.

Failed to load RSL http://fpdownload.adobe.com/pub/swz/tlf/1.0.0.595/textLayout_1.0.0.595.swz

Failing over to RSL textLayout_1.0.0.595.swz

Error: Request for resource at http://fpdownload.adobe.com/pub/swz/tlf/1.0.0.595/textLayout_1.0.0.595.swz by requestor from http://localhost:8080/ILM/styles/Theme.swf is denied due to lack of policy file permissions.

Is it possible to either compile these swz files into the theme, or host them locally.
Similarly, how do I put our own crossdomain file in so that it will be picked up by the app?
The end app will be run within secure corporate environments, which we can't guarantee will have access to the 'net.
Thanks in advance,
Pete.

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 20, 2010 Aug 20, 2010

Copy link to clipboard

Copied

LATEST

This appears to be a Flex question Please try the Flex forums heres http://forums.adobe.com/community/flex/flex_general_discussion

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines