I did as you said, and tried the other way also (with 
creationComplete).
I'm beginning getting some results, but they are very unpredictable :-
)

Let's say I have 2 "Move" effects - one (myShowEffect) that moves a 
window to it's final position from the bottom of the screen, the 
other (myHideEffect) that move is below the bottom.
I map the creationComplete and showEffect to myShowEffect, and 
hideEffect to myHideEffect.
Problems:

1) I am getting this famous "blink" problem. The first time the 
effect works (gor showing the window the first time). Then when 
hiding it and re-showing the window appears on the final position 
(for one flame only) and then the effect plays. So, thus the blink.
Has anyone solved this problem yet?

2) I tried to implement the effect definitions in window mxml itself. 
The problem is that after the window creation, it's x and y 
coordinates (this,x, this,y) are both 0 (??)

3) I tried to implement the effects in my PopUpManager actionscript 
implementation, but can't attach the effect on window. For instance, 
if "myWindow" is a window popped-up by PopUpManager, 
the "myWindow.showEfect = something " doesn't work, i.e. the property 
is not visible from actionscript (?!)

Thanks in advance..

--- In [email protected], "Brian Holmes" <[EMAIL PROTECTED]> wrote:
>
> 
> On your title window set visible=false and then on the 
creationComplete
> event set visible=true;
> 
> 
> <mx:TitleWindow visible="false" creationComplete="this.visible=true"
> showEffect="{myShowEffect}" >
> 
> <mx:WipeDown id="myShowEffect" duration="700" />
> 
> 
> 
> There's a much better way of handling this if you route all title
> window's through a window manager,
> But that should get you started. The problem as you probably 
realize is
> that when the window is rendered,
> It's already showing so the show effect either doesn't fire or has
> already fired. (not sure which) 
> 
> B.
> 
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Danko Kozar
> Sent: Thursday, February 01, 2007 3:46 PM
> To: [email protected]
> Subject: [flexcoders] Using Effects with TitleWindow show/hide?
> 
> Is it possible to use mx:Effects with TitleWindow popped up by
> PopUpManager? 
> I'd like to use some Move and Resize effects on window show and 
hide -
> just to make it slide in and out.
> I've try it using showEffect and hideEffect property of 
TitleWindow, but
> it doesn't work.
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> ***
> The information in this e-mail is confidential and intended solely 
for the individual or entity to whom it is addressed.  If you have 
received this e-mail in error please notify the sender by return e-
mail delete this e-mail and refrain from any disclosure or action 
based on the information.
> ***
>


Reply via email to