Making action scripts with Flash MX 2004?

My younger brother recently decided to make a website with Flash MX games, and I need some information on making action scripts. How can you, for example, make an object move using arrow keys, or how can you make a button that opens a new document. Is this done using behavious?

Thanks
2 answers 2