【问题标题】:AIR 3.0 and Stage3DAIR 3.0 和 Stage3D
【发布时间】:2011-10-07 13:29:58
【问题描述】:

网络上没有任何关于如何在 AIR 3.0 上使用 Stage3D 的教程。如何在 Flash Builder 4 中启用它?

在测试 2D/3D 框架时,我经历了无数次反复试验:

VerifyError: Error #1014: Class flash.display::Stage3D could not be found.

【问题讨论】:

    标签: flash apache-flex actionscript


    【解决方案1】:

    您需要安装 flex 4.5.1 SDK,以及来自 FP11 的 playerglobal.swc。查看本教程:Creating a Custom Flex 4.5 SDK to Target Flash 11 and AIR 3

    【讨论】:

    【解决方案2】:

    您需要编辑应用的 XML 文件。这是带有图标、分辨率等设置的描述符文件。您需要添加或编辑:

    <renderMode>gpu</renderMode>

    这在<initialWindow> 标签内。

    【讨论】:

    • 我很久以前就这样做了,并尝试了任何教程中的任何组合,但是,错误与此无关,因为它需要了解 stage3D 中的 API。
    猜你喜欢
    • 2012-02-16
    • 1970-01-01
    • 1970-01-01
    • 2017-05-16
    • 1970-01-01
    • 1970-01-01
    • 2011-12-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多