I’m not sure the docs say it but the
effectStart and effectEnd events should have a reference to the effect. You
could catch in the effectStart the first event (which would be the sequence I
hope), store it and then in every effectEnd see if that stored value is the
effect. If it is, you’re done, if not, move on. The counting might be
an easy thing to do as well though.
Matt
Thanks,
I have another problem because of this - since the
effect I'm using is
actually a Sequence of effects how do I know when
the last effect was
executed. I thought about counting the number of
times the end effect
method is called but I just doesn't feel right.
Any ideas?
--- In [email protected],
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
> Use the effectEnd event as a trigger for
calling deletePopUp
>
>
>
> Matt
>
>
>
> ________________________________
>
> From: [email protected]
[mailto:[email protected]]
On
> Behalf Of zipo13
> Sent: Tuesday, August 02, 2005 6:35 AM
> To: [email protected]
> Subject: [flexcoders] hideEffect and
deletePopUp
>
>
>
> Hi,
> I have a PopUp window that has a hide effect.
> if I do
> popup.visible = false;
> then everything works fine and the effect is
shown properly, But I
> want to delete the window too.
> The problem is that if I do:
> popup.visible = false;
> popup.deletePopUp();
> or
> popup.visible = false;
> doLater(popup,"deletePopUp");
>
> The effect is not shown.
> I think I understand why - because both
actions are done in the same
> frames but I don't know how to get around it.
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
> SPONSORED LINKS
>
> Computer software testing
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+testing&w1=Comput
>
er+software+testing&w2=Macromedia+flex&w3=Development&w4=Software+develo
>
per&c=4&s=93&.sig=kh2CguJwmatU5oBXjFo9Rg>
>
> Macromedia flex
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Computer+softwar
>
e+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=
> 93&.sig=dAUcEV7do91-wrRtVS641g>
>
> Development
> <http://groups.yahoo.com/gads?t=ms&k=Development&w1=Computer+software+te
>
sting&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4&s=93&.
> sig=AlxNUQBOI7Io7S7nhmxV0Q>
>
> Software developer
> <http://groups.yahoo.com/gads?t=ms&k=Software+developer&w1=Computer+soft
>
ware+testing&w2=Macromedia+flex&w3=Development&w4=Software+developer&c=4
> &s=93&.sig=QWIit8JayomoIHLVkV3FDg>
>
>
>
>
>
>
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your
group "flexcoders
> <http://groups.yahoo.com/group/flexcoders>
" on the web.
>
> * To
unsubscribe from this group, send an email to:
>
[EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]>
>
> * Your use of
Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>
.
>
>
>
> ________________________________
--
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
|