【问题标题】:Warning: The definition depended on by in the SWC could not be found警告:无法找到 SWC 中依赖的定义
【发布时间】:2014-05-28 22:52:12
【问题描述】:

帮助。
我用 flashdevelop 为 as3 编译了 SVGRenderer 的“swc”(https://github.com/LucasLorentz/AS3SVGRenderer) 当我编译 SWC 项目时,我没有任何问题。但是当我将它们导入我的 AS3 AIR 项目时,FlashDevelops 会输出以下警报(不是错误):

C:\Users\Usuario\IlliaTV_editor\lib\SVGRenderer.swc
Warning: The definition com.lorentz.SVG.svg_internal depended on by com.lorentz.SVG.display.base.SVGElement in the SWC C:\Users\Usuario\IlliaTV_editor\lib\SVGRenderer.swc could not be found

C:\Users\Usuario\IlliaTV_editor\lib\SVGRenderer.swc
Warning: The definition com.lorentz.SVG.svg_internal depended on by com.lorentz.SVG.display.SVGTSpan in the SWC C:\Users\Usuario\IlliaTV_editor\lib\SVGRenderer.swc could not be found

C:\Users\Usuario\IlliaTV_editor\lib\SVGRenderer.swc
Warning: The definition com.lorentz.SVG.svg_internal depended on by com.lorentz.SVG.display.SVGDocument in the SWC C:\Users\Usuario\IlliaTV_editor\lib\SVGRenderer.swc could not be found

C:\Users\Usuario\IlliaTV_editor\lib\SVGRenderer.swc
Warning: The definition com.lorentz.SVG.svg_internal depended on by      com.lorentz.SVG.display.base.SVGTextContainer in the SWC       C:\Users\Usuario\IlliaTV_editor\lib\SVGRenderer.swc could not be found

我不知道为什么会出现警报。代码工作正常,它加载了 svg 图像文件并正确显示,但我不希望在输出控制台中显示这些警报。

谢谢。

【问题讨论】:

    标签: actionscript-3 air flashdevelop swc


    【解决方案1】:

    更改项目 --> 属性 --> 构建路径 --> 链接类型为“合并”为我解决了这个问题。

    然后您会收到编译器警告,我还没有弄清楚如何解决。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-07-12
      • 2014-06-15
      • 2015-02-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-16
      相关资源
      最近更新 更多