includeInLayout="false"
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:HBox> <mx:Button label="One" /> <mx:Button label="Two" visible="false" includeInLayout="false" /> <mx:Button label="Three" /> <mx:Button label="Four" /> </mx:HBox> </mx:Application>