【发布时间】: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