Quantunet.com

My Account

Joins Us
Flash 8 Actionscript 2.0 Knowledgebase
Exponential EaseIn  

Download

Actionscript

var t:Number = 0;
var dt:Number = 0.2;
var a:Number = 1.2;

ball_mc._x = 10;

ball_mc.onEnterFrame = function(){
ball_mc._x += a*Math.exp(t/2)*t*dt
t += dt;
};

Note: Press the "refresh" button in the browser to play the animation again.



© 2007 Quantunet LLC All Rights Reserved | Intellectual Property | Terms of Use | Privacy
Home | About Quantunet | FAQ's | Contact Us