Add padding to Application
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0"> <mx:Button label="Max sized button" width="100%" height="100%"/> </mx:Application>