Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-28-2008, 08:11 AM   #1
Registered User
Join Date: Dec 2004
Posts: 146
Default SecurityError Security sandbox

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

firdosh is offline   Reply With Quote
Old 09-24-2009, 12:21 PM   #2
Registered User
Join Date: Jul 2008
Posts: 1
Default Security sandbox Error#2070

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,
vamshi is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Security sandbox violation help!! Ray_001 Flex 2, 3 & 4 2 04-07-2009 02:36 PM
Another Security Sandbox Violation; using Sockets to connect to Python App ClintD Flash Remoting 1 08-21-2008 10:26 PM
AIR sandbox kukoc AIR (Apollo) 6 06-12-2008 12:05 PM
setMask, Sandbox offline/online problem Strifedk ActionScript 2.0 1 10-10-2007 11:51 AM
Security Sandbox error... mrand01 ActionScript 3.0 0 09-11-2007 03:42 PM

All times are GMT. The time now is 03:29 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.