lt;mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of Arpit Mathur
> > Sent: Saturday, September 22, 2007 11:49 AM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroup
excoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Arpit Mathur
> Sent: Saturday, September 22, 2007 11:49 AM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> Subject: Re: [flexcoders] Re: Real size of co
2007 11:49 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Real size of components
Would this work?
component.percentWidth = 50
component.percentHeight = 50
component.validateSize()
trace(component.measuredWidth)
I have never really used the validation thing so
Would this work?
component.percentWidth = 50
component.percentHeight = 50
component.validateSize()
trace(component.measuredWidth)
I have never really used the validation thing so I am curious. Its how I
would imagine it would work.
On 9/21/07, Gordon Smith <[EMAIL PROTECTED]> wrote:
>
>It
It sounds like you are expecting to set percentWidth and immediately
have the width change. Flex visual components don't work like this.
Typically when you set properties, the component enters a kind of
"invalid" state until the LayoutManager updates it. If you wait until
the component dispatches a
5 matches
Mail list logo