Hi Tracy, I originally tried that, but if you are using a transition (say, to 
resize over 500ms) it breaks the transition (it just instantly resizes).

Mark

--- In [email protected], "Tracy Spratt" <tspr...@...> wrote:
>
> Suppose on resize you call PopUpmanager.centerPopUp()/
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _____  
> 
> From: [email protected] [mailto:[email protected]] On
> Behalf Of skuteboarding
> Sent: Thursday, April 02, 2009 5:36 PM
> To: [email protected]
> Subject: [flexcoders] Why does percentWidth / percentHeight not work with
> popups?
> 
>  
> 
> I'm trying to create a popup at 100% of the width / height of the
> application. But it just ignores these values. I've had to work around the
> problem by doing:
> 
> BindingUtils.bindProperty(popup, "width", this, "width");
> BindingUtils.bindProperty(popup, "height", this, "height");
> 
> (Where 'this' is the application).
> 
> The reason I'm trying to do this is I've got a popup that I want centred in
> the view, but it has different states which change the size of the popup. 
> 
> Mark
>


Reply via email to