【问题标题】:Definition mx.core:BitmapAsset could not be found. (with ant and FlashDevelop)定义 mx.core:BitmapAsset 找不到。 (使用 ant 和 FlashDevelop)
【发布时间】:2013-01-13 00:17:42
【问题描述】:

我看到了这个问题:

mx.core::BitmapAsset could not be found

答案没有帮助。 我正在用 ant 和 FlashDevelop 编译代码并得到错误:Definition mx.core:BitmapAsset

如果我在没有 ant 的情况下在 FlashDevelop 中正常编译,它工作正常(没有错误)。 我尝试按照他们在答案和其他网站中的建议进行操作,但没有成功。

即:

我将此 xml 字段更改为 true:

<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>

并尝试从 framework.swc 导入 BitmapAsset

请帮我解决这个问题。

【问题讨论】:

    标签: actionscript-3 flash


    【解决方案1】:

    要么链接到 flex 库 swc,要么创建自己的 mx.core.BitmapAsset 来实现所有接口 BitmapAsset 实现。

    【讨论】:

      猜你喜欢
      • 2013-11-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-03
      • 1970-01-01
      • 1970-01-01
      • 2021-11-06
      • 1970-01-01
      相关资源
      最近更新 更多