Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-21 Thread Ward Loockx
Alex Harui schreef:

 Please post the entire contents of the window that shows the 
 exception. I would expect to see a call stack with line numbers if you 
 are using a debug build

 -Original Message-
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com] On Behalf Of Ward Loockx
 Sent: Thursday, November 20, 2008 8:30 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF 
 files cannot use the LoaderContext.securityDomain property

 Alex Harui schreef:
 
  First you have to identify which code is causing the violation. Post
  the entire violation. It should contain more information about which
  component is doing the violation. Once you figure that out, then you
  can try to workaround it, but testing from the server instead of the
  local filesystem is recommended as someday you will deploy the app to
  a server and you'll have different security rules in such a 
 configuration.
 
  A workaround if a SWFLoader has trustContent=true
 
  SWFLoader id=ldr trustContent=true /
 
  Is
 
  SWFLOader id=ldr preinitialize=if (Security.sandboxType=='remote')
  ldr.trustContent=true else ldr.trustContent=false /
 
  *From:* flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com]
  *On Behalf Of *Ward Loockx
  *Sent:* Tuesday, November 18, 2008 12:06 AM
  *To:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF
  files cannot use the LoaderContext.securityDomain property
 
  Alex Harui schreef:
  
   Some code somewhere is trying to set a SecurityDomain parameter in a
   LoaderContext. There are parameters like trustContent on SWFLoader
   that can trigger that code. Unfortunately you can only run such code
   when deployed to HTTP:// and not from FILE:://. You might need to put
   in some conditional code to deal with it
  
  
  
   *From:* flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
  mailto:flexcoders%40yahoogroups.com
  [mailto:flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com]
   *On Behalf Of *Ward Loockx
   *Sent:* Monday, November 17, 2008 9:07 AM
   *To:* flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
   *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF
   files cannot use the LoaderContext.securityDomain property
  
  
  
   valdhor schreef:
   
Try adding your bin-debug directory to your Global Security Settings
Manager
   
  
  
 (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
  
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
  
   
  
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
  
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)
   
--- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
  mailto:flexcoders%40yahoogroups.com
  mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Ward Loockx [EMAIL PROTECTED] 
wrote:

 Hello,

 When I'm trying to load images from a remote server I get the
   following
 error message..

 *Security sandbox violation: local SWF files cannot use the
 LoaderContext.securityDomain property*

 I've been googling and nothing that works for me. When I put the
   swf on
 the remote server it loads the images perfect! I've tried 
 everything
 (Crossdomain

RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-21 Thread Alex Harui
By default, the Image/SWFLoader should not be setting the loaderContext's 
securityDomain.  If trustContent=true it will and will cause this problem.  If 
you supplied a custom loaderContext, you could also have this problem.  I would 
try to find out how the loaderContext is getting set.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward 
Loockx
Sent: Friday, November 21, 2008 12:03 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files 
cannot use the LoaderContext.securityDomain property


Alex Harui schreef:

 Please post the entire contents of the window that shows the
 exception. I would expect to see a call stack with line numbers if you
 are using a debug build

 -Original Message-
 From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com] On Behalf Of Ward Loockx
 Sent: Thursday, November 20, 2008 8:30 AM
 To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
 Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF
 files cannot use the LoaderContext.securityDomain property

 Alex Harui schreef:
 
  First you have to identify which code is causing the violation. Post
  the entire violation. It should contain more information about which
  component is doing the violation. Once you figure that out, then you
  can try to workaround it, but testing from the server instead of the
  local filesystem is recommended as someday you will deploy the app to
  a server and you'll have different security rules in such a
 configuration.
 
  A workaround if a SWFLoader has trustContent=true
 
  SWFLoader id=ldr trustContent=true /
 
  Is
 
  SWFLOader id=ldr preinitialize=if (Security.sandboxType=='remote')
  ldr.trustContent=true else ldr.trustContent=false /
 
  *From:* flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com]
  *On Behalf Of *Ward Loockx
  *Sent:* Tuesday, November 18, 2008 12:06 AM
  *To:* flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com
  *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF
  files cannot use the LoaderContext.securityDomain property
 
  Alex Harui schreef:
  
   Some code somewhere is trying to set a SecurityDomain parameter in a
   LoaderContext. There are parameters like trustContent on SWFLoader
   that can trigger that code. Unfortunately you can only run such code
   when deployed to HTTP:// and not from FILE:://. You might need to put
   in some conditional code to deal with it
  
  
  
   *From:* flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
  mailto:flexcoders%40yahoogroups.com
  [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com]
   *On Behalf Of *Ward Loockx
   *Sent:* Monday, November 17, 2008 9:07 AM
   *To:* flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
   *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF
   files cannot use the LoaderContext.securityDomain property
  
  
  
   valdhor schreef:
   
Try adding your bin-debug directory to your Global Security Settings
Manager
   
  
 
 (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
  
 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
  
   
  
 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 
  
 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help

Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-20 Thread Ward Loockx
Alex Harui schreef:

 First you have to identify which code is causing the violation. Post 
 the entire violation. It should contain more information about which 
 component is doing the violation. Once you figure that out, then you 
 can try to workaround it, but testing from the server instead of the 
 local filesystem is recommended as someday you will deploy the app to 
 a server and you’ll have different security rules in such a configuration.

 A workaround if a SWFLoader has trustContent=true

 SWFLoader id=”ldr” trustContent=”true” /

 Is

 SWFLOader id=”ldr” preinitialize=”if (Security.sandboxType==’remote’) 
 ldr.trustContent=true else ldr.trustContent=false” /

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Ward Loockx
 *Sent:* Tuesday, November 18, 2008 12:06 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF 
 files cannot use the LoaderContext.securityDomain property

 Alex Harui schreef:
 
  Some code somewhere is trying to set a SecurityDomain parameter in a
  LoaderContext. There are parameters like trustContent on SWFLoader
  that can trigger that code. Unfortunately you can only run such code
  when deployed to HTTP:// and not from FILE:://. You might need to put
  in some conditional code to deal with it
 
 
 
  *From:* flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com]
  *On Behalf Of *Ward Loockx
  *Sent:* Monday, November 17, 2008 9:07 AM
  *To:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF
  files cannot use the LoaderContext.securityDomain property
 
 
 
  valdhor schreef:
  
   Try adding your bin-debug directory to your Global Security Settings
   Manager
  
  
 (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  

  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  

 
  
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  

  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)
  
   --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com
   mailto:flexcoders%40yahoogroups.com, Ward Loockx [EMAIL PROTECTED] 
   wrote:
   
Hello,
   
When I'm trying to load images from a remote server I get the
  following
error message..
   
*Security sandbox violation: local SWF files cannot use the
LoaderContext.securityDomain property*
   
I've been googling and nothing that works for me. When I put the
  swf on
the remote server it loads the images perfect! I've tried everything
(Crossdomain,addSecuritydomain on application, ...).
Someone that managed to solve this ? Looks like a lot of people have
this problem...
   
Thanks!
Ward
   
  
  
  I added the SWF, but that didn't worked out :(
 
 
 Hello,

 Thanks for the reply. If I get it right, there is a workaround but
 requires additional code? Can you specify a bit please ?

 Thanks,
 Ward

  

I've been trying with trustcontent

mx:Image id=image source={imageUrl} trustContent=true/

But this didn't worked out for me... still same error.

Any suggestions?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-20 Thread Alex Harui
Please post the entire contents of the window that shows the exception.  I 
would expect to see a call stack with line numbers if you are using a debug 
build

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward 
Loockx
Sent: Thursday, November 20, 2008 8:30 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files 
cannot use the LoaderContext.securityDomain property

Alex Harui schreef:

 First you have to identify which code is causing the violation. Post
 the entire violation. It should contain more information about which
 component is doing the violation. Once you figure that out, then you
 can try to workaround it, but testing from the server instead of the
 local filesystem is recommended as someday you will deploy the app to
 a server and you'll have different security rules in such a configuration.

 A workaround if a SWFLoader has trustContent=true

 SWFLoader id=ldr trustContent=true /

 Is

 SWFLOader id=ldr preinitialize=if (Security.sandboxType=='remote')
 ldr.trustContent=true else ldr.trustContent=false /

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 *On Behalf Of *Ward Loockx
 *Sent:* Tuesday, November 18, 2008 12:06 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF
 files cannot use the LoaderContext.securityDomain property

 Alex Harui schreef:
 
  Some code somewhere is trying to set a SecurityDomain parameter in a
  LoaderContext. There are parameters like trustContent on SWFLoader
  that can trigger that code. Unfortunately you can only run such code
  when deployed to HTTP:// and not from FILE:://. You might need to put
  in some conditional code to deal with it
 
 
 
  *From:* flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com]
  *On Behalf Of *Ward Loockx
  *Sent:* Monday, November 17, 2008 9:07 AM
  *To:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF
  files cannot use the LoaderContext.securityDomain property
 
 
 
  valdhor schreef:
  
   Try adding your bin-debug directory to your Global Security Settings
   Manager
  
 
 (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

 
  
 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)
  
   --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
   mailto:flexcoders%40yahoogroups.com, Ward Loockx [EMAIL PROTECTED] 
   wrote:
   
Hello,
   
When I'm trying to load images from a remote server I get the
  following
error message..
   
*Security sandbox violation: local SWF files cannot use the
LoaderContext.securityDomain property*
   
I've been googling and nothing that works for me. When I put the
  swf on
the remote server it loads the images perfect! I've tried everything
(Crossdomain,addSecuritydomain on application, ...).
Someone that managed to solve this ? Looks like a lot of people have
this problem...
   
Thanks!
Ward
   
  
  
  I added the SWF, but that didn't worked out :(
 
 
 Hello,

 Thanks for the reply. If I get it right, there is a workaround but
 requires additional code? Can you specify a bit please ?

 Thanks,
 Ward



I've been trying with trustcontent

mx:Image id=image source={imageUrl} trustContent=true/

But this didn't worked out for me... still same error.

Any suggestions?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-18 Thread Ward Loockx
Alex Harui schreef:

 Some code somewhere is trying to set a SecurityDomain parameter in a 
 LoaderContext.  There are parameters like trustContent on SWFLoader 
 that can trigger that code.  Unfortunately you can only run such code 
 when deployed to HTTP:// and not from FILE:://.  You might need to put 
 in some conditional code to deal with it

  

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 *On Behalf Of *Ward Loockx
 *Sent:* Monday, November 17, 2008 9:07 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF 
 files cannot use the LoaderContext.securityDomain property

  

 valdhor schreef:
 
  Try adding your bin-debug directory to your Global Security Settings
  Manager
  
 (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  

  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)
 
  --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  mailto:flexcoders%40yahoogroups.com, Ward Loockx [EMAIL PROTECTED] 
  wrote:
  
   Hello,
  
   When I'm trying to load images from a remote server I get the 
 following
   error message..
  
   *Security sandbox violation: local SWF files cannot use the
   LoaderContext.securityDomain property*
  
   I've been googling and nothing that works for me. When I put the 
 swf on
   the remote server it loads the images perfect! I've tried everything
   (Crossdomain,addSecuritydomain on application, ...).
   Someone that managed to solve this ? Looks like a lot of people have
   this problem...
  
   Thanks!
   Ward
  
 
 
 I added the SWF, but that didn't worked out :(

  
Hello,

Thanks for the reply. If I get it right, there is a workaround but 
requires additional code? Can you specify a bit please ?

Thanks,
Ward


RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-18 Thread Alex Harui
First you have to identify which code is causing the violation.  Post the 
entire violation.  It should contain more information about which component is 
doing the violation.  Once you figure that out, then you can try to workaround 
it, but testing from the server instead of the local filesystem is recommended 
as someday you will deploy the app to a server and you'll have different 
security rules in such a configuration.

A workaround if a SWFLoader has trustContent=true
SWFLoader id=ldr trustContent=true /

Is
SWFLOader id=ldr preinitialize=if 
(Security.sandboxType=='remote') ldr.trustContent=true else 
ldr.trustContent=false /

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward 
Loockx
Sent: Tuesday, November 18, 2008 12:06 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files 
cannot use the LoaderContext.securityDomain property


Alex Harui schreef:

 Some code somewhere is trying to set a SecurityDomain parameter in a
 LoaderContext. There are parameters like trustContent on SWFLoader
 that can trigger that code. Unfortunately you can only run such code
 when deployed to HTTP:// and not from FILE:://. You might need to put
 in some conditional code to deal with it



 *From:* flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com]
 *On Behalf Of *Ward Loockx
 *Sent:* Monday, November 17, 2008 9:07 AM
 *To:* flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 *Subject:* Re: [flexcoders] Re: Security sandbox violation: local SWF
 files cannot use the LoaderContext.securityDomain property



 valdhor schreef:
 
  Try adding your bin-debug directory to your Global Security Settings
  Manager
 
 (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

 
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)
 
  --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com
  mailto:flexcoders%40yahoogroups.com, Ward Loockx [EMAIL PROTECTED] 
  wrote:
  
   Hello,
  
   When I'm trying to load images from a remote server I get the
 following
   error message..
  
   *Security sandbox violation: local SWF files cannot use the
   LoaderContext.securityDomain property*
  
   I've been googling and nothing that works for me. When I put the
 swf on
   the remote server it loads the images perfect! I've tried everything
   (Crossdomain,addSecuritydomain on application, ...).
   Someone that managed to solve this ? Looks like a lot of people have
   this problem...
  
   Thanks!
   Ward
  
 
 
 I added the SWF, but that didn't worked out :(


Hello,

Thanks for the reply. If I get it right, there is a workaround but
requires additional code? Can you specify a bit please ?

Thanks,
Ward



[flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-17 Thread valdhor
Try adding your bin-debug directory to your Global Security Settings
Manager
(http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)


--- In flexcoders@yahoogroups.com, Ward Loockx [EMAIL PROTECTED] wrote:

 Hello,
 
 When I'm trying to load images from a remote server I get the following 
 error message..
 
 *Security sandbox violation: local SWF files cannot use the 
 LoaderContext.securityDomain property*
 
 I've been googling and nothing that works for me. When I put the swf on 
 the remote server it loads the images perfect! I've tried everything 
 (Crossdomain,addSecuritydomain on application, ...).
 Someone that managed to solve this ? Looks like a lot of people have 
 this problem...
 
 Thanks!
 Ward





Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-17 Thread Ward Loockx
valdhor schreef:

 Try adding your bin-debug directory to your Global Security Settings
 Manager
 (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
  
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, Ward Loockx [EMAIL PROTECTED] wrote:
 
  Hello,
 
  When I'm trying to load images from a remote server I get the following
  error message..
 
  *Security sandbox violation: local SWF files cannot use the
  LoaderContext.securityDomain property*
 
  I've been googling and nothing that works for me. When I put the swf on
  the remote server it loads the images perfect! I've tried everything
  (Crossdomain,addSecuritydomain on application, ...).
  Someone that managed to solve this ? Looks like a lot of people have
  this problem...
 
  Thanks!
  Ward
 

  
I added the SWF, but that didn't worked out :(


RE: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-17 Thread Alex Harui
Some code somewhere is trying to set a SecurityDomain parameter in a 
LoaderContext.  There are parameters like trustContent on SWFLoader that can 
trigger that code.  Unfortunately you can only run such code when deployed to 
HTTP:// and not from FILE:://.  You might need to put in some conditional code 
to deal with it

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ward 
Loockx
Sent: Monday, November 17, 2008 9:07 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Security sandbox violation: local SWF files 
cannot use the LoaderContext.securityDomain property


valdhor schreef:

 Try adding your bin-debug directory to your Global Security Settings
 Manager
 (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
 http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)

 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com, Ward Loockx [EMAIL PROTECTED] wrote:
 
  Hello,
 
  When I'm trying to load images from a remote server I get the following
  error message..
 
  *Security sandbox violation: local SWF files cannot use the
  LoaderContext.securityDomain property*
 
  I've been googling and nothing that works for me. When I put the swf on
  the remote server it loads the images perfect! I've tried everything
  (Crossdomain,addSecuritydomain on application, ...).
  Someone that managed to solve this ? Looks like a lot of people have
  this problem...
 
  Thanks!
  Ward
 


I added the SWF, but that didn't worked out :(