简体   繁体   English

具有实例名称的影片剪辑使AIR应用程序崩溃

[英]Movie Clips With Instance Names Crash AIR application

I have a game that compiles in AIR to android. 我有一个可以在AIR中编译为Android的游戏。 This game compiles fine. 该游戏编译良好。 I add a movie clip next to another movie clip and the game compiles. 我在另一个影片剪辑旁边添加了一个影片剪辑,然后游戏得以编译。

Interesting part: I add an instance name to this clip and suddenly when running the game, i get white screen. 有趣的部分:我在此剪辑中添加了一个实例名称,并且在运行游戏时突然出现白屏。

Any Clues about why flash is having this problem? 关于Flash为什么出现此问题的任何线索?

I have tried: Multiple instance names, same thing. 我尝试过:多个实例名称,同一件事。 I tried making it a button, game runs but cannot see the movieclip/button. 我尝试将其设置为按钮,游戏可以运行,但看不到动画片段/按钮。 I tried this removing elements inside the button one at a time and compiling. 我尝试一次一次删除按钮内部的元素并进行编译。

尝试在ActionScript 3.0发布设置中取消选中“自动声明舞台实例”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM