You might want to just create and add the popup with visible=false, then
use callLater to set visible=true and have a showEffect on the popup.

 

I haven't done enough transitions work to know how to do it with states.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of kenny14390
Sent: Thursday, June 05, 2008 11:40 AM
To: [email protected]
Subject: [flexcoders] Re: Using TitleWindow

 

Tried using a transition on the IFlexDisplayObject "popup", but I get
the following warning:

Data binding will not be able to detect assignments to "popup".

and the transition will not run. I tried casting popup to the class of
the TitleWindow (PrizePopup), but that gave the same errors.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> If you don't use PopUp, it could slide under other components in its
> parent container. You can always apply an effect to the popup so it
> slides in.
> 
> 
> 
> However, if you set isPopUp=true, it should allow the TW to be
dragged.
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of kenny14390
> Sent: Thursday, June 05, 2008 10:21 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Using TitleWindow
> 
> 
> 
> If I just have a TitleWindow component in my application, is there a
> way to allow it to be draggable as if it was a popup? I'm not using
> PopupManager to display the TitleWindow because I want to apply a
> transition to it so that it slides in. Is there a way to apply this
> transition to a popup so that I won't have to worry about the dragging
> thing?
>

 

Reply via email to