问题
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