Adobe Air SDK Resize Window on Page Load

本小妞迷上赌 提交于 2019-12-20 06:42:37

问题


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)'>


来源:https://stackoverflow.com/questions/12378574/adobe-air-sdk-resize-window-on-page-load

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!