I have an air app created from one of Adobe's Examples using javascript / HTML. Is it possible to change the descriptor file so the application launches full screen or maximized?
A:
Maybe this helps (from here: http://www.kerkness.ca/how-to-launch-an-adobe-air-windowedapplication-in-full-screen-mode/)
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="init()">
<mx:Script>
<![CDATA[
private function init():void
{
systemManager.stage.displayState=flash.display.StageDisplayState.FULL_SCREEN_INTERACTIVE
}
]]>
</mx:Script>
</mx:WindowedApplication>
Jakob Kruse
2010-04-27 15:29:38
A:
Or you could call the maximize(); function in the application creation Complete function.
Jakob Kruse
2010-04-27 15:31:42
This one did the trick. I was looking for something to put inside `<initialWindow>` which is probably why my searches were comming up empty = ).
Nathan
2010-04-27 16:01:34
Great. Glad to help :)
Jakob Kruse
2010-04-27 17:52:56