- UID
- 165202
- 帖子
- 2
- 精华
- 0
- 贡献
- 0
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2008-12-8
|
Profiler Agent 导致的安全沙箱冲突问题
将Flash Player debug版升级到10.x后经常出现
Error #2044: 未处理的 securityError:。 text=Error #2048: 安全沙箱冲突:file:///E|%2Fclient%5Fdev%2F.metadata%2F.plugins%2Fcom.adobe.Flash.profiler%2FProfilerAgent.swf?host=localhost&port=9999 不能从 localhost:9999 加载数据。
at ProfilerAgent()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.as:127]
如果降低到9.x版,问题自然也就解决了,可是很希望使用10.x做debugger
在网上搜索了一下:
Ross Phillips 在这篇文章里说明了一下这个问题是如何产生的,以及如何解决这个问题。
解决方案:
将mm.cfg的第一行
PreloadSwf=/Users/[username]/Documents/workspace/
.metadata/.plugins/com.adobe.Flash.profiler/
ProfilerAgent.swf?host=localhost&port=9999
删除掉,重新启动你的firefox或者任何使用了Flash player的软件,这样就不会出现这个错误提示了。
mm.cfg的位置如下所示:
Operating system
Create mm.cfg file in this directory
Macintosh OS X
MacHD:Library:Application Support:macromedia:
Microsoft Windows Vista
C:\Users\user_name\
Microsoft Windows 2000/XP
C:\Documents and Settings\user_name\
Microsoft Windows 95/98/ME
%HOMEDRIVE%\%HOMEPATH%\
Linux
/home/user_name |
-
1
评分人数
-
|