Hi, i found a solution.
Sinse i use a custom chrome i could not use:
this.nativeWindow.x=(Capabilities.screenResolutionX - this.width)/2;
this.nativeWindow.y=(Capabilities.screenResolutionY - this.height)/2;
(This will work when u use <mx:WindowedApplication> instead of <mx:Application>)
That shifted the container on the stage, not the position of the window on the screen.
I was almost going to use the window's initial x and y position with a value of 0 in the centerapp-app.xml
between the <initialWindow> tags, so my application is at least fully shown on my 1280x800 screen.
The solution i used:
stage.nativeWindow.x=(Capabilities.screenResolutionX - this.width)/2;
y is set to 0 because when i use (Capabilities.screenResolutionY - this.height)/2
the application is running out of my screen at the bottom.
Perhaps this is a MS Windows thing, cause I've seen checks of the operating system.
It could be possible that there has to be a check on operating system first, and when its Windows, you need to subtract another 50 pix or so from they position.