Need help for cricket game

hello,

I have problem working on cricket game.
I want to know how we can code a movieclip(ball) to run in a predefined path.
It is similar to motion guide, that is ball moves on a path - but that must be using script.

pls help me as this is very urgent.
u can also suggest me any websites which has logics/sourcecode of the cricket game

Regards,
Jyothi K.