flex 错误:无法解析资源包“核心”对于区域设置“en_US”
我试图在我正在构建的 flowplayer 插件中包含一个 swc 库,但是当我包含这个 swc 时,它引用了一些核心框架资源包。但由于某种原因,mxmlc 编译器没有找到它们。
我已将 -include-resource-bundles=core,effects,skins,styles
添加到 mxmlc 参数中,但对于每个核心、效果等,我仍然收到此错误:
Error: Unable to resolve resource bundle "core" for local "en_US".
我有我的 flexsdk 文件夹中的 .properties 文件。
mxmlc 编译器是否缺少其他一些标志来查找这些标志?
I'm trying to include a swc library in a flowplayer plugin I'm building, but when I include this swc it is referencing some of the core framework resource bundles. But for some reason the mxmlc compiler is not finding them.
I've added the -include-resource-bundles=core,effects,skins,styles
to the mxmlc arguments, but I'm still getting this error for each core, effects, etc:
Error: Unable to resolve resource bundle "core" for local "en_US".
I have the .properties files in my flexsdk folders.
Is there some other flag I'm missing for the mxmlc compiler to find these?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许这只是 flowplayer ant 脚本的一个产物,但我能够通过在
mxmlc_bin
调用中显式包含捆绑包的路径来解决这个问题:Maybe this is a just an artifact of the flowplayer ant scripts, but I was able to solve this by including the path to the bundles explicitly in the
mxmlc_bin
call: