Flex不运行应用程序,但出现错误?

时间:2011-06-14 13:58:54

标签: flex frameworks

最近我收到了这个错误

SecurityError: Error #2148: SWF file file:///C:/Users/SUN/Desktop/TriStateCheckBox2/bin-debug/index.swf cannot access local resource file:///C:/Users/SUN/Desktop/TriStateCheckBox2/bin-debug/framework_4.5.0.20967.swf. Only local-with-filesystem and trusted local SWF files may access local resources.
    at flash.net::URLStream/load()
    at flash.net::URLLoader/load()
    at mx.core::CrossDomainRSLItem/load()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\CrossDomainRSLItem.as:227]
    at mx.core::RSLListLoader/loadNext()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\RSLListLoader.as:184]
    at mx.core::RSLListLoader/load()[E:\dev\hero_private\frameworks\projects\framework\src\mx\core\RSLListLoader.as:156]
    at mx.preloaders::Preloader/initialize()[E:\dev\hero_private\frameworks\projects\framework\src\mx\preloaders\Preloader.as:297]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:2103]
    at mx.managers::SystemManager/initHandler()[E:\dev\hero_private\frameworks\projects\framework\src\mx\managers\SystemManager.as:2588]
  • 当我改变"框架链接"时出现错误。 to"合并到代码",但它是anoing。
  • 有人有这个问题,他是如何解决的?

1 个答案:

答案 0 :(得分:1)