To fit the Adobe Window Application in the desktop you need to call the below script in the applicationComplete event.
ie
In mxml file
applicationComplete="init()"
In the script add the below function
private function init():void
{
this.nativeWindow.maximize();
}