thanks!
but there is only one problem.
when I shoot my ballit moves a lot each frame.
is there a way to specify how much it will move each frame?
here's my code:
In my Fla, I have directly used Newton’s laws of motion.
My Fla has only one ball, which is thrown by the user.
When it hits boundaries it bounces back, with a reduced velocity, due to the elastic property of the boundary. Your Fla is altogether different. I am sorry, I am not able to find out why it is not working, as you wanted.