I have an application that starts with a splashscreen (with no system chrome) which then loads settings and launches the main application window ( a new window with system chrome). I then want to close the splashscreen window but leave the new window open. The only function that seems to work is air.NativeApplication.nativeApplication.exit() which closes the application not the window.
Appreciate any help
Have you tried calling air.NativeApplication.activeWindow.close() while the
splash is still active? That should work regardless of chrome...
P E A C E
You can see the air file here (and the source) : http://www.spiders-design.co.uk/bayamocms.air (it may put a zip extension on the end if so rename it).
On line 41 of splash.html I want a piece of code that will close the window but leave the newly opened window open.
OMG I feel like an idiot now:
how stupid of me!! Should be: