Adobe Air 1.0 – Positioning the Main Application Window on the Desktop

By richardhart

So you’ve built an AIR app, but want to position it on the desktop. Positioning a new window is pretty easy, but It may not be intuitively obvious how to position the main window of the application. After trying to set all manner of stage properties and x,y coordinates, it turns out that all you do is go into the Air Application and Installer Settings and then click on the settings button located next to advanced. In the window that comes up, look for initial window settings, and in my case, I choose zero for X and zero for Y to place my window in the top left of the desktop. You can also set widow heights and widths here and check up a whole host of other options.

Tags: ,

Leave a Reply