Just to make searches easier for the rest of the world.
Very, very simple example:
<?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()"> <mx:Script> <![CDATA[ private function init():void { this.maximize(); } ]]> </mx:Script> </mx:WindowedApplication>
This maximizes the window on creation complete. Dirty.
More reading about NativeWindow: