I have two label like this:-
<mx:Label id="label1" text="Email address is available" visible="false"/>
<mx:Label id="label2" text="Email address is not available" visible="false"/>
I am toggling the visiblity of the labels depending on presence of the email address.
As I have set property of label visible="false", still it occupies the space on browser.
I don't want that. I want the label's do not occupy any space on browser.
Can anyone help me out?
Set the includeInLayout property to false.