"错误的wmode值QUOT;使用德裕与AVD时错误、QUOT、AVD、wmode

2023-09-08 14:31:51 作者:深望

我目前使用的是FlashDevelop设置与Flex / AIR SDK和椋鸟。我已经使用了Android的AIR AS3模板,并已经成功编译测试应用程序而无需初始化八哥完美的罚款。这些应用程序在我的Andr​​oid虚拟设备运行正常。 但只要我初始化一个八哥情况下,错误此应用程序无法正常嵌入(错误的wmode值)显示在屏幕中间的红色条。我已经通过了德裕论坛看了看,并建立直接,但我仍然得到错误。我还设置-swf版本= 15,而我仍然得到错误。 什么是真正奇怪的是,当我编译的flash播放器11,一切工作完全正常。只有当我编译和安装在AVD没有错误显示。跟踪输出仍出现罚款logcat中,我的调试器,将_starling.start()语句之前。

I am currently using FlashDevelop set up with the Flex/AIR SDK and Starling. I have used the AIR for Android AS3 template and have successfully compiled test applications without initializing Starling perfectly fine. These applications run fine on my Android Virtual Device. But as soon as I initialize a Starling instance, the error "This application is not properly embedded (wrong wmode value)" shows up in a red bar in the middle of the screen. I've looked through the Starling forums and have set direct, but I am still getting the error. I have also set -swf-version=15, and I still get the error. What's really weird, is that when I compile with the FlashPlayer 11, everything works perfectly fine. Only when I compile and install on the AVD does the error show up. Trace output still appears fine in logcat, my debugger, before the _starling.start() statement.

这人似乎有类似的问题,如果我的解释是不明确的:的http://forum.starling-framework.org/topic/wmode-issue-with-rendering-mode-direct

This person seems to be having similar problems if my explanation wasn't clear: http://forum.starling-framework.org/topic/wmode-issue-with-rendering-mode-direct

是的,我已经把我的AVD使用GPU加速。

And yes, I have set my AVD to use GPU acceleration.

在此先感谢。

推荐答案

您可能已经排序了这一点,现在,但以防万一别人遇到这个线程...

You've probably sorted this out by now, but just in case anyone else comes across this thread...

进去你* -app.xml文件,然后搜索<! - < renderMode>< / renderMode> - > 过渡时期援助团,并直接添加标签之间,所以它看起来像< renderMode>直接< / renderMode>

Go in to you *-app.xml file and search for <!--<renderMode></renderMode>--> untag it and add direct between the tags so it looks like <renderMode>direct</renderMode>