Good for absolute beginners.
..But bad for making a real game.
1) place the code into *.as files
2) learn how organise the main cycle, where all the objects should be updated
3) NEVER (!!!) use hitTest, write your own collision detection system (or use the existing opensrc one)