Adobe AIR is suitable for the screen (maximize)

Is there a way to make an Adobe AIR application (maximize) when it is running?

+3
source share
2 answers

From Abhilash:

Just call maximize (); functions when creating the application. Full function.

Source: http://groups.google.com/group/flex_india/browse_thread/thread/afd5a97aea768d52/59aabcf6a74171b9#59aabcf6a74171b9

+6
source

Add createComplete event to your application

   <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" 
                           xmlns:mx="library://ns.adobe.com/flex/mx" 
                           width="950" height="500"
                           showStatusBar="false"  
    creationComplete="winApp_creationCompleteHandler(event)">

Then add maximize (); function for creation completion event.

protected function winApp_creationCompleteHandler(event:FlexEvent):void
{

maximize();

}
+1
source

All Articles