burn Posted December 8, 2011 Share Posted December 8, 2011 Hello, has anybody an idea how I can make an Tween like this: http://www.snorkl.tv/2011/01/control-how-far-a-back-ease-overshoots-its-target-make-elastic-eases-more-rubbery/ bur after the easeOut go back to X=0 with a slower tempo. Link to comment Share on other sites More sharing options...
X10 Posted December 8, 2011 Share Posted December 8, 2011 Hi burn4ever, Glad to see you're taking advantage of Carl's excellent tutorials. I'm not sure exactly what you're asking. Are you saying that you tween an mc from an x of 0 to somewhere on the stage with a large easeParam like in Carl's tutorial, but then you want to tween it back to 0 using a different speed? You can acheive this with 2 tweens: TweenMax.to(mc, 2, {x:400, ease:Back.easeOut, easeParams:[4] } ); TweenMax.to(mc, 4, {x:0, ease:Back.easeOut ,delay:2} ); The first tween uses a large ease parameter and tweens in 2 seconds, the second tween goes at a slower pace, 4 seconds, and uses the default ease value. Is this what you're asking? Perhaps a bit more detail is required if not. Link to comment Share on other sites More sharing options...
X10 Posted December 8, 2011 Share Posted December 8, 2011 Hello again burn4ever, I just had a re-read over your post, and I think this is what you're after: TweenMax.to(mc, 1, {x:400, ease:Quad.easeOut} ); TweenMax.to(mc, 3, {x:0, ease:Quad.easeIn,delay:1} ); Let us know. X10 Link to comment Share on other sites More sharing options...
burn Posted December 8, 2011 Author Share Posted December 8, 2011 You can acheive this with 2 tweens: TweenMax.to(mc, 2, {x:400, ease:Back.easeOut, easeParams:[4] } ); TweenMax.to(mc, 4, {x:0, ease:Back.easeOut ,delay:2} ); The first tween uses a large ease parameter and tweens in 2 seconds, the second tween goes at a slower pace, 4 seconds, and uses the default ease value. . Thanks X10, thats what I´m looking for. Easy, hee Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now