Mar*_*tin 7 apache-flex skinning flash-builder
因为我在Flex中使用自定义皮肤类我在尝试在Flash Builder中打开设计视图时遇到错误:
Description Resource Path Location Type
Unable to resolve resource bundle "components" for locale "en_US".
Unable to resolve resource bundle "core" for locale "en_US".
Unable to resolve resource bundle "effects" for locale "en_US".
Unable to resolve resource bundle "layout" for locale "en_US".
Unable to resolve resource bundle "skins" for locale "en_US".
Unable to resolve resource bundle "styles" for locale "en_US".
Run Code Online (Sandbox Code Playgroud)
我尝试了很多在编译器参数中设置locales - 但我认为这个错误与语言环境问题直接相关.当我检查flex框架目录"C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\projects\spark\src\spark"- 这里是原始皮肤类 - 我可以看到所有"缺失"文件夹.
有人对这个问题有所了解吗?
Mar*_*tin 10
我可以通过向项目设置/ Flex构建路径添加以下库路径来解决我的问题:
C:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\locale\en_US
Run Code Online (Sandbox Code Playgroud)
似乎Flex编译器在使用标准外观时知道路径,但在处理自定义外观时它无法以某种方式找到它.