First (baby) steps with Flash / ActionScript

I want to build some flash games. Just for fun? Yes and no.

Yes because it's fun to learn ActionScript. No because I hope to make money some day.

Some pointers for my system setting which is linux
- ActionScript Language Reference
- a swf compiler and more
- swftools

My first trials ended with a moving square rotating on click ... not very ... but I have some idea how it works.