When I hide an object using the "visibility" attribute, it still takes up space in the document. I know that in css, you can use the "display" style to fix this. How do you do it in flex?
<mx:VBox> <mx:HBox> <mx:Text text="hi"/> </mx:HBox> <mx:HBox visible="false"> <!-- This takes up space --> <mx:Text text="hi"/> </mx:HBox> <mx:HBox> <mx:Text text="hi"/> </mx:HBox> </mx:VBox>