Flash physics

Can anyone tell me how to make a game like the ones with the cannons that you have a velocity and rotation? I tried just to make a simple ball that follows the path of a parabola, using the equation y(I’m assuming this is the mc’s y) = ax^2(Assuming mc’s x) + bx + c. It’s not working.