未找到基类 ByteArrayAsset 的定义
我正在使用FlashDevelop4.0.0 RC1创建AS3库项目,我想在其中导入Away3D库。我按照本教程来设置我的 FD。 http://www.mclelun.com/blog/2011/08/ flashdevelop-stage3d-away3d/
但是,当我使用 ExportSWC4.2 插件编译项目时,FD 生成错误消息,我收到错误消息说:
在away3d\materials\methods\TerrainDiffuseMethod_NormalizeKernel.as(10):找不到基类ByteArrayAsset的定义
有人能帮我吗?谢谢!
附注 我也有类似以下链接的问题 http://sourceforge.net/tracker/index.php?func=detail&aid=3401191&group_id=252536&atid=1127375 不确定是否与我的问题有关。
I'm using FlashDevelop4.0.0 RC1 to create AS3 library project, in which I want to import Away3D library. I follow this tutorial to set up my FD.
http://www.mclelun.com/blog/2011/08/flashdevelop-stage3d-away3d/
However, FD generate error message when I use ExportSWC4.2 plugin to compile the project, I got error message said that
at away3d\materials\methods\TerrainDiffuseMethod_NormalizeKernel.as(10): The definition of base class ByteArrayAsset was not found
Can anyone help me with that? Thanks!
p.s.
I also have issue like the following link
http://sourceforge.net/tracker/index.php?func=detail&aid=3401191&group_id=252536&atid=1127375
not sure if it's related to my problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是从http://away3d.com/download/下载zip包还是通过SVN / GIT访问?
http://away3d.com/images/uploads/releases/away3d_4_0_110915.zip
不确定他们的 GIT,但我发现 SVN 存储库已过时。
我在我的版本中的继承链中没有看到 ByteArrayAsset:
away3d.materials.methods.TerrainDiffuseMethod
away3d.materials.methods.BasicDiffuseMethod
away3d.materials.methods.LightingMethodBase
away3d.materials.methods.ShadingMethodBase
mx.core.ByteArrayAsset 是一个 Adobe 类。
有一个 NormalizeSplats Pixel Bender 链接,但我没有看到任何 Normalize Kernel。
我建议获取 Broomstick ZIP 包 - 我使用针对 Flash Player 11 的 Flash Builder 构建 SWC 时没有遇到任何问题。
Are you downloading the zip package from http://away3d.com/download/ or accessing via SVN / GIT?
http://away3d.com/images/uploads/releases/away3d_4_0_110915.zip
Not sure about their GIT, but I found the SVN repo dated.
I did not see ByteArrayAsset anywhere in the inheritance chain within my version:
away3d.materials.methods.TerrainDiffuseMethod
away3d.materials.methods.BasicDiffuseMethod
away3d.materials.methods.LightingMethodBase
away3d.materials.methods.ShadingMethodBase
mx.core.ByteArrayAsset is an Adobe class.
There's a NormalizeSplats Pixel Bender linkage, but I did not see any Normalize Kernel.
I'd recommend grabbing the Broomstick ZIP package - I had no issues building the SWC with Flash Builder targeting Flash Player 11.