【发布时间】:2012-02-15 16:29:11
【问题描述】:
问题很简单:
我想从 XML 中读取宽度和高度,然后根据 Flash 的 EXE 文件中的这些数字更改舞台大小。想象一下 Flash 应用程序的主要大小是例如 1024 x786。我编写了一个代码,它作为触摸屏与用户交互,所有启动数据(如图像文件名和键协调)都来自一个 XML 文件。我的问题是,对于不同的 PCs, 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 butstage.staheWidthandstage.stageHeightdont 为我改变任何东西。有什么想法吗?
【问题讨论】:
标签: flash actionscript-3 resize startup stage