RE: [flexcoders] Percentage based width in ActionScript

2007-01-02 Thread Gordon Smith
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola Sent: Thursday, December 28, 2006 11:08 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Percentage based width in ActionScript Actually percentHeight and percentWidth are for actionscript only. IE

RE: [flexcoders] Percentage based width in ActionScript

2006-12-28 Thread Shannon Hicks
There's a simple fix... width = this.width * .9 Shan _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Maher Sent: Thursday, December 28, 2006 11:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Percentage based width in ActionScript Yikes, I

Re: [flexcoders] Percentage based width in ActionScript

2006-12-28 Thread Brendan Meutzner
percentHeight and percentWidth work in actionscript code... the document you reference says: In ActionScript, you use the height and width properties to specify the dimensions in pixels, and use the percentHeight and percentWidth properties to specify the dimensions as a percentage of the

Re: [flexcoders] Percentage based width in ActionScript

2006-12-28 Thread Rich Tretola
Actually percentHeight and percentWidth are for actionscript only. IE: this.perrcentWidth = 90; within mxml it would be width=90% Rich On 12/28/06, Matt Maher [EMAIL PROTECTED] wrote: Yikes, I am creating a component in ActionScript and adding an HBOX to it as a child. I want that hbox