I need to resize an adobe air sdk window on an html page to a certain pixel height and width. Not looking for the initial window in the app descriptor. I'm not so good at coding so could someone give me the code? I think it will be a javascript function. Thanks in advance.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Didn't realize I could just use normal javascript to do this:
<body onload='window.resizeTo(width,height)'>