Upon the user interaction, change the xTo and yTo properites before calling 
endEffect.

----- Original Message ----- 
From: "Trey Long" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, January 19, 2006 3:28 PM
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