简体   繁体   中英

Adobe Air SDK Resize Window on Page Load

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.

没有意识到我可以使用普通的javascript来做到这一点:

<body onload='window.resizeTo(width,height)'>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM