What would be the best way to go about building an Adobe AIR app that doesn't have any windows (i.e. exists only in the system tray / dock)? I noticed that the default base tag in Flash Builder is <s:WindowedApplication>
which seems to imply there'll be a window.
Should I just use <s:WindowedApplication>
and call window.hide()
? I saw there's another base class, <s:Application>
, but I got the sense that was more for files that run in the browser. It seems like using window.hide()
would briefly flash a window when the application starts which could confuse users. However I'd also ideally like to retain the ability to have the app open a window later if needed, or also to change the application from tray-only to windowed through an update.