Hello coders and happy new year :) I don't know if this is a bug or a feature : If a chromless AIR application is maximized, it's width and height is exactly 8 pixels wider than native OS resolution.
For example, my resolution is 1680x1050, and maximized chromless AIR applications is 1688x1058 (I am in Dual View mode, so I can see 8px on the other screen which make me think it is a bug). In the XML descriptor file, I only set: <systemChrome>none</systemChrome> <transparent>true</transparent> And my test application source is: <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="400" layout="vertical" showFlexChrome="false" applicationComplete="onApplicationComplete()" > <mx:Style> WindowedApplication { padding-bottom:0; padding-top:0; padding-right:0; padding-left:0; } </mx:Style> <mx:Script> <![CDATA[ private function toggleMaximize() : void { if( nativeWindow.displayState == NativeWindowDisplayState.MAXIMIZED ) nativeWindow.restore(); else nativeWindow.maximize(); } private function onApplicationComplete() : void { OSWidth.text = "Capabilities.screenResolutionX = " + Capabilities.screenResolutionX; OSHeight.text = "Capabilities.screenResolutionY = " + Capabilities.screenResolutionY; } ]]> </mx:Script> <mx:VBox id="vbox" width="100%" height="100%" backgroundColor="#669966"> <mx:Button label="toggleMaximize()" click="toggleMaximize()" /> <mx:Label text="this.width = { this.width.toString() }" /> <mx:Label text="this.height = { this.height.toString() }" /> <mx:Label id="OSWidth" /> <mx:Label id="OSHeight" /> <mx:Button label="nativeWindow.close()" click="nativeWindow.close()" /> </mx:VBox> </mx:WindowedApplication> Any explanation is welcome :) Cheers !