更新 OSMF.swf 后:未找到类型或不是编译时常量:NetGroup 和 DimensionEvenet
使用Flash Builder 4(并安装了flashbuilder401-patch-mac)。 想要使用 OSMF:
我从项目 flex 4.1 库中删除了 OSMF.swf 并将 osmf.swf v1.5 添加到库中 我安装了 flashplayer_10_plugin_debug_ub-1
尝试构建时产生以下问题: 1046:未找到类型或不是编译时常量:DimensionEvent 和六行: 1046:未找到类型或不是编译时常量:NetGroup 对于所有人:位置是“未知”,类型是“Flex 问题”
我试图编译的代码是 osmf 文档中的简单 MediaPlayerExample
已阅读帖子 - 不确定接下来要尝试什么
有人让 osmf 在 Flash Builder 4 上工作苹果?
using Flash Builder 4 (and installed flashbuilder401-patch-mac).
want to use OSMF:
I removed OSMF.swf from project flex 4.1 libs and added osmf.swf v1.5 to libs
I installed flashplayer_10_plugin_debug_ub-1
trying to build produces following problems:
1046: Type was not found or was not a compile-time constant:DimensionEvent
and six lines of:
1046: Type was not found or was not a compile-time constant:NetGroup
for all: Location is "Unknown" and Type is "Flex Problem"
code I'm trying to compile is simple MediaPlayerExample in osmf documentation
been reading through posts -- not sure what to try next
does someone have osmf working with Flash Builder 4 on MAC?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这就是有效的(在 MAC 上)
我从以下位置删除了旧的 osmf.swc:
Applications->Adobe Flash Builder 4->sdks >4.1.0->frameworks->libs 并替换为新的 1.5 osmf.swc
在此之前,当使用 FlashBuilder 时,有两个不同的版本(osmf 包中具有不同的导入路径)将显示在 AudioElement 的完整代码中
This is what worked (on MAC)
I removed old osmf.swc from:
Applications->Adobe Flash Builder 4->sdks >4.1.0->frameworks->libs and replaced with the new 1.5 osmf.swc
Prior to that when using FlashBuilder two different (with different import paths in osmf package) would show up in code complete for AudioElement