I need to develop a desktop application for a client. It will be an SWF based AIR app developed in Flex 3.
Im quite new to Flex and AIR. Does anyone know if its possible to preload an SWF based AIR application with the native window in maximized state? Im afraid this just isnt possible?
The Flex 2-frame preloading model goes through different phases and the Preloader dispatches the following events:
Now I can ony access WindowedApplication's 'nativeWindow' property and call 'nativeWindow.maximize()' from WindowedApplication's 'creationComplete' handler. WindowedApplication dispatches the FlexEvent.CREATION_COMPLETE event right before the Preloader dispatches the FlexEvent.INIT_COMPLETE. So..... that's at the end of the whole preloading process.
Does this mean I cannot preload a Flex AIR app with the native window in maximized state? Or should you not even visualize preloading of AIR desktop apps?
Any help and tips are greatly appreciated!
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
this you have to initialize in applicationcomplete.
Hope this helps