Help: jumping object

i got problem to create a elastic ball, my friend said it can be created by “frame by frame” method or write action script (use math calculation)

i confuse about it, how the math calculation done actually?
anyone know it?

i post the wrong place, next time i’ll remember