You can copy the original bounce function from the Equations class and then use it as the transition parameter (like you probably already know). But yeah, you'll need to change the original code to achieve whatever effect you want. Usually tweaking some of the constant numbers is enough to make it bounce the way you want it to, or even apply some of the other equations to change the effect (ie, outExpo on top of the outBounce result makes it look like a "thud" instead of the default bouncy bounce).
Zeh On Thu, Aug 13, 2009 at 1:43 PM, jared stanley <[email protected]>wrote: > go into the penner's easing classes, copy the bounce function class > and rename it, then mess with the constants in the math in there. > > > > > > > On Thu, Aug 13, 2009 at 10:28 AM, Merrill, > Jason<[email protected]> wrote: > > Greensock's TweenMax and TweenLite include source code you can modify > > and they include Penner's easing equations which include Bounce easing. > > You could try that. > > > > > > Jason Merrill > > > > Bank of America Global Learning > > Shared Services Solutions Development > > > > Monthly meetings on the Adobe Flash platform for rich media experiences > > - join the Bank of America Flash Platform Community > > > > > > > > > > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of allandt > > bik-elliott (thefieldcomic.com) > > Sent: Thursday, August 13, 2009 12:09 PM > > To: Flash Coders List > > Subject: [Flashcoders] bounce easing function for tweener > > > > hi guys > > I've been looking around for a way of modifying the bounce easing > > function > > for Tweener but I'm not having much joy (I've taken to doing a series of > > tweens in the onComplete function to fudge it). > > > > I've seen > > http://timotheegroleau.com/Flash/experiments/easing_function_generator.h > > tm > > which > > is astounding but it doesn't include a bounce. > > > > I've also seen http://www.uize.com/tools/curve-explorer.html which is a > > javascript modifier but it only works with Uize (which i guess is a > > javascript tweening library - who knows) and doesn't really go into the > > formulae (you pass it a set of parameters and it does the rest) > > > > Could anyone point me in the right direction, please? > > > > thanks in advance > > Alz > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > > Flashcoders mailing list > > [email protected] > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

