use the width from the parent "parent.width - margins if you have.."
Cato --- In [email protected], "Firdosh Tangri" <[EMAIL PROTECTED]> wrote: > > I checked the Resize class doesnt have percentageWidth attribute > > > On 2/10/07, Derek Adams <[EMAIL PROTECTED]> wrote: > > > > I think you would use the percentWidth and percentHeight fields > > rather than width and height in that case. > > > > --- In [email protected] <flexcomponents% 40yahoogroups.com>, > > "Firdosh Tangri" <ftangri@> > > > > wrote: > > > > > > Hey all, > > > I am trying to use the mx: Resize effect but realized > > that I > > > cannot pass in percentage values. All my components use percentage > > values > > > for width and height. > > > So I want to resize a component say from 20% width to 100% width , > > I have to > > > pass in pixel values which I don't want to do since using > > percentage values > > > everything just resizes > > > perfectly with the browser window. Is there a example which shows > > how to do > > > this effectively. > > > > > > thanks > > > cheers :) > > > firdosh > > > > > > > > > >
