Hi I have this air app, it is reading a remote flash file with has a 
security.allowdomain("*"); 
but when it tried to read on the air app, it says this.

SecurityError: Error #2070: Security sandbox violation: caller 
http://leftandrightsolutions.com/iglesiaviewer.swf cannot access Stage owned by 
app:/iglesiaFls.swf.
        at flash.display::Stage/set scaleMode()
        at tv.ustream.core::Application/frame1()

I've tried to use this Security.allowDomain("http://leftandrightsolutions.com";);
and nothing happens, this is the next error. I have :


SecurityError: Error #3207: Application-sandbox content cannot access this 
feature.
        at flash.system::Security$/allowDomain()
        at iglesiaFls$cinit()
        at global$init()[/Users/gustavoduenas/Documents/Flex Builder 
3/iglesiaFls/src/iglesiaFls.mxml:3]
        at _iglesiaFlsWatcherSetupUtil$/init()
        at 
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3097]
        at 
mx.managers::SystemManager/docFrameListener()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2955]

and when I put this on the init() function:
happens this.


SecurityError: Error #3207: Application-sandbox content cannot access this 
feature.
        at flash.system::Security$/allowDomain()
        at iglesiaFls/init()[/Users/gustavoduenas/Documents/Flex Builder 
3/iglesiaFls/src/iglesiaFls.mxml:22]
        at 
iglesiaFls/__mBar_creationComplete()[/Users/gustavoduenas/Documents/Flex 
Builder 3/iglesiaFls/src/iglesiaFls.mxml:108]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at 
mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9308]
        at mx.core::UIComponent/set 
initialized()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]
        at 
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at 
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]
        at 
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]

someone could help me out?


gus

Reply via email to