Robert Penner's book
Out of context: Reply #16
- Started
- Last post
- 16 Responses
- PonyBoy0
Enter response:
airey... I got what need, buddy -
the nice folks over here : http://laco.wz.cz/tween/ have taken the penner easing equations, dumped them into one simple as. file, given you an extension for flash that allows you to apply penner's equations via a function being applied directly to an instance....
... now - the guess work is gone... you don't have any clunky processor intensive equations eating up resources... but there are some drawbacks - which should be expected:
1.) The motion isn't 'perfect' - it will never BE perfect either... because all machines will process the equations differently based on hardware, OS etc etc...
2.) The flash player can get 'lost' or confused if you start 'taking advantage' of the 'delay' parameter. This parameter is really coolio for creating motion that occurs based on the setInterval (method) - allowing to set a delay on when something will happen... BUT - if you're using that delay on a timeline that's 'in motion' or may have other intervals running... well... the flash player just poops... at least it does for me.I think that these guys: http://www.mosessupposes.com/
have created a solution that allows you to 'fuse' different 'tweens' together but w/delays in the motion...... I love the extension - use it all the time. Check my site for sites that I've used the equation on... I also know that alot of sites on http://www.thefwa.com take advantage of the extension
Also - Penner has a site where you can get a nice breakdown of the different equations in action... and possibly extract a portion of an equation and tack on your own peice of math:
http://www.robertpenner.com/cheers... and happy easing!