Ok for the moment I think I have fixed it by changing from using  
SecurityDomain.currenDomain attributae to using null.


--- In [email protected], "reflexactions" <reflexacti...@...> wrote:
>
> I have an AIR application that is just a rebuild of an exisitng web based 
> Flex app.
> 
> We are using RSL's for everything (framework/modules etc.)
> 
> We have 2 CSS files compiled to SWF that we manually load using the 
> StyleManager.loadStyleDeclarations.
> 
> 
> When run as an AIR app with the 2 SWF's in the same folder as the AIR app we 
> are getting this error when it tries to load them.
> 
> SecurityError: Error #2142: Security sandbox violation: local SWF files 
> cannot use the LoaderContext.securityDomain property.: Security sandbox 
> violation: local SWF files cannot use the LoaderContext.securityDomain 
> property.
> 
> Anyone know why, and more importantly how I can fix this.
> 
> tks
>


Reply via email to