问题
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