问题很简单:我想从 XML 中读取宽度和高度,然后根据 Flash 的 EXE 文件中的这些数字更改舞台大小。想象一下 Flash 应用程序的主要大小是例如 1024 x786。我编写了一个代码,它作为触摸屏与用户交互,所有启动数据(如图像文件名和键协调)都来自一个 XML 文件。我的问题是,对于不同的 PC s, I must set the size of application manually. Some touch screens have different ratios like 1280 * 400! The only way is set the stage size on startup the application but
stage.staheWidth and
stage.stageHeight don
t 为我改变任何东西。任何想法 ?
问问题
349 次