AIR 3.0 and Stage3D

这一生的挚爱 提交于 2019-12-24 12:18:49

问题


There isn't any tutorials on the web on how to use Stage3D on AIR 3.0. How do I enable it in Flash Builder 4?

I have countless trial and error when testing 2D/3D framework:

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

回答1:


You will need the flex 4.5.1 SDK installed, as well as a playerglobal.swc from FP11. Check out this tutorial: Creating a Custom Flex 4.5 SDK to Target Flash 11 and AIR 3




回答2:


You need to edit your app's XML file. That's the descriptor file with settings like the icons, resolutions etc. You need to add or edit:

<renderMode>gpu</renderMode>

This goes inside the <initialWindow> tag.



来源:https://stackoverflow.com/questions/7687961/air-3-0-and-stage3d

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!