The trajectory of the object can be a quadratic curve, cubic curve or a higher order curve.
I have developed the attached FLA in Flash 8, taking into consideration a quadratic curve.
Select the values of ym, x0, y0, x1, y1, and click play button. The object moves from x0, y0, to x1, y1, through ym in a parabolic trajectory, drawing a parabolic curve.

great, thanks for the help everyone. Achyut you especially

just wondering though what the different variables mean, i think i've figured out a few but theres one that eludes me

ballym. It looks like its supposed to be the height of the jump, however when i set these values up:

x0 = 200
y0 = 200
x1 = 100
y1 = 100
ballym = 0

the ball doesn't go to 0 at the height of its jump, just not sure what values this can be and how it alters the jump. ballym makes sense when both y0 and y1 are equal and ballym is different, the ball seems to pass through at the correct height. But when y0 and y1 have different values and the distance between them can be negative, i get a little lost with the ballym variable

You are 100% correct mr_malee!
Primarily I have included ym to create depth of the parabola.
if y0=ym=y1, you draw a straight line.
ym(actual) corresponding to (x0+x1)/2 is equal to ym(set) only when y0=y1.
in all other cases ym(actual)=ym(set)+(y0-y1)/2.
To construct a general quadratic curve I have to use the formula
y=a*x*x+b*x+c
for any arbitrary values of a, b, and c set by the user.
In the present program I have used the formulas:
x=x0+vx*t;
y=y0+vy*t+0.5*g*t*t;
and
boundary conditions set by user:
initial: (x0,y0)
final: (x1,y1)
middle: ym corresponding to (x0+x1)/2
Hope I will be able to do further work on this fascinating subject.

Last edited by Eager Beaver; 04-10-2007 at 02:04 AM.

Clarification Please.
Actually I and Eager Beaver (my colleague) have together developed this movie. As I was busy with some other work I asked Eager Beaver to post
a reply.
The reply may be considered to have been given by me.
I am extremely sorry if any confusion was created.