Try
vBox.percentWidth ************************************************************************ ****************************************************************** The information contained in this email, and any attachments hereto, is strictly confidential and solely intended for use by the individual(s) and/or entity(s) to which it is addressed. If you have received this email in error, please notify the System Manager at [EMAIL PROTECTED] as soon as possible. Thank you for your attention to this matter. ************************************************************************ ****************************************************************** ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of chrisellem.flexfactory Sent: Wednesday, May 16, 2007 1:12 PM To: [email protected] Subject: [flexcoders] Set panel width dynamically? inside function vBox.width = 900; // This works fine but I want a percent vBox.width ="100%"; // This errors. any help appreciated. Regards Chris

