3
votes

Hey, how can I hide an element in Flash Builder? I can do visible=false but the element is still there (other buttons are not centered). I'm looking for display:none style property.

<mx:HBox horizontalAlign="center">
   <mx:Button id="publishButton" label="Start" />
   <mx:Button label="Stop" visible="false" />
</mx:HBox>

Thx!

1

1 Answers

15
votes

visible="false" includeInLayout="false", they should be used together.