Hey,
I am receiving a security error caused by a embedded swf that is attempting to place a MovieClip, which contains a few flash components, on the root of the embedded swf. I have isolated the cause of the error to the components. If any component is in the display list of the MovieClip, I get the error. Once I remove all of the components from the display list, it works just fine. I’ve tried embedding the components into the library of the base swf with no luck. Here’s the error I’m receiving:
*** Security Sandbox Violation ***
SecurityDomain 'file:///Users/marc.smith1/marCus/hgProjects/D2R v2.0/site/swf/main.swf' tried to access incompatible context 'file:///Users/marc.smith1/marCus/hgProjects/D2R v2.0/site/swf/base.swf'
SecurityError: Error #2070: Security sandbox violation: caller file:///Users/marc.smith1/marCus/hgProjects/D2R v2.0/site/swf/main.swf cannot access Stage owned by file:///Users/marc.smith1/marCus/hgProjects/D2R v2.0/site/swf/base.swf.
at flash.display::Stage/flash.display:Stage::requireOwnerPermissions()
at flash.display::Stage/addEventListener()
at fl.core::UIComponent/::callLaterDispatcher()
at flash.display::DisplayObjectContainer/addChildAt()
at com.d2r.framework::Main/loadLogin()
at com.d2r.framework:Base/private:_checkAuth/com.d2r.framework:parseAuth()[/Users/marc.smith1/marCus/hgProjects/D2R v2.0/flash/com/d2r/framework/Base.as:81]
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
Not sure what exactly is happening. Never come across this issue before. If anybody can shed some light on this I would be most grateful, this thing is driving me crazy.
Thanks in advance.