This content has been marked as final. Show 4 replies
although i would run a decel formula a bit differently, I'm just wondering why you may not be able to use a tween with easing here? as in:
new Tween(ballClip, '_x', Strong.easeOut, 0, 100, 1, true); //one second
Hm, I never thought of that and it does work for a single ‘push’ motion. I want to keep being able to ‘push’ this object along, every time another 100 (or some determined amount) pixels more. How would you do this with the tween class? Create a new tween every time?
>>How would you do this with the tween class? Create a new tween every time?
Yup... but I'd suggest ditching the crappy built-in Tween class and using
Tweener, or any other of the much better 3rd party classes.
Adobe Community Expert
Hm, okay. It looks like it would work fine then. Thank you both for your fast responses.