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

need some help with security sandbox stuff asap please

New Here ,
May 20, 2010 May 20, 2010

Copy link to clipboard

Copied

hey guys... so im trying to do a swfLoader call to a swf on a server from my actionscript on my local machine, when i do that i get the security sandbox violation error.... i tried adding a crossdomain.xml file to the server that has the following code in it

<cross-domain-policy>
     <site-control permitted-cross-domain-policies="master-only"/>
     <allow-access-from domain="*"/>
     <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
</cross-domain-policy>

and in my actionscript on application initialize i do

initialize="init(); Security.loadPolicyFile('http://myServer.com/crossdomain.xml')"

i also do

Security.allowDomain("http://myServer.com");


any ideas???? oh and i also went to this website http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.html and set the always allow trust locations to "/"

any ideas on how i could possible fix this problem?? ive been trying to get around this problem for the last 2 days!!

please help!!!!

Views

373

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
Jun 02, 2010 Jun 02, 2010

Copy link to clipboard

Copied

LATEST

Hi,

Please use policy file logging to check the exact error. This should shed some light on the problem.The procedure is detailed here.

http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_05.html

Nishad

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