Have a look at percentWidth, and percentHeight i think this might be what your looking for.
jason -----Message d'origine----- De : [email protected] [mailto:[EMAIL PROTECTED] la part de keith Envoyé : lundi 21 mai 2007 08:24 À : [email protected] Objet : [flexcoders] Liquid layout with ActionScript instead of "%" values in MXML QUESTION: Using MXML you can set width and height with percent values. How do I do this with ActionScript only? WHY: Because I'm dynamically generating a Form, filled with nested HBoxes and Vboxes containing InputFields, Buttons that I want to stretch as as the Form's container changes dimensions at times. Hope there is an elegant way. Thanks, -- Keith H --

