VBox does this layout automatically, why not use that?

 

To make a component "completely" appear/dissapear, you need to set both
the visible property and the includeInLayout property.

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of katherine_enos
Sent: Thursday, January 03, 2008 4:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dynamically changing component positions

 

I have a check box for a user to check to change the visibility of a
control from false to true. After the user causes the invisible
control to be revealed, I'd like to move all succeeding interface
elements down the page so that their "y" coordinate increases by the
height of the newly visible control. 

There are numerous components that will require moving and it seems a
bit laborious to write a line of code to increase the "y" value for
each one. Is there a simple way to cause this to happen in the .mxml
file?

Thanks.
Katherine

 

Reply via email to