There will be three new methods in the next beta release which will
enable you to pause, resume and reverse any effect.

In your case, when you want the effect to stop playing on certain user
input, you can either call pause or you can call reverse to play the
effect in reverse from that point to the starting point to create a nice
effect reversal.

-Ashish




-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Trey Long
Sent: Thursday, January 19, 2006 12:28 PM
To: [email protected]
Subject: [flexcoders] AS3/Flex2 - Effects and Cancelling them

I am using the Move effect to create a really nice tween in my Flex app.

I want to stop the effect during certain user input and there is an 
endEffect() method that will allow me to stop the event but it abruptly 
jumps to the destination of the Move, whatever the Move.xTo property is.

Can anyone think of a way to cancel the effect without jumping to the 
end of the tween? I tried creating and instance and setting it to null 
when I wanted the effect to stop prematurely but I haven't had any luck.

-James.


--
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



 




--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to