depthAndStencil throws Error 103 in application XML

房东的猫 提交于 2019-12-12 02:56:44

问题


in trying to implement the answer to stage.stage3Ds is empty when debuging on Kindle Fire HD 8.9". I tried adding both renderMode and detailAndStencil to the application xml file but get this error when trying to debug to device.

Error occurred while packaging the application:

D:\Flash\Mobile Test\bin-debug\Main-app.xml(10): error 103:            application.initialWindow.depthAndStencil is an unexpected element/attribute

The initialWindow portion of application xml file is below

<initialWindow>
    <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
    <renderMode>direct</renderMode>
    <depthAndStencil>true</depthAndStencil> 
</initialWindow>

回答1:


It looks like depthAndStencil option is only available with AIR 3.2 onwards.

Looking through the template file that is used to generate the app descriptor file:

[AIR SDK ROOT]\templates\air\descriptor-template.xml

The entry for depthAndStencil first appears in the template file that comes with the AIR 3.2 SDK.

Edit:

Confirmed. See release notes for 3.2 SDK: http://helpx.adobe.com/flash-player/release-note/release-notes-developer-flash-player.html



来源:https://stackoverflow.com/questions/16570554/depthandstencil-throws-error-103-in-application-xml

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