depthAndStencil罚全中的应用XML错误103 [英] depthAndStencil throws Error 103 in application XML

查看:256
本文介绍了depthAndStencil罚全中的应用XML错误103的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在试图实施的答案<一个href="http://stackoverflow.com/questions/16471574/stage-stage3ds-is-empty-when-debuging-on-kindle-fire-hd-8-9">stage.stage3Ds空上的Kindle Fire HD 8.9&QUOT debuging时,。尝试调试到设备时,我尝试添加这两种renderMode和detailAndStencil到应用程序的XML文件,但得到这个错误。

 ,而打包应用程序时出现错误:

D:\闪光\移动测试\ BIN调试\主app.xml中(10):错误103:application.initialWindow.depthAndStencil是一个意想不到的元素/属性
 

应用程序的XML文件的initialWindow部分低于

 &LT; initialWindow&GT;
    &LT;内容&GT;该值将通过Flash Builder的输出app.xml中覆盖] LT; /内容&GT;
    &LT; renderMode&GT;直接&LT; / renderMode&GT;
    &LT; depthAndStencil&GT;真&LT; / depthAndStencil&GT;
&LT; / initialWindow&GT;
 

解决方案

看起来depthAndStencil选项仅适用于AIR 3.2起。

寻找通过用于产生该应用描述符文件的模板的文件:

  [AIR SDK根] \模板\空调\描述符Template.xml中
 

有关depthAndStencil条目第一次出现在附带的AIR 3.2 SDK中的模板文件。

编辑:

确认。请参见发行说明3.2 SDK:的http://helpx.adobe.com/flash-player/release-note/release-notes-developer-flash-player.html

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>

解决方案

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

这篇关于depthAndStencil罚全中的应用XML错误103的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆