Random direction

Hi!

I’m trying to make a ball move in a random direction.
If I set the coordinates manually I can do that perfectly but not in a random way.
How can I do this?

use math.random

Just found the tutorial i needed to my work. Any way, thanks for your help.

http://www.actionscript.org/tutorials/intermediate/Random_Functions/index.shtml