Maximising an air application on startup

Tuesday, December 2, 2008
Maximising an air application on startup

dont forgot to use in applicationComplete


<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
applicationComplete="onApplicationComplete();">

<mx:Script>
<![CDATA[

private function onApplicationComplete():void {
stage.nativeWindow.maximize();
}

]]>
</mx:Script>

</mx:WindowedApplication>


Madhu :)
 
posted by madhu at 12:39 PM, |

0 Comments: