[英]AS3 how to set initial stage size
如果我使用FlashDevelop工具在纯AS3中进行开发,如何设置初始阶段大小(高度/宽度)?
You can right click your project and go to properties to set the dimensions there or you can put the following in your main class declaration: 您可以右键单击项目并转到属性以在那里设置维度,也可以将以下内容放在主类声明中:
[SWF(width="1280", height="800", backgroundColor="#000000", frameRate="30")]
public class Main extends Sprite
{
...
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.