Thanks. In my local tomcat server, the application does not halt. But once I 
deployed it to Websphere in Solaris, the sub application cannot be loaded.

All main application and sub applications are in the same domain, but with 
different context root. ip is

User  login from, it will load subApp1.swf by using  
URL with ip

Then this sub application cannot be loaded.  But if user login from, then try to loading, then the sub app can be loaded.

Any idea any where I should look into?

Thanks and regards,

From: [] On Behalf 
Of Alex Harui
Sent: Wednesday, September 01, 2010 12:40 PM
Subject: Re: [flexcoders] *** Security Sandbox Violation ***

If you get that output but the application does not halt, then you can ignore 

If you want it to be sandboxed, then you can't access things in it.  You would 
not need a crossdomain.xml file.

If you are using Flex 4, make sure you added the option 

On 8/31/10 10:34 PM, "Yu, Deyang" <> wrote:

I am building a Flex portal. Which has main application and several 

I am using sandboxed application.

I do have crossdomain.xml defined in both main application and sub applications.

And in the main application, I used the swfloader like :
<mx:SWFLoader id="couponApp" width="100%" height="100%" 
loadForCompatibility="true" trustContent="false" complete="allowLoading()" />

But when I tried to loading the sub application, it always give Security 
Sandbox Violation error.

The error is

*** Security Sandbox Violation ***
SecurityDomain 'http://localhost:8080/isw/Applications.html?debug=true' tried 
to access incompatible context ''

Anybody has any idea and suggestion? Where did I go wrong?

Alex Harui
Flex SDK Team
Adobe System, Inc.

Reply via email to