View Full Version : SecurityError Security sandbox

08-28-2008, 08:11 AM
Hey all,
I have actually tried a lot of ways to solve this issue but I was just wondering if this is even possible using Sandbox Bridge.

The Problem
I have an Air Application that launches a new native window.
The native window then begins to load a external swf file (minimal drawing widget).
I can call functions from the loaded swf file which are defined in my Air App using parentSandBoxBridge....great!!

The problem starts when the drawing widget needs access to the stage event listener

I get this runtime Error

SecurityError: Error #2070: Security sandbox violation: caller DrawAir.swf cannot access Stage owned by app:/Main.swf

at flash.display::Stage/requireOwnerPermissions()
at flash.display::Stage/addEventListener()

any help would be appreciated


09-24-2009, 12:21 PM
Hi firdosh,

I am working on Flex3 AIR.
In my application i am loading files(swf) from server( to application storage and after that loading into application.When i am trying to load i am getting security error(SecurityError: Error #2070: Security sandbox violation,Stage owned by).

Any help would be aprreciated.

Thanks & Regards,