开发环境:Windows Server 2003 + Adobe Flash Builder 4  Beta 2

错误信息:SecurityError: Error #2148: SWF 文件 D:\demo\test\index.swf 不能访问本地资源 D:\demo\test\bin-debug\textLayout_4.0.0.10485.swf。只有仅限于文件系统的 SWF 文件和可信的本地 SWF 文件可以访问本地资源。
 at flash.net::URLStream/load()
 at flash.net::URLLoader/load()

解决方法:
在C:\WINDOWS\system32\Macromed\Flash\FlashPlayerTrust目录下添加一个文件,比如:1.txt(文件名可任意起),文件内容为:“D:\demo\test\”即项目的路径,当然也可以设置为“D:\”

相关文章:

  • 2022-12-23
  • 2021-08-16
  • 2021-07-25
  • 2021-08-26
  • 2021-10-03
  • 2022-01-06
  • 2021-09-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案