Thanks - as you can see in my original post, I did try the second method
you mentioned (horizontalAlign), but it failed. The first one works
(though it seems slightly like a bit of a hack). Thanks.
Jason Merrill
Bank of America
GT&O L&LD Solutions Design & Development
eTools & Multimedia
Bank of America Flash Platform Developer Community
________________________________
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Williams
Sent: Monday, February 11, 2008 2:51 PM
To: [email protected]
Subject: [flexcoders] HBox children alignment?
hi
i use the one of the following methods pending on what i need
<mx:HBox>
foo
<mx:Spacer width="100%" />
bar
</mx:HBox>
OR
<mx:Hbox>
<!-- objects left aligned-->
<mx:HBox horizontalAlign="left">
.
. objects
.
</mx:HBox>
<!-- objects right aligned-->
<mx:HBox width="100%" horizontalAlign="right">
.
. objects
.
</mx:HBox>
</mx:HBox>