Security Sandbox Violation

故事扮演 提交于 2019-12-14 03:51:49

问题


while running my flash application i get the below error

* Security Sandbox Violation *

Connection to rtmp://system ip/live halted - not permitted from file:///F:/Flash

work/RTS/RT/vlab/BIOTECH/NEO/passive-properties-of-a-simple-neuron/vi-characteristics-of- solarpanel.swf

-- Untrusted local SWFs may not contact the Internet.

SecurityError: Error #2028: Local-with-filesystem SWF file file:///F:/Flash work/RTS/RT/vlab/BIOTECH/NEO/passive-properties-of-a-simple-neuron/vi-characteristics-of-solarpanel.swf cannot access Internet URL rtmp://system ip/live.

at flash.net::NetConnection/connect()
at fl.video::NCManager/http://www.adobe.com/2007/flash/flvplayback/internal::nextConnect()
at fl.video::NCManager/http://www.adobe.com/2007/flash/flvplayback/internal::connectRTMP()
at fl.video::NCManager/connectToURL()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
at fl.video::VideoPlayer/load()
at fl.video::FLVPlayback/doContentPathConnect()

Can anyone help me to solve this problem?


回答1:


This is because you are trying to access a web/server file from a local file on your computer. Adobe security does not like that.

Take a look at this: http://probertson.com/articles/2006/10/06/local-remote-resources-local-swf/

http://web.archive.org/web/20120708065543/http://blog.kazumakzak.com/2011/04/18/actionscript-project-sandbox-error-error-2044/



来源:https://stackoverflow.com/questions/7857418/security-sandbox-violation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!